Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple Networking
Message
From
16/07/2001 09:29:55
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
16/07/2001 09:16:04
Ransome So
Ransome's Workshop
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00530936
Message ID:
00530952
Views:
15
Oh, I see. Your problem doesn't seem to be on the network-level, then.

Visual FoxPro can open tables "exclusively" or "shared". Default is "EXCLUSIVE".

Either:
SET EXCLUSIVE OFF
or, for each table:
USE MYTABLE SHARED
The first approach is obviously simpler. Keep in mind that forms may have a private datasession; if they do (and they definitely should), one of the first commands in the Load() event should be SET EXCLUSIVE OFF.

Actually, the second approach may fail, because the database container itself may be opened exclusively!

Hilmar.

>Dear Hilmar,
>Is there any more considerations?
>
>In my case, I can either log on the database not at the same time. If I, said, run the programs one the computer sharing database it works fine, but when I excecute the other program on the other computer which share the data on the first one, It report cursor initailization error. visa versa..
>
>What should I place at the main.prg to let the VFP to share datas???
>
>Thank you!!
>
>Ransome
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform