Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Small question in using Grid
Message
From
16/07/2001 02:47:10
 
 
To
15/07/2001 22:37:10
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00530832
Message ID:
00530858
Views:
11
>hello everyone,
>
>I'm writing a multi-user program, but I can't make the grid work in shared mode, this is how I do it:
>
>use MyTable shared
>thisform.addobject("MyGrid", "oMyGrid")
>set filter to rec_id=target_id
>
>in the Grid I have .recordsource=MyTable
>
>But then, when the 2nd user run the program, it says "File in use".
>Could someone please tell me how to let the Grid open the table in shared mode?

SET EXCLUSIVE OFF

If your grid is on a form that's using a Private Datasession, this shouldn't be necessary (unless the table was already open before the form was started).
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform