![]() | |
![]() | |
![]() ![]() | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | |
![]() ![]() |
When developing a new project with ACE/400 Data control, you must first enable the ACE/400 Data control. Step1: Enabling ACE/400 Data Control With VB5 or VB6, select option ‘Project/Components’. Then select ‘ACE/400 DAO’. Step 2: Inserting ACE/400 Data control(s) on the form You will use the ACE/400 icon to designate AS/400 Data sources. A Data source can designate a file or an SQL query (in read only). Just double-click on this icon to have it on your form. Then click on the property editor (‘…’ button) for property ‘Record source’. You will be prompted for a file name. This dialog box will allow you to walk through the libraries. After selecting an item, press ‘OK’, and the selected item will fill the recordsource property. This property can also contain an SQL string (according to Microsoft’s Data control). Now, it is possible to put controls on the form and link them with the Data control. Step 3: Put data aware controls on the form It is possible to put a ‘Text’ Control
(by double clicking on the icon ‘TextBox’
Step 4: Run the application Your first application with ACE/400 Data control is ready in only a few minutes! Just run it and enjoy! Of course, much customizing is possible:
Back Excel and VBA Applications VBScript Powerbuilder Visual C++ |