Dan Musicant
2011-10-03 23:18:14 UTC
I have an application that accesses data on a 2TB USB HD connected to a
Windows XP machine that's connected by ethernet to my wireless router. I
have non-current data that's local and I have my application (running on
any of 3 machines, 2 connected wirelessly to the network and 1 connected
by ethernet) to check to see that the server data is available. If it
isn't, it tells me in a message that it's local data that is being used
(i.e. data that's on the requesting machine's HD), not the server data,
which is the most current. Theoretically this should not be necessary
because the server machine and it's USB external drive are on 24/7, but
for some reason I often get the message that I'm using local data. When
that happens, if I want to use server data I have to open an explorer
window and click on the USB drive, then my application behaves.
I'm using this logic to determine if the server data is being used:
IF FILE('W:\data\fox\dj\d.prg') OR FILE('W:\data\fox\dj\programs\d.prg')
llLocal=.F.
LcDataDRV='W:'
ELSE
llLocal=.T.
ENDIF
Is there a nice solution to this pretty annoying problem?
Dan
Email: dmusicant at pacbell dot net
Windows XP machine that's connected by ethernet to my wireless router. I
have non-current data that's local and I have my application (running on
any of 3 machines, 2 connected wirelessly to the network and 1 connected
by ethernet) to check to see that the server data is available. If it
isn't, it tells me in a message that it's local data that is being used
(i.e. data that's on the requesting machine's HD), not the server data,
which is the most current. Theoretically this should not be necessary
because the server machine and it's USB external drive are on 24/7, but
for some reason I often get the message that I'm using local data. When
that happens, if I want to use server data I have to open an explorer
window and click on the USB drive, then my application behaves.
I'm using this logic to determine if the server data is being used:
IF FILE('W:\data\fox\dj\d.prg') OR FILE('W:\data\fox\dj\programs\d.prg')
llLocal=.F.
LcDataDRV='W:'
ELSE
llLocal=.T.
ENDIF
Is there a nice solution to this pretty annoying problem?
Dan
Email: dmusicant at pacbell dot net