In the ‘Connect’ property, type the string “ODBC;DSN=datasource” (without quotes). Replace datasource with the datasource name you entered for the connection created in the 32bit ODBC Administrator.
Go to the ‘RecordSource’ property and click on the dropdown arrow.
After a few moments, a list of datasets will appear. Select one.
Add a TextBox to your form.
The DataSource dropdown list has the name of the Data object you added earlier. Select it.
The DataField dropdown box will now have the fields available in the dataset you selected. Select one.
Run the application.
The TextBox contains the value of the field you selected from the first record in the dataset. Use the left and right arrows to scroll through the data. You can add other fields as additional text boxes.
Share this article:
You May Also Like
No posts were found for display
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.