Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't open a table exclusively
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00313297
Message ID:
00314450
Views:
39
Thanks for the input here Barbara,

I have wondered why VMP opens all of the data in the default data session when we still have to open up the tables we need in each of the forms. Do you know why they do this? I guess your suggesting not opening all of these tables, except appinfo, in the default data session. This makes sense to me, I would also think this would speed up application startup. Are there any concerns I might want to think about prior to making this change in ctrPAApp that you can think of?

Thank you very much,

Paul
>Paul,
>Subclass the CtrApp class and look in INIT. You'll need to comment out the call to SetUpTables() and probably add a few lines of code for any tables that SHOULD be open like AppInfo.
>
>We do this on every VMP app, as having the tables open in the default datasession causes MAJOR problems when we need the very latest data from the server.
>
>Barbara
>
>
>>I am using Visual Maxframe Professional. When you start an application it loads all of the tables automatically.
>>
>>I have a form where I need to open a table exclusively so that I can zap it. I am not having any luck accomplishing this.
>>
>>Everytime I try to use the table exclusively I get the error "File in use". I have tried selecting the table and issuing a use command to close the table first but this doesn't help either.
>>
>>Any ideas?
>>
>>Thanks,
>>
>>Paul Acton
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform