How about using the FILEINFO function?  This will return the path name of
the 2 different files.

OPEN "CUSTOMER" TO F1 ELSE STOP
OPEN "CUSTOMER2" TO F2 ELSE STOP
PATH1 = FILEINFO(F1,2)
PATH2 = FILEINFO(F2,2)

Rgds


Bernard Lubin
Development Department
Reynolds and Reynolds
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Woodward
Sent: Friday, 16 March 2007 3:40 AM
To: [email protected]
Subject: RE: [U2] Help with File Pointers

But doesn't the locking let the same session set the same lock many
times?

BobW
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael
Rajkowski
Sent: Thursday, March 15, 2007 7:52 AM
To: [email protected]
Cc: [EMAIL PROTECTED]; [email protected]
Subject: RE: [U2] Help with File Pointers

If you are trying to determine that two files are pointing to the same
thing, you could set a lock on one and try to set it on the other.  If
it
will not let you do it, then you have the same file.

( note that my first thought was to write an item, but that could cause
problems if anyone else was using the file. )

give the lock a unique name like testingFilePointerTestProgram so you
don't
have issues with existing data.
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to