Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I want an error for VFP Open dialog
Message
From
12/03/2004 17:46:33
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00885697
Message ID:
00885854
Views:
32
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform