Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connection a VFP table to a VB form
Message
From
07/08/2000 17:30:06
Tom Gahagan
Alliance Computer Solutions
Thomaston, Georgia, United States
 
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00401874
Message ID:
00401953
Views:
28
Charles.....

Easiest is probably using the ADO data control...

1. In the project menu select Components...in the control tab select Microsoft ADO 6.0...press Ok

2. Put the control on the form. Click on the control and right click and select properties.

3. From here you can follow the steps to create a DSN and then establish a connection string using the dsn.

Make sure you select the Visual FoxPro Driver ODBC driver and not the Foxpro. Most of the process is dialog... wizard.... type so you should have little problems finishing.

After all the dialogs you can set the recordsource info and you will then be able to bind any controls.

A really great source for this is Lesson 24 in Visual Basic Step By Step.
by Michael Halverson, Microsoft Press.
Tom Gahagan
Alliance
Computer Solutions

"Music, like sex, is much too important to be left to professionals."
Robert Shaw
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform