Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Random access file
Message
 
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Miscellaneous
Thread ID:
00480220
Message ID:
00480332
Views:
8
>I have a random access file I need to retrieve and add to some text box control on a form. The fields are
>field type
>PatNo Long
>Lname String
>Fname String
>balance Currency
>Date Date
>
>I know this is a simple question, but I'm just getting into VB from VFP. I could do this in two step in VFP, but I'm not sure how to in VB.
>
>Thanks for any help

What do you mean by "random access file"?

If it is a table in an Access, SQL Server, Oracle, ... database, use the DataForm wizard (found in the add-ins menu) to generate the code to retreive, display and edit data.

If it is a ASCII file, see the "Open statement" topic in the VB help.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Reply
Map
View

Click here to load this message in the networking platform