Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error Message - Cannot Access Table
Message
From
12/08/2003 00:52:40
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00819030
Message ID:
00819244
Views:
14
Nadya:

>Ok, now uncomment this code one in a time. E.g. first try to uncomment only the RecordSource portion and leave out the Header's assignments code.
>
>I usually don't include buttons in the form's class... Anyway, put
>
set step on
>return dodefault()
> into the old cmdReturn to see, what is actually happening...
>
Did the above. Result: The message "Cannot access the selected table" is displayed as soon as I step to the "Close Tables" line in the code.

Here's what I have in the Destroy Event
messagebox("My cursor PatientDemo is "+ iif(used("CurPatientSummary"),"","not ") + "used")

messagebox("My cursor is "+ iif(used("CurPatientSummary"),"","not ") + "used")
messagebox("My cursor is "+ iif(used("CurOnGoingHealth"),"","not ") + "used")
messagebox("My cursor is "+ iif(used("CurTreatment"),"","not ") + "used")
messagebox("My cursor is "+ iif(used("CurConsultants"),"","not ") + "used")

CLOSE TABLES
MESSAGEBOX("Tables are closed now.")
- Ravi

True greatness consists in being great in little things.
- Charles Simmons
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform