Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Small question in using Grid
Message
De
16/07/2001 02:47:10
 
 
À
15/07/2001 22:37:10
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00530832
Message ID:
00530858
Vues:
12
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform