Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I want an error for VFP Open dialog
Message
De
12/03/2004 17:46:33
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00885697
Message ID:
00885854
Vues:
34
I'm not sure what you're saying the problem is. The table was closed before the SCAN. I expect it to fail. Again, this is not the fault of VFP, but rather the way the code was written.


>Humm, i don't get what you say here... Here's the full example
>
>
>=SqlExec(myHandle, "Select * from MyTable", "MyTable")
>PlayWithMyTable()
>ScanMyTable()
>
>Function PlayWithMyTable
>  *--- Do some stuff
>  Use In MyTable
>Endfunc
>
>Function ScanMyTable
>try
>  *-- In the program here i expect the cursor to be there
>  *-- but some other functions may have closed it
>  Scan &&&& Open dialog box
>    *--- Some code here
>
>  EndScan
>catch
>...
>
>EndFunc
>
>
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform