Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP scripting?
Message
From
04/04/2007 10:13:04
 
 
To
02/04/2007 13:22:08
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01211369
Message ID:
01211982
Views:
14
Hi Sir,

How do I dump all my data in my cursor to my grid? Please help.
LOCAL lcSQL

lcSQL = "SELECT * FROM MyTable INTO CURSOR crsGrid1"

EXECSCRIPT(m.lcSQL)

THISFORM.grid1.RecordSource = "crsGrid1"   && this is not working?
THISFORM.grid1.Refresh
THISFORM.txtSqlWindow.SetFocus
Thanks,
Sam
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform