Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP scripting?
Message
 
 
À
04/04/2007 10:13:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01211369
Message ID:
01212305
Vues:
12
Hi Samuel,

This is something strange you're trying to do. Why do you need to use Excescript in this case at all? And can you create a cursor for your grid in form's load and then just use a "safe select" approach?

Can you elaborate more in what you're trying to accomplish?

>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
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform