Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select tables
Message
From
10/10/2004 08:55:34
 
 
To
10/10/2004 04:32:13
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00950224
Message ID:
00950247
Views:
12
>hi,
>thank you for reply,

You're welcome.

>i get error message(file is in use)
>under myform procedure load
>use mstr IN 0 (file is in use)

As Tore said, you can use the AGAIN clause and also may want to check if the alias name is in use already in the current datasession
&& for example
If Not Used('mstr')
    USE mstr.dbf Alias mstr Again In 0 Shared
Endif
&& the IF USED() part would not be required when you're in the Load() of a form with DataSession=2 && private DS
>any simple example about
>> You could use a prvate datasession and do so in form/class.Load() for
>> example, or try the "visual" Form Designer and let the
>> form.DataEnvironment >> care for your tables automatically.

Not sure about the question - do you mean an example for using the DataEnvironment visually in the form designer?


hth
-Stefan
Previous
Reply
Map
View

Click here to load this message in the networking platform