Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
One cursor available but the other not
Message
De
26/07/2006 13:54:22
 
 
À
26/07/2006 13:41:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Divers
Thread ID:
01140317
Message ID:
01140328
Vues:
12
Hi Terry,
Since this is a cursor should you do FILE(dbf("csrStep2a")).

HTH
Beth
>I select certain data into a cursor:
>
>
>Select ...
>  INTO CURSOR csrStep2 NOFILTER READWRITE
>
>
>and later similar data into another:
>
>
>Select ...
> INTO CURSOR csrStep2a NOFILTER READWRITE
>
>
>A little bit later I need to amalgamate them:
>
>Select csrStep2
>If FILE( "csrStep2a.dbf")
>   Append From DBF("csrStep2a")
>EndIf
>
>
>I need to check 1st if csrStep2a exists cos sometimes the 2nd Select bears no results and so the append gives an error.
>
>The FILE() fails and it doesn't happen. I guess it's because the cursors get weird system gen'd names and get buried in a \temp folder.
>
>So, I'm having what the Americans call a "brain fart" at the moment. I've been runnin' an' shootin' and fightin' all day and now I can't think how to find the other cursor and check if it exists.
>
>Somebody HELP meh!
>
>'ppreciate it
>
>Terry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform