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)