|
-
Aug 5th, 1999, 10:23 PM
#1
Thread Starter
New Member
I need info from a SQL select to be displayed in a table format. The VB Datagrid control seems to be what I want, but I don't know how to use it. The data needs to come from a foxpro DBF, and I can connect to it, but can't get the info to display anywhere. Any Ideas?
-
Aug 6th, 1999, 11:53 AM
#2
Frenzied Member
Create a data control.
select the appropriate "connect" property (i have 4 different Foxpro selections available)
Choose your database name property
Set the recordset value.
Set recordsource to the table name
on the dbgrid:
Set datamode to bound.
Set Datasource to the control you created.
If you've done everything right, and you've set the database name property (it can be done programattically, so I usually don't keep the property set), you can right-click on the grid and select "retrieve fields" from the popup menu.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|