Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Display Cursor Results in Form Grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00220961
Message ID:
00221056
Views:
19
>This is what I ended up with, it works, thought it would be easier.
>
>THIS.Grid1.RecordSourceType=4
>THIS.Grid1.RecordSource="SELECT * FROM Chronology WHERE nSysKey="+LTRIM(STR(THIS.t_nOSPKey.VALUE))+" INTO CURSOR Q_Chron"
>THIS.Grid1.Column1.ControlSource="Q_Chron.cChronItem"
>THIS.Grid1.Column2.ControlSource="Q_Chron.tDateStamp"
>THIS.Grid1.Column3.ControlSource="Q_Chron.cUserID"
>THIS.Grid1.Refresh

Yes, that's fine. I usually use R/W cursors, so don't use that sourcetype...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform