Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding cursor as grid source
Message
 
 
To
15/03/2011 15:27:59
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 7 SP1
Miscellaneous
Thread ID:
01503760
Message ID:
01503770
Views:
58
>Ok - I use an SQL select statement (SELECT * from parts WHERE ponum=mponum INTO TABLE partstank.dbf) to get records into a table. I have a grid that is to display the records in partstank.dbf. I set the grid RecordSource to partstank.dbf (also tried just plain 'partstank'), and the RecordSourceType to either Table, or Alias. I have set the Column ControlSource and the textbox ControlSource to the partstank file, which I know has records in, but nothing shows up in the grid.
>
>Any ideas??
>
>Thanks.

Use a cursor and alias for the RecordSourceType. Use Alias.FieldName for the control source of grid columns.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform