PWCT 1.9 Art Documentation ( http://doublesvsoop.sourceforge.net ) 2006-2019, Mahmoud Fayed ( msfclipper@users.sourceforge.net ) _____________________________________________________________________________________ Table of contents 1 - Introduction 2 - Implementation steps 3 - Final Steps Tree 1 - Introduction In this lesson we are going to create the template (Access Report - Parent Class). 2 - Implementation Steps Fig. (1) Goal Desginer - Steps Tree Select the step (Class) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Object Oriented Programming (OOP)) 3 - Select the component (Define Class) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (Define Class) Note : Stop typing when you see the required component is selected Fig. (2) Component Browser – Select the component (Define Class) After selecting the component click Ok or press ENTER Fig. (3) Interaction page - Set the properties and enter the required data as in the image above Fig. (4) Goal Desginer - Steps Tree Select the step (Declare Class Data) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Object Oriented Programming (OOP)) 3 - Select the component (Declare Class Data) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (Declare Class Data) Note : Stop typing when you see the required component is selected Fig. (5) Component Browser – Select the component (Declare Class Data) After selecting the component click Ok or press ENTER Fig. (6) Interaction page - Set the properties and enter the required data as in the image above Fig. (7) Goal Desginer - Steps Tree Select the step (Declare Class Data) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Object Oriented Programming (OOP)) 3 - Select the component (Declare Class Data) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (Declare Class Data) Note : Stop typing when you see the required component is selected Fig. (8) Component Browser – Select the component (Declare Class Data) After selecting the component click Ok or press ENTER Fig. (9) Interaction page - Set the properties and enter the required data as in the image above Fig. (10) Goal Desginer - Steps Tree Select the step (Declare Class Data) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Object Oriented Programming (OOP)) 3 - Select the component (Declare Class Data) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (Declare Class Data) Note : Stop typing when you see the required component is selected Fig. (11) Component Browser – Select the component (Declare Class Data) After selecting the component click Ok or press ENTER Fig. (12) Interaction page - Set the properties and enter the required data as in the image above Fig. (13) Goal Desginer - Steps Tree Select the step (Declare Class Data) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Object Oriented Programming (OOP)) 3 - Select the component (Declare Class Data) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (Declare Class Data) Note : Stop typing when you see the required component is selected Fig. (14) Component Browser – Select the component (Declare Class Data) After selecting the component click Ok or press ENTER Fig. (15) Interaction page - Set the properties and enter the required data as in the image above Fig. (16) Goal Desginer - Steps Tree Select the step (Declare Class Data) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Object Oriented Programming (OOP)) 3 - Select the component (Declare Class Data) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (Declare Class Data) Note : Stop typing when you see the required component is selected Fig. (17) Component Browser – Select the component (Declare Class Data) After selecting the component click Ok or press ENTER Fig. (18) Interaction page - Set the properties and enter the required data as in the image above Fig. (19) Goal Desginer - Steps Tree Select the step (Declare Class Data) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Object Oriented Programming (OOP)) 3 - Select the component (Declare Class Data) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (Declare Class Data) Note : Stop typing when you see the required component is selected Fig. (20) Component Browser – Select the component (Declare Class Data) After selecting the component click Ok or press ENTER Fig. (21) Interaction page - Set the properties and enter the required data as in the image above Fig. (22) Goal Desginer - Steps Tree Select the step (Declare Class Data) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Object Oriented Programming (OOP)) 3 - Select the component (Declare Class Data) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (Declare Class Data) Note : Stop typing when you see the required component is selected Fig. (23) Component Browser – Select the component (Declare Class Data) After selecting the component click Ok or press ENTER Fig. (24) Interaction page - Set the properties and enter the required data as in the image above Fig. (25) Goal Desginer - Steps Tree Select the step (Declare Class Data) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Object Oriented Programming (OOP)) 3 - Select the component (Declare Class Data) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (Declare Class Data) Note : Stop typing when you see the required component is selected Fig. (26) Component Browser – Select the component (Declare Class Data) After selecting the component click Ok or press ENTER Fig. (27) Interaction page - Set the properties and enter the required data as in the image above Fig. (28) Goal Desginer - Steps Tree Select the step (Declare Class Data) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Object Oriented Programming (OOP)) 3 - Select the component (Declare Class Data) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (Declare Class Data) Note : Stop typing when you see the required component is selected Fig. (29) Component Browser – Select the component (Declare Class Data) After selecting the component click Ok or press ENTER Fig. (30) Interaction page - Set the properties and enter the required data as in the image above Fig. (31) Goal Desginer - Steps Tree Select the step (Declare Class Methods) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Object Oriented Programming (OOP)) 3 - Select the component (Declare Class Method) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (Declare Class Method) Note : Stop typing when you see the required component is selected Fig. (32) Component Browser – Select the component (Declare Class Method) After selecting the component click Ok or press ENTER Fig. (33) Interaction page - Set the properties and enter the required data as in the image above Fig. (34) Goal Desginer - Steps Tree Select the step (Declare Class Methods) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Object Oriented Programming (OOP)) 3 - Select the component (Declare Class Method) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (Declare Class Method) Note : Stop typing when you see the required component is selected Fig. (35) Component Browser – Select the component (Declare Class Method) After selecting the component click Ok or press ENTER Fig. (36) Interaction page - Set the properties and enter the required data as in the image above Fig. (37) Goal Desginer - Steps Tree Select the step (Declare Class Methods) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Object Oriented Programming (OOP)) 3 - Select the component (Declare Class Method) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (Declare Class Method) Note : Stop typing when you see the required component is selected Fig. (38) Component Browser – Select the component (Declare Class Method) After selecting the component click Ok or press ENTER Fig. (39) Interaction page - Set the properties and enter the required data as in the image above Fig. (40) Goal Desginer - Steps Tree Select the step (Declare Class Methods) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Object Oriented Programming (OOP)) 3 - Select the component (Declare Class Method) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (Declare Class Method) Note : Stop typing when you see the required component is selected Fig. (41) Component Browser – Select the component (Declare Class Method) After selecting the component click Ok or press ENTER Fig. (42) Interaction page - Set the properties and enter the required data as in the image above Fig. (43) Goal Desginer - Steps Tree Select the step (Class Methods) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Object Oriented Programming (OOP)) 3 - Select the component (Define Class Method) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (Define Class Method) Note : Stop typing when you see the required component is selected Fig. (44) Component Browser – Select the component (Define Class Method) After selecting the component click Ok or press ENTER Fig. (45) Interaction page - Set the properties and enter the required data as in the image above Fig. (46) Goal Desginer - Steps Tree Select the step (Start Here) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Files / Folders) 3 - Select the component (Get Startup folder) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (Get Startup folder) Note : Stop typing when you see the required component is selected Fig. (47) Component Browser – Select the component (Get Startup folder) After selecting the component click Ok or press ENTER Fig. (48) Goal Desginer - Steps Tree Select the step (Set Filter) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Tools & Extensions) 3 - Select the component (OLE Automation) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (OLE Automation) Note : Stop typing when you see the required component is selected Fig. (49) Component Browser – Select the component (OLE Automation) After selecting the component click Ok or press ENTER Fig. (50) Interaction page - Set the properties and enter the required data as in the image above Fig. (51) Goal Desginer - Steps Tree Select the step (Set Filter) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Tools & Extensions) 3 - Select the component (OLE Automation) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (OLE Automation) Note : Stop typing when you see the required component is selected Fig. (52) Component Browser – Select the component (OLE Automation) After selecting the component click Ok or press ENTER Fig. (53) Interaction page - Set the properties and enter the required data as in the image above Fig. (54) Goal Desginer - Steps Tree Select the step (Set Filter) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Tools & Extensions) 3 - Select the component (OLE Automation) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (OLE Automation) Note : Stop typing when you see the required component is selected Fig. (55) Component Browser – Select the component (OLE Automation) After selecting the component click Ok or press ENTER Fig. (56) Interaction page - Set the properties and enter the required data as in the image above Fig. (57) Goal Desginer - Steps Tree Select the step (Set Filter) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Control Structure) 3 - Select the component (IF Statement) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (IF Statement) Note : Stop typing when you see the required component is selected Fig. (58) Component Browser – Select the component (IF Statement) After selecting the component click Ok or press ENTER Fig. (59) Interaction page - Set the properties and enter the required data as in the image above Fig. (60) Goal Desginer - Steps Tree Select the step (Start Here) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Tools & Extensions) 3 - Select the component (OLE Automation) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (OLE Automation) Note : Stop typing when you see the required component is selected Fig. (61) Component Browser – Select the component (OLE Automation) After selecting the component click Ok or press ENTER Fig. (62) Interaction page - Set the properties and enter the required data as in the image above Fig. (63) Goal Desginer - Steps Tree Select the step (Start Here) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Tools & Extensions) 3 - Select the component (OLE Automation) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (OLE Automation) Note : Stop typing when you see the required component is selected Fig. (64) Component Browser – Select the component (OLE Automation) After selecting the component click Ok or press ENTER Fig. (65) Interaction page - Set the properties and enter the required data as in the image above Fig. (66) Goal Desginer - Steps Tree Select the step (Start Here) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Tools & Extensions) 3 - Select the component (OLE Automation) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (OLE Automation) Note : Stop typing when you see the required component is selected Fig. (67) Component Browser – Select the component (OLE Automation) After selecting the component click Ok or press ENTER Fig. (68) Interaction page - Set the properties and enter the required data as in the image above Fig. (69) Goal Desginer - Steps Tree Select the step (Start Here) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Tools & Extensions) 3 - Select the component (OLE Automation) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (OLE Automation) Note : Stop typing when you see the required component is selected Fig. (70) Component Browser – Select the component (OLE Automation) After selecting the component click Ok or press ENTER Fig. (71) Interaction page - Set the properties and enter the required data as in the image above Fig. (72) Goal Desginer - Steps Tree Select the step (Start Here) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (ActiveX) 3 - Select the component (ActiveX Object) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (ActiveX Object) Note : Stop typing when you see the required component is selected Fig. (73) Component Browser – Select the component (ActiveX Object) After selecting the component click Ok or press ENTER Fig. (74) Interaction page - Set the properties and enter the required data as in the image above Fig. (75) Goal Desginer - Steps Tree Select the step (Class Methods) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Object Oriented Programming (OOP)) 3 - Select the component (Define Class Method) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (Define Class Method) Note : Stop typing when you see the required component is selected Fig. (76) Component Browser – Select the component (Define Class Method) After selecting the component click Ok or press ENTER Fig. (77) Interaction page - Set the properties and enter the required data as in the image above Fig. (78) Goal Desginer - Steps Tree Select the step (Start Here) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Files / Folders) 3 - Select the component (Get Startup folder) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (Get Startup folder) Note : Stop typing when you see the required component is selected Fig. (79) Component Browser – Select the component (Get Startup folder) After selecting the component click Ok or press ENTER Fig. (80) Goal Desginer - Steps Tree Select the step (Start Here) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Tools & Extensions) 3 - Select the component (OLE Automation) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (OLE Automation) Note : Stop typing when you see the required component is selected Fig. (81) Component Browser – Select the component (OLE Automation) After selecting the component click Ok or press ENTER Fig. (82) Interaction page - Set the properties and enter the required data as in the image above Fig. (83) Goal Desginer - Steps Tree Select the step (Start Here) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Tools & Extensions) 3 - Select the component (OLE Automation) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (OLE Automation) Note : Stop typing when you see the required component is selected Fig. (84) Component Browser – Select the component (OLE Automation) After selecting the component click Ok or press ENTER Fig. (85) Interaction page - Set the properties and enter the required data as in the image above Fig. (86) Goal Desginer - Steps Tree Select the step (Start Here) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Control Structure) 3 - Select the component (IF Statement) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (IF Statement) Note : Stop typing when you see the required component is selected Fig. (87) Component Browser – Select the component (IF Statement) After selecting the component click Ok or press ENTER Fig. (88) Interaction page - Set the properties and enter the required data as in the image above Fig. (89) Goal Desginer - Steps Tree Select the step (Start Here) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Tools & Extensions) 3 - Select the component (OLE Automation) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (OLE Automation) Note : Stop typing when you see the required component is selected Fig. (90) Component Browser – Select the component (OLE Automation) After selecting the component click Ok or press ENTER Fig. (91) Interaction page - Set the properties and enter the required data as in the image above Fig. (92) Goal Desginer - Steps Tree Select the step (Start Here) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Tools & Extensions) 3 - Select the component (OLE Automation) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (OLE Automation) Note : Stop typing when you see the required component is selected Fig. (93) Component Browser – Select the component (OLE Automation) After selecting the component click Ok or press ENTER Fig. (94) Interaction page - Set the properties and enter the required data as in the image above Fig. (95) Goal Desginer - Steps Tree Select the step (Start Here) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Tools & Extensions) 3 - Select the component (OLE Automation) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (OLE Automation) Note : Stop typing when you see the required component is selected Fig. (96) Component Browser – Select the component (OLE Automation) After selecting the component click Ok or press ENTER Fig. (97) Interaction page - Set the properties and enter the required data as in the image above Fig. (98) Goal Desginer - Steps Tree Select the step (Class Methods) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Object Oriented Programming (OOP)) 3 - Select the component (Define Class Method) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (Define Class Method) Note : Stop typing when you see the required component is selected Fig. (99) Component Browser – Select the component (Define Class Method) After selecting the component click Ok or press ENTER Fig. (100) Interaction page - Set the properties and enter the required data as in the image above Fig. (101) Goal Desginer - Steps Tree Select the step (Start Here) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Files / Folders) 3 - Select the component (Get Startup folder) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (Get Startup folder) Note : Stop typing when you see the required component is selected Fig. (102) Component Browser – Select the component (Get Startup folder) After selecting the component click Ok or press ENTER Fig. (103) Goal Desginer - Steps Tree Select the step (Set Filter) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Tools & Extensions) 3 - Select the component (OLE Automation) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (OLE Automation) Note : Stop typing when you see the required component is selected Fig. (104) Component Browser – Select the component (OLE Automation) After selecting the component click Ok or press ENTER Fig. (105) Interaction page - Set the properties and enter the required data as in the image above Fig. (106) Goal Desginer - Steps Tree Select the step (Set Filter) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Tools & Extensions) 3 - Select the component (OLE Automation) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (OLE Automation) Note : Stop typing when you see the required component is selected Fig. (107) Component Browser – Select the component (OLE Automation) After selecting the component click Ok or press ENTER Fig. (108) Interaction page - Set the properties and enter the required data as in the image above Fig. (109) Goal Desginer - Steps Tree Select the step (Set Filter) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Tools & Extensions) 3 - Select the component (OLE Automation) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (OLE Automation) Note : Stop typing when you see the required component is selected Fig. (110) Component Browser – Select the component (OLE Automation) After selecting the component click Ok or press ENTER Fig. (111) Interaction page - Set the properties and enter the required data as in the image above Fig. (112) Goal Desginer - Steps Tree Select the step (Set Filter) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Control Structure) 3 - Select the component (IF Statement) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (IF Statement) Note : Stop typing when you see the required component is selected Fig. (113) Component Browser – Select the component (IF Statement) After selecting the component click Ok or press ENTER Fig. (114) Interaction page - Set the properties and enter the required data as in the image above Fig. (115) Goal Desginer - Steps Tree Select the step (Start Here) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Tools & Extensions) 3 - Select the component (OLE Automation) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (OLE Automation) Note : Stop typing when you see the required component is selected Fig. (116) Component Browser – Select the component (OLE Automation) After selecting the component click Ok or press ENTER Fig. (117) Interaction page - Set the properties and enter the required data as in the image above Fig. (118) Goal Desginer - Steps Tree Select the step (Start Here) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Tools & Extensions) 3 - Select the component (OLE Automation) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (OLE Automation) Note : Stop typing when you see the required component is selected Fig. (119) Component Browser – Select the component (OLE Automation) After selecting the component click Ok or press ENTER Fig. (120) Interaction page - Set the properties and enter the required data as in the image above Fig. (121) Goal Desginer - Steps Tree Select the step (Start Here) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Tools & Extensions) 3 - Select the component (OLE Automation) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (OLE Automation) Note : Stop typing when you see the required component is selected Fig. (122) Component Browser – Select the component (OLE Automation) After selecting the component click Ok or press ENTER Fig. (123) Interaction page - Set the properties and enter the required data as in the image above Fig. (124) Goal Desginer - Steps Tree Select the step (Start Here) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Tools & Extensions) 3 - Select the component (OLE Automation) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (OLE Automation) Note : Stop typing when you see the required component is selected Fig. (125) Component Browser – Select the component (OLE Automation) After selecting the component click Ok or press ENTER Fig. (126) Interaction page - Set the properties and enter the required data as in the image above Fig. (127) Goal Desginer - Steps Tree Select the step (Start Here) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Files / Folders) 3 - Select the component (Execute File) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (Execute File) Note : Stop typing when you see the required component is selected Fig. (128) Component Browser – Select the component (Execute File) After selecting the component click Ok or press ENTER Fig. (129) Interaction page - Set the properties and enter the required data as in the image above Fig. (130) Goal Desginer - Steps Tree Select the step (Class Methods) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Object Oriented Programming (OOP)) 3 - Select the component (Define Class Method) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (Define Class Method) Note : Stop typing when you see the required component is selected Fig. (131) Component Browser – Select the component (Define Class Method) After selecting the component click Ok or press ENTER Fig. (132) Interaction page - Set the properties and enter the required data as in the image above Fig. (133) Goal Desginer - Steps Tree Select the step (Start Here) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Files / Folders) 3 - Select the component (Get Startup folder) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (Get Startup folder) Note : Stop typing when you see the required component is selected Fig. (134) Component Browser – Select the component (Get Startup folder) After selecting the component click Ok or press ENTER Fig. (135) Goal Desginer - Steps Tree Select the step (Set Filter) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Tools & Extensions) 3 - Select the component (OLE Automation) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (OLE Automation) Note : Stop typing when you see the required component is selected Fig. (136) Component Browser – Select the component (OLE Automation) After selecting the component click Ok or press ENTER Fig. (137) Interaction page - Set the properties and enter the required data as in the image above Fig. (138) Goal Desginer - Steps Tree Select the step (Set Filter) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Tools & Extensions) 3 - Select the component (OLE Automation) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (OLE Automation) Note : Stop typing when you see the required component is selected Fig. (139) Component Browser – Select the component (OLE Automation) After selecting the component click Ok or press ENTER Fig. (140) Interaction page - Set the properties and enter the required data as in the image above Fig. (141) Goal Desginer - Steps Tree Select the step (Set Filter) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Tools & Extensions) 3 - Select the component (OLE Automation) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (OLE Automation) Note : Stop typing when you see the required component is selected Fig. (142) Component Browser – Select the component (OLE Automation) After selecting the component click Ok or press ENTER Fig. (143) Interaction page - Set the properties and enter the required data as in the image above Fig. (144) Goal Desginer - Steps Tree Select the step (Set Filter) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Control Structure) 3 - Select the component (IF Statement) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (IF Statement) Note : Stop typing when you see the required component is selected Fig. (145) Component Browser – Select the component (IF Statement) After selecting the component click Ok or press ENTER Fig. (146) Interaction page - Set the properties and enter the required data as in the image above Fig. (147) Goal Desginer - Steps Tree Select the step (Start Here) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Tools & Extensions) 3 - Select the component (OLE Automation) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (OLE Automation) Note : Stop typing when you see the required component is selected Fig. (148) Component Browser – Select the component (OLE Automation) After selecting the component click Ok or press ENTER Fig. (149) Interaction page - Set the properties and enter the required data as in the image above Fig. (150) Goal Desginer - Steps Tree Select the step (Start Here) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Tools & Extensions) 3 - Select the component (OLE Automation) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (OLE Automation) Note : Stop typing when you see the required component is selected Fig. (151) Component Browser – Select the component (OLE Automation) After selecting the component click Ok or press ENTER Fig. (152) Interaction page - Set the properties and enter the required data as in the image above Fig. (153) Goal Desginer - Steps Tree Select the step (Start Here) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Tools & Extensions) 3 - Select the component (OLE Automation) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (OLE Automation) Note : Stop typing when you see the required component is selected Fig. (154) Component Browser – Select the component (OLE Automation) After selecting the component click Ok or press ENTER Fig. (155) Interaction page - Set the properties and enter the required data as in the image above Fig. (156) Goal Desginer - Steps Tree Select the step (Start Here) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Tools & Extensions) 3 - Select the component (OLE Automation) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (OLE Automation) Note : Stop typing when you see the required component is selected Fig. (157) Component Browser – Select the component (OLE Automation) After selecting the component click Ok or press ENTER Fig. (158) Interaction page - Set the properties and enter the required data as in the image above Fig. (159) Goal Desginer - Steps Tree Select the step (Start Here) We will start now new interaction process to generate new steps to our steps tree. The slow way (Using Mouse): 1 - Click Interact to open the components browser 2 - Select the domain (Files / Folders) 3 - Select the component (Execute File) The fast way (Using Keyboard shortcuts): 1 - Get the component using its name by typing (Execute File) Note : Stop typing when you see the required component is selected Fig. (160) Component Browser – Select the component (Execute File) After selecting the component click Ok or press ENTER Fig. (161) Interaction page - Set the properties and enter the required data as in the image above Fig. (162) Goal Desginer - Final Steps Tree 3 - Final Steps Tree Class Define Class Report_Base Declare Class Data Data database Init Value GetStartUpFolder()+"\data\sysdata.mdb" Data outputfile Init Value GetStartUpFolder()+"\tempfile.snp" Data myaccessobj Init Value 0 Data oActiveX Init Value 0 Data Filter Init Value "" Data dbpassword Init Value "systemdatabase123" Data outputfile2 Init Value GetStartUpFolder()+"\tempfile.html" Data outputfile3 Init Value GetStartUpFolder()+"\tempfile.xls" Data ComplexSearch Init Value "" Declare Class Methods Method showreport Method printreport Method exportreport Method exportreport2 End of Class Class Methods Define Method ShowReport Class Report_Base Start Here StartUpFolder := Get StartUp Folder Set Filter Create OLE Object self:myaccessobj of Type "Access.Application" self:myaccessobj.OpenCurrentDatabase ( self:database,false,self:dbpassword ) self:myaccessobj.DoCmd:OpenReport ( self:ReportName,1 ) IF ( .not. empty(alltrim(self:filter)) ) Start Here self:myaccessobj.Reports(Self:ReportName):Filter := Self:Filter + Self:ComplexSearch ELSE Start Here self:myaccessobj.Reports(Self:ReportName):Filter := "1 = 1" + Self:ComplexSearch END OF IF STATEMENT self:myaccessobj.DoCmd:OutputTo ( 3,,"SnapshotFormat(*.snp)",self:outputfile ) self:myaccessobj.Quit ( ) self:oactivex.snapshotpath := self:outputfile End of Method (Return 0) Define Method PrintReport Class Report_Base Start Here StartUpFolder := Get StartUp Folder Create OLE Object self:myaccessobj of Type "Access.Application" self:myaccessobj.OpenCurrentDatabase ( self:database,false,self:dbpassword ) IF ( .not. empty(alltrim(self:filter)) ) Start Here self:myaccessobj.DoCmd:OpenReport ( self:ReportName,,,self:filter + Self:ComplexSearch ) ELSE Start Here self:myaccessobj.DoCmd:OpenReport ( self:ReportName,,,"1 = 1 " + Self:ComplexSearch ) END OF IF STATEMENT self:myaccessobj.Quit ( ) End of Method (Return 0) Define Method ExportReport Class Report_Base Start Here StartUpFolder := Get StartUp Folder Set Filter Create OLE Object self:myaccessobj of Type "Access.Application" self:myaccessobj.OpenCurrentDatabase ( self:database,false,self:dbpassword ) self:myaccessobj.DoCmd:OpenReport ( self:ReportName,1 ) IF ( .not. empty(alltrim(self:filter)) ) Start Here self:myaccessobj.Reports(Self:ReportName):Filter := Self:Filter + Self:ComplexSearch ELSE Start Here self:myaccessobj.Reports(Self:ReportName):Filter := "1 = 1" + Self:ComplexSearch END OF IF STATEMENT self:myaccessobj.DoCmd:OutputTo ( 3,,"HTML(*.html)",self:outputfile2 ) self:myaccessobj.Quit ( ) Execute File self:outputfile2 End of Method (Return 0) Define Method ExportReport2 Class Report_Base Start Here StartUpFolder := Get StartUp Folder Set Filter Create OLE Object self:myaccessobj of Type "Access.Application" self:myaccessobj.OpenCurrentDatabase ( self:database,false,self:dbpassword ) self:myaccessobj.DoCmd:OpenReport ( self:ReportName,1 ) IF ( .not. empty(alltrim(self:filter)) ) Start Here self:myaccessobj.Reports(Self:ReportName):Filter := Self:Filter + Self:ComplexSearch ELSE Start Here self:myaccessobj.Reports(Self:ReportName):Filter := "1 = 1" + Self:ComplexSearch END OF IF STATEMENT self:myaccessobj.DoCmd:OutputTo ( 3,,"Microsoft Excel 97-2002 (*.xls)",self:outputfile3 ) self:myaccessobj.Quit ( ) Execute File self:outputfile3 End of Method (Return 0)
|