home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv4.zip / VACPP / IBMCPP / HELP / ICSDATA.HLP (.txt) < prev    next >
OS/2 Help File  |  1995-06-06  |  36KB  |  1,200 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. File ΓòÉΓòÉΓòÉ
  3.  
  4. Select an item from the File menu to create classes or to perform file 
  5. management tasks in Data Access Builder. 
  6.  
  7. Select from the following list to get information on the items in the File 
  8. menu: 
  9.  
  10.      New... 
  11.      Create classes... 
  12.      Open... 
  13.      Save 
  14.      Save as... 
  15.  
  16.  Select from the following list to get related information from the online 
  17.  book: 
  18.  
  19.      Creating Classes 
  20.      Saving a Data Access Builder Session 
  21.      Saving a Data Access Builder Session under Another Name 
  22.      Opening a Previously Saved Data Access Builder Session 
  23.  
  24.  
  25. ΓòÉΓòÉΓòÉ 2. View ΓòÉΓòÉΓòÉ
  26.  
  27. Select an item from the View menu to change how objects are displayed in Data 
  28. Access Builder. 
  29.  
  30. You can toggle between displaying table-to-class mappings in a horizontal 
  31. (left-to-right) or a vertical (top-to-bottom) orientation. 
  32.  
  33. You can also change the size of the icons in the client area (small, medium, 
  34. large). 
  35.  
  36. Select from the following list to get information on the items in the View 
  37. menu: 
  38.  
  39.      Horizontal 
  40.      Vertical 
  41.      Icon size 
  42.  
  43.  
  44. ΓòÉΓòÉΓòÉ 3. Options ΓòÉΓòÉΓòÉ
  45.  
  46. Select an item from the Options menu to customize the way you interact with 
  47. Data Access Builder and to specify the type of source code that you want Data 
  48. Access Builder to generate by default. 
  49.  
  50. Select from the following list to get information on the items in the Options 
  51. menu: 
  52.  
  53.      Startup window 
  54.      Information line 
  55.      Confirm on delete 
  56.      Generate options... 
  57.  
  58.  
  59. ΓòÉΓòÉΓòÉ 4. Project Pulldown Menu Help ΓòÉΓòÉΓòÉ
  60.  
  61. The Project menu gives you direct access to all of the actions that you can 
  62. perform from your current location. 
  63.  
  64.  
  65. ΓòÉΓòÉΓòÉ 5. Help ΓòÉΓòÉΓòÉ
  66.  
  67. Select an item from the Help menu to get online information about using Data 
  68. Access Builder. 
  69.  
  70. Select from the following list to get information on the items in the Help 
  71. menu: 
  72.  
  73.      Help index 
  74.      General help 
  75.      Using help 
  76.      How do I... 
  77.      Product information... 
  78.  
  79.  Select from the following list to get related information from the online 
  80.  book: 
  81.  
  82.      Using Data Access Builder 
  83.  
  84.  
  85. ΓòÉΓòÉΓòÉ 6. New.../Create classes... ΓòÉΓòÉΓòÉ
  86.  
  87. Select New... from the File menu to end the current Data Access Builder session 
  88. and start a new one. If there are unsaved changes in the current session, you 
  89. will be prompted to save or discard them. 
  90.  
  91. Select from the following list to get related online help: 
  92.  
  93.      Open... 
  94.      Save 
  95.      Save as... 
  96.      File menu 
  97.      Create Classes window 
  98.  
  99.  
  100. ΓòÉΓòÉΓòÉ 7. New.../Create classes... ΓòÉΓòÉΓòÉ
  101.  
  102. Select Create classes... from the File menu to create new classes from tables 
  103. or views in your database. 
  104.  
  105. Note that if a table or view is already mapped to a class in the client area, 
  106. you should use Create class from the pop-up menu of that table or view to 
  107. create another class from it. A table or view can only be represented by one 
  108. object at a time in the client area. 
  109.  
  110. Select from the following list to get related online help: 
  111.  
  112.      Create Classes window 
  113.      Help for Table or View pop-up menu. 
  114.      Create class 
  115.      File menu 
  116.  
  117.  Select from the following list to get related information from the online 
  118.  book: 
  119.  
  120.      Creating Classes 
  121.  
  122.  
  123. ΓòÉΓòÉΓòÉ 8. Open... ΓòÉΓòÉΓòÉ
  124.  
  125. Select Open... from the File menu to retrieve a saved Data Access Builder 
  126. session. If there are unsaved changes in the current session, you will be 
  127. prompted to save or discard them. (Open does not append the saved session to 
  128. the current session.) 
  129.  
  130. Select the following item to get information on the related menu: 
  131.  
  132.      File menu 
  133.      Save 
  134.      Save as... 
  135.  
  136.  Select the following item to get related information from the online book: 
  137.  
  138.      Opening a Previously Saved Data Access Builder Session 
  139.  
  140.  
  141. ΓòÉΓòÉΓòÉ 9. Save ΓòÉΓòÉΓòÉ
  142.  
  143. Select Save from the File menu to save the current Data Access Builder session. 
  144. The current session consists of all objects currently displayed in the client 
  145. area, and the settings for those objects. 
  146.  
  147. If the session has been saved before, the current session is saved under the 
  148. existing file name, and replaces the contents of the previous file. The current 
  149. file name (if any) is displayed in the title bar. 
  150.  
  151. If the session has not been saved before, the Save as window displays, and you 
  152. are prompted to specify a file name. Use .DAX as the file extension. 
  153.  
  154. Note:  If you have a Class settings notebook open for a class that does not 
  155. have at least one attribute mapped or one data identifier defined, you must do 
  156. either of the following before saving: 
  157.  
  158.      Complete the mapping in the open notebook 
  159.      Delete the class object from the client area. 
  160.  
  161.  Select from the following list to get related online help: 
  162.  
  163.      Save as... 
  164.      Open... 
  165.      File menu 
  166.      Delete 
  167.  
  168.  Select the following item to get related information from the online book: 
  169.  
  170.      Saving a Data Access Builder Session 
  171.  
  172.  
  173. ΓòÉΓòÉΓòÉ 10. Save as... ΓòÉΓòÉΓòÉ
  174.  
  175. Select Save as... from the File menu to save the current Data Access Builder 
  176. session under a new file name. The current session consists of all objects 
  177. currently displayed in the client area, and the settings for those objects. 
  178.  
  179. Use Save as... to save a session that has not been saved before, or to save a 
  180. session without overwriting the contents of an existing file. 
  181.  
  182. The current file name (if any) is displayed in the title bar. 
  183.  
  184. If you specify an existing file name, you are asked whether you want to 
  185. overwrite the contents of the existing file. 
  186.  
  187. Select from the following list to get related online help: 
  188.  
  189.      Save 
  190.      Open... 
  191.      File menu 
  192.  
  193.  Select from the following list to get related information from the online 
  194.  book: 
  195.  
  196.      Saving a Data Access Builder Session under Another Name 
  197.  
  198.  
  199. ΓòÉΓòÉΓòÉ 11. Exit ΓòÉΓòÉΓòÉ
  200.  
  201. Select Exit to close all windows and exit Data Access Builder. 
  202.  
  203.  
  204. ΓòÉΓòÉΓòÉ 12. Horizontal ΓòÉΓòÉΓòÉ
  205.  
  206. Select Horizontal to display the table objects mapped to their class objects 
  207. from left to right. 
  208.  
  209. A check mark appears beside Horizontal when it is selected. To turn this 
  210. selection off, select Vertical, the alternative mapping orientation. 
  211.  
  212. Select from the following list to get related online help: 
  213.  
  214.      Vertical 
  215.      View menu 
  216.  
  217.  
  218. ΓòÉΓòÉΓòÉ 13. Vertical ΓòÉΓòÉΓòÉ
  219.  
  220. Select Vertical to display the table objects mapped to their class objects from 
  221. top to bottom. 
  222.  
  223. A check mark appears beside Vertical when it is selected. To turn this 
  224. selection off, select Horizontal, the alternative mapping orientation. 
  225.  
  226. Select from the following list to get related online help: 
  227.  
  228.      Horizontal 
  229.      View menu 
  230.  
  231.  
  232. ΓòÉΓòÉΓòÉ 14. Icon size ΓòÉΓòÉΓòÉ
  233.  
  234. Select Icon size to change size of the icons. The icons can be either small, 
  235. medium or large. The default is large. 
  236.  
  237. To override the default setting, select the Icon size arrow push button to see 
  238. the three options in a cascade menu, and then click on the option you want. 
  239.  
  240. Select from the following list to get related online help: 
  241.  
  242.      Horizontal 
  243.      Vertical 
  244.  
  245.  
  246. ΓòÉΓòÉΓòÉ 15. Startup window ΓòÉΓòÉΓòÉ
  247.  
  248. Select the Startup window item from the Options menu to control whether the 
  249. Startup window appears in the client area each time you start Data Access 
  250. Builder. A check mark appears beside Startup window when this option is 
  251. selected. 
  252.  
  253. To turn this option on, select the menu item to display the check mark. The 
  254. next time you start Data Access Builder, the Startup window is displayed. 
  255.  
  256. To turn this option off, do either of the following: 
  257.  
  258.      Select the Startup window item from the Options menu to remove the check 
  259.       mark 
  260.      Click in the check box in the Startup window to remove the check mark. 
  261.  
  262.  Select from the following list to get related online help: 
  263.  
  264.      Startup Window 
  265.      Options menu 
  266.  
  267.  
  268. ΓòÉΓòÉΓòÉ 16. Information line ΓòÉΓòÉΓòÉ
  269.  
  270. Select Information line from the Options menu to control whether an information 
  271. line appears at the bottom of the client area while you are using Data Access 
  272. Builder. A check mark appears beside Information line when this option is on. 
  273.  
  274. The information line displays messages about using the Data Access Builder 
  275. interface, and about the status of actions you initiate. 
  276.  
  277. To turn this option on, select Information Line to display the check mark. To 
  278. turn it off, select Information Line to remove the check mark. 
  279.  
  280. Select the following item to get related online help: 
  281.  
  282.      Options menu 
  283.  
  284.  
  285. ΓòÉΓòÉΓòÉ 17. Generate options... ΓòÉΓòÉΓòÉ
  286.  
  287. Select Generate options... to see and change the options that appear in the 
  288. Generate Options window. 
  289.  
  290. Select from the following list to get related online help: 
  291.  
  292.      Generate Options window 
  293.      Generate 
  294.      Help for Class pop-up menu 
  295.  
  296.  Select the following item to get related information from the online book: 
  297.  
  298.      Generating Code Using Data Access Builder 
  299.  
  300.  
  301. ΓòÉΓòÉΓòÉ 18. Confirm on delete ΓòÉΓòÉΓòÉ
  302.  
  303. Select Confirm on delete from the Options menu to control whether you are asked 
  304. to confirm each delete action before it is completed. A check mark appears 
  305. beside Confirm on delete when this option is on. 
  306.  
  307. To turn this option off, select Confirm on delete to remove the check mark. 
  308.  
  309. Select from the following list to get related online help: 
  310.  
  311.      Delete (a Table or View) 
  312.      Help for Table or View pop-up menu 
  313.      Delete (a Class) 
  314.      Help for Class pop-up menu 
  315.      Options menu 
  316.  
  317.  
  318. ΓòÉΓòÉΓòÉ 19. Full path in title bar ΓòÉΓòÉΓòÉ
  319.  
  320. Select Full path in title bar from the Options menu to control whether the full 
  321. path name appears in the window title bar while you are using Data Access 
  322. Builder. A check mark appears beside Full path in title bar when this option is 
  323. on. 
  324.  
  325. To turn this option on, select Full path in title bar to display the check 
  326. mark. To turn it off, select Full path in title bar to remove the check mark. 
  327.  
  328. Select from the following list to get related online help: 
  329.  
  330.      Options menu 
  331.  
  332.  
  333. ΓòÉΓòÉΓòÉ 20. Help index ΓòÉΓòÉΓòÉ
  334.  
  335. Select Help index from the Help menu to display an alphabetical list of help 
  336. topics for Data Access Builder. 
  337.  
  338. Select the following item to get related online help: 
  339.  
  340.      Help menu 
  341.  
  342.  
  343. ΓòÉΓòÉΓòÉ 21. General help ΓòÉΓòÉΓòÉ
  344.  
  345. Select General help from the Help menu to display information about the active 
  346. Data Access Builder window. 
  347.  
  348. Select the following item to get related online help: 
  349.  
  350.      Help 
  351.  
  352.  
  353. ΓòÉΓòÉΓòÉ 22. Using help ΓòÉΓòÉΓòÉ
  354.  
  355. Select Using help from the Help menu to see information on using the online 
  356. help facility. 
  357.  
  358. Select the following item to get related online help: 
  359.  
  360.      Help 
  361.  
  362.  
  363. ΓòÉΓòÉΓòÉ 23. How do I... ΓòÉΓòÉΓòÉ
  364.  
  365. Select How do I... from the Help menu to get help for a task you want to use 
  366. Data Access Builder for. In the How Do I... help window, you can select from a 
  367. list of task topics, or you can search for a task topic that you specify. 
  368.  
  369. Select the following item to get related online help: 
  370.  
  371.      Help 
  372.  
  373.  Select the following item to get a general explanation of Data Access Builder, 
  374.  and to find out how you can use it in your development environment: 
  375.  
  376.      Using Data Access Builder 
  377.  
  378.  
  379. ΓòÉΓòÉΓòÉ 24. Help Menu Items ΓòÉΓòÉΓòÉ
  380.  
  381. The central portion of the Help PullDown menu is dedicated to all the online 
  382. documentation that is shipped with VisualAge C++. Making a selection from any 
  383. of these Cascade menus launches the VisualAge C++ documentation associated with 
  384. the menu item. You can find the same documentation in the Information folder 
  385. found in the VisualAge C++ Desktop folder. 
  386.  
  387. The Cascade menus are organized as follows: 
  388.  
  389.  At A Glance  
  390.            Provides general information on using VisualAge C++, such as what is 
  391.            new in this release, the overall tutorial, a description of all the 
  392.            sample programs, and answers to frequently asked questions. 
  393.  
  394.  Using VisualAge C++  
  395.            Provides direct access to the individual sections of the User's 
  396.            Guide. For example, if you are using the Browser, you would look in 
  397.            the Browsing section for more information. 
  398.  
  399.  How Do I... Selections  
  400.            Provides access to the How Do I... information for each component of 
  401.            VisualAge C++. Use How Do I... information to find out how to 
  402.            perform common tasks within VisualAge C++. 
  403.  
  404.  C/C++  
  405.            Provides access to the information that is specific to programming 
  406.            in C and C++. 
  407.  
  408.  Class Libraries  
  409.            Provides access to the  documentation. 
  410.  
  411.  Visual Programming  
  412.            Provides access to the information that is specific to creating your 
  413.            programs visually. 
  414.  
  415.  OS/2, PM, and Graphics  
  416.            Provides access to the documentation for the key aspects of OS/2, 
  417.            Presentation Manager, and graphics programming. 
  418.  
  419.  IPF, REXX, and Editing  
  420.            Provides access to the IPF, REXX and Editor references. 
  421.  
  422.  SOM and WorkPlace Shell  
  423.            Provides access to the information specific to SOM and the WorkPlace 
  424.            Shell. 
  425.  
  426.  Multimedia  
  427.            Provides access to the information that is specific to creating 
  428.            multimedia applications. 
  429.  
  430.  
  431. ΓòÉΓòÉΓòÉ 25. Product information... ΓòÉΓòÉΓòÉ
  432.  
  433. Select Product information... from the Help menu to see the product information 
  434. window for VisualAge C++. 
  435.  
  436. Select the following item to get related online help: 
  437.  
  438.      Help 
  439.  
  440.  
  441. ΓòÉΓòÉΓòÉ 26. Open settings ΓòÉΓòÉΓòÉ
  442.  
  443. Select Open settings from the Table or View pop-up menu to open the settings 
  444. notebook for a table or view object in the client area. The settings notebook 
  445. shows you details about the table or the view as it is defined in the database. 
  446.  
  447. The settings notebook for a table has three pages: Table, Columns, and 
  448. Constraints. 
  449.  
  450. The settings notebook for a view has two pages: View, and Columns. 
  451.  
  452. Select from the following list to get related online help: 
  453.  
  454.      Help for Table or View pop-up menu 
  455.      Delete 
  456.      Create class 
  457.  
  458.  
  459. ΓòÉΓòÉΓòÉ 27. Help for Table or View pop-up menu ΓòÉΓòÉΓòÉ
  460.  
  461. Select an item from the Table or the View pop-up menu to perform actions on a 
  462. table or view object in the client area. 
  463.  
  464. To display the Table or View pop-up menu, move the mouse pointer to the table 
  465. or view object you want to work with, and then click mouse button 2. 
  466.  
  467. Select from the following list to get related online help: 
  468.  
  469.      Open settings 
  470.      Delete 
  471.      Create class 
  472.      Table Notebook 
  473.      View Notebook 
  474.  
  475.  
  476. ΓòÉΓòÉΓòÉ 28. Delete ΓòÉΓòÉΓòÉ
  477.  
  478. Select Delete from the Table or View pop-up menu to delete a table or view 
  479. object from the client area. The object is removed from the Data Access Builder 
  480. screen only; it is not dropped from the database you are connected to. 
  481.  
  482. Select from the following list to get related online help: 
  483.  
  484.      Help for Table or View pop-up menu 
  485.      Delete (class) 
  486.      Confirm on delete 
  487.  
  488.  
  489. ΓòÉΓòÉΓòÉ 29. Create class ΓòÉΓòÉΓòÉ
  490.  
  491. Select Create class from the Table or View pop-up menu to create a new class 
  492. from an existing database table or view. The table or view to be used is the 
  493. object you clicked mouse button 2 on to get the Table or View pop-up menu. 
  494.  
  495. The new class will be created with a default name and other settings. To view 
  496. and change these settings, select Open settings from the pop-up menu of the new 
  497. class, or double-click the new class object. 
  498.  
  499. If you create more than one class from the same table or view, they will have 
  500. similar default names: for example, NAME, NAME1, NAME2, .... 
  501.  
  502. Select from the following list to get related online help: 
  503.  
  504.      Create classes... 
  505.      Help for Table or View pop-up menu 
  506.      Help for Class pop-up menu 
  507.  
  508.  Select from the following list to get related information from the online 
  509.  book: 
  510.  
  511.      Creating Classes 
  512.      Changing the Class Name 
  513.      Changing the Mapping between a Table and a Class 
  514.  
  515.  
  516. ΓòÉΓòÉΓòÉ 30. Open settings ΓòÉΓòÉΓòÉ
  517.  
  518. Select Open settings from the Class pop-up menu to open the settings notebook 
  519. for a class object in the client area. You can then see and change the 
  520. information about a class. You can also change the mapping between a class and 
  521. its table. 
  522.  
  523. The Class settings notebook has four pages: Names, Attributes, Part Methods, 
  524. and IDL Methods. 
  525.  
  526. Select from the following list to get related online help: 
  527.  
  528.      Class Notebook 
  529.  
  530.  Select from the following list to get related information from the online 
  531.  book: 
  532.  
  533.      Creating Classes 
  534.      Changing the Class Name 
  535.      Changing the Mapping between a Table and a Class 
  536.      Generating Visual Builder Parts Using Data Access Builder 
  537.      Generating IDL Using Data Access Builder 
  538.      Viewing Files Generated by Data Access Builder 
  539.  
  540.  
  541. ΓòÉΓòÉΓòÉ 31. Help for Class pop-up menu ΓòÉΓòÉΓòÉ
  542.  
  543. Select an item from the Class pop-up menu to perform actions on a class object 
  544. in the client area. 
  545.  
  546. To display the Class pop-up menu, move the mouse pointer to the class object 
  547. you want to work with, and then click mouse button 2. 
  548.  
  549. Select from the following list to get related online help: 
  550.  
  551.      Open settings 
  552.      Delete 
  553.      Generate 
  554.      View source 
  555.  
  556.  Select from the following list to get related information from the online 
  557.  book: 
  558.  
  559.      Creating Classes 
  560.      Changing the Class Name 
  561.      Changing the Mapping between a Table and a Class 
  562.      Generating Visual Builder Parts Using Data Access Builder 
  563.      Generating IDL Using Data Access Builder 
  564.      Viewing Files Generated by Data Access Builder 
  565.  
  566.  
  567. ΓòÉΓòÉΓòÉ 32. Delete ΓòÉΓòÉΓòÉ
  568.  
  569. Select Delete from the Class pop-up menu to delete a class object and all its 
  570. settings from the client area. Any source files already generated for that 
  571. class will not be erased. 
  572.  
  573. Select from the following list to get related online help: 
  574.  
  575.      Help for Class pop-up menu 
  576.      Generate Options Window 
  577.      Confirm on delete 
  578.  
  579.  
  580. ΓòÉΓòÉΓòÉ 33. Generate ΓòÉΓòÉΓòÉ
  581.  
  582. Select Generate from the Class pop-up menu to produce source code for a class 
  583. in the client area. The class to be used is the object you clicked mouse button 
  584. 2 on to get the Class pop-up menu. 
  585.  
  586. Note:  A class must have at least one attribute mapped to a column, and at 
  587. least one Data Identifier defined, before you can generate code for it. 
  588.  
  589. You can generate either Visual Builder parts or IDL source code. 
  590.  
  591. When Data Access Builder is installed, the default is set to generate Visual 
  592. Builder parts. Clicking on the Generate menu item (without selecting the arrow 
  593. push button to the right of the word) generates the default type of source 
  594. code. 
  595.  
  596. To temporarily override the default setting, select the Generate arrow push 
  597. button to see the two options in a cascade menu, and then click on the option 
  598. you want. This selection holds for one generate action. 
  599.  
  600. To change the default setting, select Generate options... from the Options 
  601. menu. In the Generate Options window, select the radio button you want, and 
  602. then select Save as default. 
  603.  
  604. If you are using WorkFrame/2, the source files are saved in your project 
  605. directory. Otherwise, the source files are saved in the current directory. 
  606.  
  607. For Visual Builder parts, the source files have the following file extensions: 
  608. .CPP, .DEF, .HPP, .MAK, .SQC, and .VBE. For IDL, the source files have the 
  609. following file extensions: .CPP, .IDL, .MAK, and .SQC. 
  610.  
  611. Select from the following list to get related online help: 
  612.  
  613.      Generate options... 
  614.      Help for Class pop-up menu 
  615.      View source... 
  616.  
  617.  Select from the following list to get related information from the online 
  618.  book: 
  619.  
  620.      Generating Visual Builder Parts Using Data Access Builder 
  621.      Generating IDL Using Data Access Builder 
  622.      Using Visual Builder Programs 
  623.      Using C++ Programs 
  624.      Using SOM Programs 
  625.  
  626.  
  627. ΓòÉΓòÉΓòÉ 34. View source... ΓòÉΓòÉΓòÉ
  628.  
  629. Select View source... from the Class pop-up menu to see any of the files you 
  630. generated from a class using Data Access Builder. 
  631.  
  632. Note:  You can select View source... only after you have generated source code. 
  633.  
  634. Select from the following list to get related online help: 
  635.  
  636.      View Source window 
  637.      Class pop-up menu 
  638.      Generate 
  639.      Generate options... 
  640.  
  641.  Select from the following list to get related information from the online 
  642.  book: 
  643.  
  644.      Generating Visual Builder Parts Using Data Access Builder 
  645.      Generating IDL Using Data Access Builder 
  646.      Using Visual Builder Programs 
  647.      Using C++ Programs 
  648.      Using SOM Programs 
  649.  
  650.  
  651. ΓòÉΓòÉΓòÉ 35. Table Notebook ΓòÉΓòÉΓòÉ
  652.  
  653. Use the Table Notebook to see the following information about a database table 
  654. in the client area: 
  655.  
  656.      Name of database that contains the table, and name and owner of the table 
  657.      Primary and foreign keys associated with the table 
  658.      Columns in the table 
  659.      Constraints for the table 
  660.  
  661.  You cannot change any information in the Table Notebook. 
  662.  
  663.  Select from the following list to get related online help: 
  664.  
  665.      Table 
  666.      Columns 
  667.      Constraints 
  668.      Help for Table or View pop-up menu 
  669.  
  670.  
  671. ΓòÉΓòÉΓòÉ 36. Table ΓòÉΓòÉΓòÉ
  672.  
  673. Use the Table page of the Table Notebook to see the following information about 
  674. a table in the client area: 
  675.  
  676.      The name of the table 
  677.      The name of the database that contains the table 
  678.      The user ID of the creator of the table 
  679.      Any comments that the creator included with the table. 
  680.  
  681.       You can scroll up and down to see any comments that extend beyond the 
  682.       window boundaries. 
  683.  
  684.  You cannot change any information on this page. 
  685.  
  686.  Select the following item to get related online help: 
  687.  
  688.      Table Notebook 
  689.      Help for Table or View pop-up menu 
  690.  
  691.  
  692. ΓòÉΓòÉΓòÉ 37. Columns ΓòÉΓòÉΓòÉ
  693.  
  694. Use the Columns page of the Table Notebook to see column and key information 
  695. for a table in the client area. 
  696.  
  697. A right-pointing key icon indicates a primary key. A left-pointing key icon 
  698. indicates a foreign key. 
  699.  
  700. To see information that may be hidden, you can: 
  701.  
  702.      Grab the vertical split bar with your mouse and drag it left or right. 
  703.      Use the scroll bars to scroll the contents vertically or horizontally. 
  704.  
  705.  Precision, in DB2/2 terminology, refers to the total number of digits in a 
  706.  decimal type column. The precision cannot be greater than 31. 
  707.  
  708.  Scale, in DB2/2 terminology, refers to the number of digits in the fractional 
  709.  part of the number. The scale cannot be negative or be greater than the 
  710.  precision. 
  711.  
  712.  You cannot change any information on the Columns page. 
  713.  
  714.  Select the following item to get related online help: 
  715.  
  716.      Table Notebook 
  717.      Help for Table or View pop-up menu 
  718.  
  719.  
  720. ΓòÉΓòÉΓòÉ 38. Constraints ΓòÉΓòÉΓòÉ
  721.  
  722. Use the Constraints page of the Table Notebook to see the following information 
  723. for a table in the client area: 
  724.  
  725.      Constraints for the table 
  726.      The delete rule for each constraint 
  727.      The referenced table for each constraint 
  728.      Referenced keys and matching columns for each constraint 
  729.  
  730.  Click on the arrow in the Constraints list box to see and select from a list 
  731.  of all constraints that apply to this table. When you select a constraint, the 
  732.  page updates with information that applies to that constraint. 
  733.  
  734.  You cannot change any information on the Constraints page. 
  735.  
  736.  Select from the following list get related online help: 
  737.  
  738.      Table Notebook 
  739.      Help for Table or View pop-up menu 
  740.  
  741.  
  742. ΓòÉΓòÉΓòÉ 39. View Notebook ΓòÉΓòÉΓòÉ
  743.  
  744. Use the View Notebook to see the following information about a view in the 
  745. client area: 
  746.  
  747.      Database that contains the view 
  748.      Columns in the view 
  749.  
  750.  You cannot change any information in the View Notebook. 
  751.  
  752.  Select from the following list to get related online help: 
  753.  
  754.      View 
  755.      Columns 
  756.  
  757.  
  758. ΓòÉΓòÉΓòÉ 40. View ΓòÉΓòÉΓòÉ
  759.  
  760. Use the View page of the View Notebook to see the following information about a 
  761. view in the client area: 
  762.  
  763.      The name of the view 
  764.      The name of the database that contains the view 
  765.      The user ID of the creator of the view 
  766.      Any comments the creator included with the view 
  767.  
  768.       You can scroll up and down to see any comments that extend beyond the 
  769.       window boundaries. 
  770.  
  771.  You cannot change any information on the View page. 
  772.  
  773.  Select from the following list to get related online help: 
  774.  
  775.      View Notebook 
  776.      Help for Table or View pop-up menu 
  777.  
  778.  
  779. ΓòÉΓòÉΓòÉ 41. Columns ΓòÉΓòÉΓòÉ
  780.  
  781. Use the Columns page of the View Notebook to see column information for a view 
  782. in the client area. 
  783.  
  784. To see information that may be hidden, you can: 
  785.  
  786.      Grab the vertical split bar with your mouse and drag it left or right. 
  787.      Use the scroll bars to scroll the contents vertically or horizontally. 
  788.  
  789.  You cannot change any information on the Columns page. 
  790.  
  791.  Select the following item to get related online help: 
  792.  
  793.      View Notebook 
  794.      Help for Table or View pop-up menu 
  795.  
  796.  
  797. ΓòÉΓòÉΓòÉ 42. Class Notebook ΓòÉΓòÉΓòÉ
  798.  
  799. Use the Class Notebook to see and change information about a class object in 
  800. the client area. The notebook shows the following information about the class 
  801. object - and about the code that can be generated from it: 
  802.  
  803.      Class name and file name 
  804.      Attributes that map to columns in the table 
  805.      Methods that will be included if you generate a Visual Builder part 
  806.      Methods that will be included if you generate IDL code 
  807.  
  808.  The class object starts out with default settings, which you can then change 
  809.  to suit your needs. 
  810.  
  811.  You can open the notebook for a class by double-clicking on the class object, 
  812.  or by selecting Open settings from the Class pop-up menu. 
  813.  
  814.  Select from the following list to get related online help: 
  815.  
  816.      Names 
  817.      Attributes 
  818.      Part Methods 
  819.      IDL Methods 
  820.      Help for Class pop-up menu 
  821.      Generate 
  822.  
  823.  Select from the following list to get related information from the online 
  824.  book: 
  825.  
  826.      Changing the Class Name 
  827.      Changing Attribute Names 
  828.      Mapping Tables without Primary Keys 
  829.      Adding a Mapping 
  830.      Deleting a Mapping 
  831.      Deleting the Table Mapping 
  832.  
  833.  
  834. ΓòÉΓòÉΓòÉ 43. Names ΓòÉΓòÉΓòÉ
  835.  
  836. Use the Names page of the Class Notebook to see or change the name of the 
  837. class, and the name of the files that will be generated if you select Generate 
  838. from the Class pop-up menu. 
  839.  
  840. To change the Class name or the File stem, type your changes in the entry 
  841. fields. 
  842.  
  843. The class name, by default, is the same as the name of the table it was created 
  844. from. And the file stem, by default, is the same as the class name. The 
  845. file-name extensions for a class generated as a Visual Builder part will be: 
  846. .CPP, .HPP, .SQC, and .VBE. The file-name extensions for a class generated as 
  847. IDL source will be: .CPP, .IDL, and .SQC. 
  848.  
  849. Classes for views on remote databases are Read Only by default.  For views on 
  850. local databases, the default is the local database setting.  Tables are always 
  851. writable. 
  852.  
  853. The read only checkbox allows you to force all instances of your class to be 
  854. read only.  If your class is generated as read only and a write access is 
  855. attempted, an exception will be thrown. 
  856.  
  857. The list boxes shows all the C++ file names and SOM file names that will be 
  858. generated if you select Generate from the Class pop-up menu. 
  859.  
  860. Check the C++ Target Libray checkbox if you want the #pragma library 
  861. ("filename.lib") generated in the class header to indicate that you will be 
  862. linking this generated code from the specified library. 
  863.  
  864. To change the C++ Target Library, type your changes in the entry field (without 
  865. the .lib extension). 
  866.  
  867. The C++ Target library name, by default, is the same as the name of the 
  868. generated class file name with an appended "V". 
  869.  
  870. Check the SOM dllname checkbox if you want the SOM "dllname" statement 
  871. generated within your SOM definition file. 
  872.  
  873. To change the SOM dllname, type your changes in the entry field. 
  874.  
  875. The SOM dllname, by default, is the same as the class file name. 
  876.  
  877. Reset changes both names back to what they were when you last closed the 
  878. notebook. 
  879.  
  880. Select the following item to get related online help: 
  881.  
  882.      Class Notebook 
  883.  
  884.  Select the following item to get related information from the online book: 
  885.  
  886.      Changing the Class Name 
  887.  
  888.  
  889. ΓòÉΓòÉΓòÉ 44. Attributes ΓòÉΓòÉΓòÉ
  890.  
  891. Use the Attributes page of the Class Notebook to see and change details about 
  892. how the class maps to the table it was created from. By default, each column in 
  893. the table is mapped to one attribute in the class. And each primary key in the 
  894. table becomes a Data Identifier in the Class. 
  895.  
  896. A right-pointing key icon indicates a primary key. A left-pointing key icon 
  897. indicates a foreign key. 
  898.  
  899. You can make the following changes: 
  900.  
  901.      Change the names of attributes. 
  902.  
  903.       Select the attribute, and type a new name in the Attribute Name field. 
  904.  
  905.      Add or delete mappings from columns to attributes. 
  906.  
  907.       Select Add or Delete when the desired attribute is highlighted. 
  908.  
  909.      Apply the Data Identifier label to, or remove it from, an attribute. 
  910.  
  911.       Click in the Data Identifier check box when the desired attribute is 
  912.       highlighted. (Note that there must be at least one Data Identifier for 
  913.       each class.) 
  914.  
  915.      Undo all your changes for this page since you last closed the notebook. 
  916.  
  917.       Select Reset. 
  918.  
  919.  To see any information that may be hidden, you can: 
  920.  
  921.      Grab the vertical split bar with your mouse and drag it left or right to 
  922.       show more of one side. 
  923.      Use the scroll bars to scroll the contents vertically or horizontally. 
  924.  
  925.  Select from the following list to get related online help: 
  926.  
  927.      Class Notebook 
  928.      Help for Class pop-up menu 
  929.  
  930.  Select from the following list to get related information from the online 
  931.  book: 
  932.  
  933.      Changing Attribute Names 
  934.      Mapping Tables without Primary Keys 
  935.      Adding a Mapping 
  936.      Deleting a Mapping 
  937.  
  938.  
  939. ΓòÉΓòÉΓòÉ 45. Part Methods ΓòÉΓòÉΓòÉ
  940.  
  941. Use the Part Methods page of the Class Notebook to see which data manipulation 
  942. methods will be included for a class in the client area if you generate a 
  943. Visual Builder part from it. 
  944.  
  945. This page also shows the Manager class methods, which you use to manipulate 
  946. multiple instances of the class. 
  947.  
  948. <Attribute> indicates a generic method that applies to all attributes by 
  949. substituting the attribute name for <Attribute>. 
  950.  
  951. You cannot change any information on the Part Methods page. 
  952.  
  953. Select the following item to get related online help: 
  954.  
  955.      Class Notebook 
  956.      IDL Methods 
  957.      Help for Class pop-up menu 
  958.      Generate 
  959.      Generate options... 
  960.  
  961.  Select the following item to get related information from the online book: 
  962.  
  963.      Generating Visual Builder Parts Using Data Access Builder 
  964.  
  965.  
  966. ΓòÉΓòÉΓòÉ 46. IDL Methods ΓòÉΓòÉΓòÉ
  967.  
  968. Use the IDL Methods page of the Class Notebook to see which data manipulation 
  969. methods will be included for a class in the client area if you generate IDL 
  970. source code from it. 
  971.  
  972. This page also shows the Factory class methods, which you use to manipulate 
  973. multiple instances of the class. 
  974.  
  975. <Attribute> indicates a generic method that applies to all attributes by 
  976. substituting the attribute name for <Attribute>. 
  977.  
  978. You cannot change any information on the IDL Methods page. 
  979.  
  980. Select the following item to get related online help: 
  981.  
  982.      Class Notebook 
  983.      Part Methods 
  984.      Help for Class pop-up menu 
  985.      Generate 
  986.      Generate options... 
  987.  
  988.  Select the following item to get related information from the online book: 
  989.  
  990.      Generating IDL Parts Using Data Access Builder 
  991.  
  992.  
  993. ΓòÉΓòÉΓòÉ 47. Data Access Builder Window ΓòÉΓòÉΓòÉ
  994.  
  995. The Data Access Builder product is an application development tool and a class 
  996. library that allow you object-oriented access to relational databases. 
  997.  
  998. Select from the following list to get related information from the online book: 
  999.  
  1000.      Creating Classes from Existing Tables or Views 
  1001.      Generating Code Using Data Access Builder 
  1002.      Viewing Files Generated by Data Access Builder 
  1003.      Using Visual Builder Programs 
  1004.      Using C++ Programs 
  1005.      Using SOM Programs 
  1006.  
  1007.  
  1008. ΓòÉΓòÉΓòÉ 48. Data Access Builder Startup ΓòÉΓòÉΓòÉ
  1009.  
  1010. The Startup window introduces Data Access Builder and prompts you how to 
  1011. proceed: you can start new work from existing DB2/2 database tables or views, 
  1012. or you can resume work on a saved Data Access Builder session. 
  1013.  
  1014. To start new work from a database table or view, select Create classes..., and 
  1015. then select the one (or ones) you want to work with. 
  1016.  
  1017. To resume work on a saved session, select Open.., and then select the one you 
  1018. want to work with. 
  1019.  
  1020. To close this window and work directly from the menu bar, select Cancel. 
  1021.  
  1022. To turn off the Startup window (so it does not appear each time you start Data 
  1023. Access Builder), do either of the following: 
  1024.  
  1025.      Click in the 'Display this window on startup' check box in the Startup 
  1026.       window, to remove the check mark. 
  1027.      Select Startup window from the Options menu to remove the check mark. 
  1028.  
  1029.  To turn this option on, select Startup window to display the check mark. The 
  1030.  next time you start Data Access Builder, the Startup window is displayed. 
  1031.  
  1032.  Select from the following list to get related online help: 
  1033.  
  1034.      Startup window 
  1035.      Options menu 
  1036.  
  1037.  Select from the following list to get related information from the online 
  1038.  book: 
  1039.  
  1040.      Creating Classes 
  1041.      Opening a Previously Saved Data Access Builder Session 
  1042.  
  1043.  
  1044. ΓòÉΓòÉΓòÉ 49. Create Classes ΓòÉΓòÉΓòÉ
  1045.  
  1046. Use the Create Classes window to create new classes based on existing DB2/2 
  1047. database tables. In that window, you select the database and then the tables or 
  1048. views in the database to work with. 
  1049.  
  1050. Databases lists all databases currently accessible. Select a database from the 
  1051. list of available databases, and then select Connect to connect to the 
  1052. database. (Double-clicking on the database name does the same thing.) 
  1053.  
  1054. Tables then lists the names of available tables and views in that database. 
  1055. Names are shown as USERID.TABLE, where USERID is the creator of the table, and 
  1056. TABLE is the table or view name. Select one or several names from the list. To 
  1057. select all names at once, use Select all. 
  1058.  
  1059. Select Create classes to create a new class for each table or view you 
  1060. selected. 
  1061.  
  1062. Select Cancel to close the Create Classes window. 
  1063.  
  1064. Select from the following list to get related online help: 
  1065.  
  1066.      Create class 
  1067.      Help for Table or View pop-up menu 
  1068.      Create classes... 
  1069.      File menu 
  1070.  
  1071.  Select from the following list to get related information from the online 
  1072.  book: 
  1073.  
  1074.      Creating Classes 
  1075.      Changing the Class Name 
  1076.      Changing the Mapping between a Table and a Class 
  1077.  
  1078.  
  1079. ΓòÉΓòÉΓòÉ 50. Generate Options ΓòÉΓòÉΓòÉ
  1080.  
  1081. Use the Generate Options window to set the default type of source code that 
  1082. will be generated by Data Access Builder. Select either a Visual Builder part 
  1083. or IDL, and then select Save as default. 
  1084.  
  1085. This default setting is used when you select Generate from the Class pop-up 
  1086. menu (without using the conditional cascade). 
  1087.  
  1088. You can temporarily override this default setting by using the Generate 
  1089. conditional cascade (the right arrow button) from the Class pop-up menu. This 
  1090. selection holds for one generate action. 
  1091.  
  1092. Select from the following list to get related online help: 
  1093.  
  1094.      Generate options... 
  1095.      Options menu 
  1096.      Generate 
  1097.      Help for Class pop-up menu. 
  1098.  
  1099.  Select from the following list to get related information from the online 
  1100.  book: 
  1101.  
  1102.      Generating Visual Builder Parts Using Data Access Builder 
  1103.      Generating IDL Using Data Access Builder 
  1104.      Using Visual Builder Programs 
  1105.      Using C++ Programs 
  1106.      Using SOM Programs 
  1107.  
  1108.  
  1109. ΓòÉΓòÉΓòÉ 51. Open ΓòÉΓòÉΓòÉ
  1110.  
  1111. Use the Open window to retrieve a previously saved Data Access Builder session: 
  1112.  
  1113.    1. Select the down arrow to the right of the Drive list to display all the 
  1114.       drives on your system. 
  1115.    2. Select a drive from the Drive list. 
  1116.    3. Select a directory from the Directory list. 
  1117.    4. Select a file name from the File list, or type in a file name. (Saved 
  1118.       Data Access Builder sessions have a file extension of .DAX.) 
  1119.    5. Select OK. 
  1120.  
  1121.  The name of the retrieved session will appear in the title bar. 
  1122.  
  1123.  To close the Open window without retrieving a session, select Cancel. 
  1124.  
  1125.  Select from the following list to get related online help: 
  1126.  
  1127.      Open... 
  1128.      File menu 
  1129.  
  1130.  Select from the following list to get related information from the online 
  1131.  book: 
  1132.  
  1133.      Opening a Previously Saved Data Access Builder Session 
  1134.  
  1135.  
  1136. ΓòÉΓòÉΓòÉ 52. Save As ΓòÉΓòÉΓòÉ
  1137.  
  1138. Use the Save As window to save the current Data Access Builder session under a 
  1139. new file name. The current session consists of all objects currently displayed 
  1140. in the client area, and the settings for those objects. 
  1141.  
  1142.    1. Select the down arrow to the right of the Drive list to display all the 
  1143.       drives on your system. 
  1144.    2. Select a drive from the Drive list. 
  1145.    3. Select a directory from the Directory list. 
  1146.    4. Select a file name from the File list, or type a file name in the Save as 
  1147.       filename entry field. Use a file extension of .DAX. 
  1148.    5. Select OK. 
  1149.  
  1150.  If you specify an existing file name, you are asked whether you want to 
  1151.  overwrite the contents of the existing file. 
  1152.  
  1153.  Select Cancel to cancel the Save As action and close the window. 
  1154.  
  1155.  Select from the following list to get related online help: 
  1156.  
  1157.      Save as... 
  1158.      File menu 
  1159.  
  1160.  Select from the following list to get related information from the online 
  1161.  book: 
  1162.  
  1163.      Saving a Data Access Builder Session under Another Name 
  1164.  
  1165.  
  1166. ΓòÉΓòÉΓòÉ 53. View Source ΓòÉΓòÉΓòÉ
  1167.  
  1168. Use the View Source window to view in browse mode any of the source files 
  1169. generated by Data Access Builder. If you did not specify another text editor to 
  1170. use (through WorkFrame/2), the selected file will appear in an LPEX window: 
  1171.  
  1172. This window shows you a list of all the source files generated by Data Access 
  1173. Builder for the class. Select the file or files you want to look at, and then 
  1174. select View. 
  1175.  
  1176. Visual Builder parts have the following file extensions: .CPP, .DEF, .HPP, 
  1177. .MAK, .SQC, and .VBE. 
  1178.  
  1179. IDL source files have the following file extensions: .CPP, .IDL, .MAK, and 
  1180. .SQC. 
  1181.  
  1182. To close the View Source window without viewing any files, select Cancel. 
  1183.  
  1184. Warning: Do not edit the source code generated by VisualAge C++. You should 
  1185. always generate source code directly from the information in the class 
  1186. notebook. If you edit a source file directly, your changes will be lost if you 
  1187. use the tool to generate code again for the same class. 
  1188.  
  1189. Select from the following list to get related online help: 
  1190.  
  1191.      View source... 
  1192.      Generate 
  1193.      Help for Class pop-up menu 
  1194.  
  1195.  Select from the following list to get related information from the online 
  1196.  book: 
  1197.  
  1198.      Generating Code Using Data Access Builder 
  1199.      Viewing Code Generated by Data Access Builder 
  1200.