Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Double-Click in Grid Textbox
Message
De
10/06/2010 12:45:42
 
 
À
10/06/2010 02:55:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01468179
Message ID:
01468331
Vues:
42
>I have not read the whole thread, so please forgive me if this is not an answer to your problem. The cursor which drives the grid should be created in the form's load event. Then it will already exist when the grid is created. If this empty cursor has the same structure as a table, the easiest is
>Select * from yourtable where .f. into cursor somecursor readwrite
>
How do you handle it when the source of the grid depends on a parameter passed to the form? It could be an SQL statement that needs to be run. It could be a value that gets plugged into a WHERE clause. It could even be the name of a cursor that was created in the calling program.

As I mentioned to Naomi, I think the source of my problem is in the VFP environment. Run the form once and it works. Run it again and it doesn't. It's a problem in my test/development environment but when I create an EXE for the user, everything seems to be OK.

Thanks for taking the time to respond. I do appreciate it.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform