Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with cursor names in VFP 9
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01057970
Message ID:
01057974
Vues:
21
>>I am moving a VFP 6 app to VFP 9 and running into problems with cursors. This happens with both kinds of cursors, the kind created by SELECT INTO CURSOR as well as CREATE CURSOR. These cursors are being created in the C:\Documents and Settings\username\Local Settings\Temp folder and have names such as 00002m8900cz.tmp. This application frequently creates cursors and then appends to real tables with APPEND FROM (lcDBF), where lcDBF is the saved DBF() name of the cursor. APPEND FROM is not working correctly, I believe because it does not like filenames starting with numeric characters. What can I do to get around this?
>>
>>Not sure exactly when this broke -- could be VFP 7, 8, or 9.
>
>Mike,
>
>APPEND FROM doesn't care about the name of the cursor's file on the disk as long as it Windows legal name. What exactly doesn't work correctly?

A new land speed record, even for you!

When I trace one of these programs through, I see the cursor being created and the temp file on disk. But before the contents of the cursor can be appended to a DBF, the cursor disappears. This all happens in sequential instructions. It seems erratic and even seems to behave differently with the debugger running. I am trying to put together a simple, reproducible code sample that will show the problem.

Be back soon, I hope....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform