Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace cursor
Message
De
05/02/2003 05:19:34
 
 
À
04/02/2003 14:34:36
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00748127
Message ID:
00749268
Vues:
33
I will explain:
For example, if you ave table name 'Prodact'.
When you ran the following command you will get a cursor name prodactS.
select * from prodact where item in ('BOX','CAR') into cursor prodactS nofilter
In the init of the form the prodact table availiable and the prodactS cursor not created yet.
On that point you can create cursor with all the tables (ONLY) by using with the array Adir.
In the first time that you will press on the command button I dont have any cursor yet (only the cursor with the tables) and I don have any problem..
My problem is when I press again on the command button, on this point I have 25 cursors and when the tryng to save data in cursor who existed I get messagebox that the cursor in use (Not in all the cursors, I dont know why).
So I want to create cursor in the first line of the command buttom that will collect all the cursors\tables that wasnt in the fist array (adir, you remember?) and by 'scan' command I will make 'Use in' - only to this line.
Thank you for answer.
Thank you
Chaim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform