Eric Kay
asked on
Borland BDE & NetDir
I have 2 computers on a Windows '95 (peer to peer) network.
The paradox tables are stored on computer 1 and computer 2 accesses the data from this computer.
The NetDir on computer 1 points to 'C:\' and the NetDir on computer 2 points to 'T:\' which is a mapping of computer 1 'C:\'.
I have created an alias 'ARROW' pointing to this directory on both computers.
The problem is when I update a record on one computer I can't see the change until I exit out completely from the application I have written in Delphi and then come back in.
Also there is no record locking etc.
Regards
Eric Kay
The paradox tables are stored on computer 1 and computer 2 accesses the data from this computer.
The NetDir on computer 1 points to 'C:\' and the NetDir on computer 2 points to 'T:\' which is a mapping of computer 1 'C:\'.
I have created an alias 'ARROW' pointing to this directory on both computers.
The problem is when I update a record on one computer I can't see the change until I exit out completely from the application I have written in Delphi and then come back in.
Also there is no record locking etc.
Regards
Eric Kay
ASKER
Still doesn't work. I found that you need to set LOCAL SHARE to true on each computer on the Peer to Peer network. The reason is that dedicated servers notify clients of record/file locking wheras on a Peer to Peer network this functionality is not present.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I ran into similar problems: Make sure that the path for both NetDir's is identical (incl. drive letter).
These paths are stored in de *.net and/or *.lck files created by the BDE. If the paths are not identical, record locking will not work as it should.
These paths are stored in de *.net and/or *.lck files created by the BDE. If the paths are not identical, record locking will not work as it should.
Use
Subst T: C:\
in autoexec.bat on one, map T: to C:\ on the other.
This is, in my opinion, a flaw in the design of Paradox, but I guess we'll have to live with it...
Regards,
Erik.