I don't think this will work. In your example John, you need to know the file variable assigned to the file. So IF (FILEINFO(CUSTOMER,0)=0) THEN OPEN "CUSTOMER" TO CUSTOMER ELSE...
But you can't use FILEINFO to check "CUSTOMER", only to check CUSTOMER. So you can't tell if a file is opened already and to what file variable. You can only tell if a certain file variable is opened. -----Original Message----- From: Israel, John R. <[email protected]> To: 'U2 Users List' <[email protected]> Sent: Mon, Mar 5, 2012 7:56 am Subject: Re: [U2] Hello I assume you have some way of knowing what files you want. Do something like: F (FILEINFO(yourfilename, 0) = 0) THEN OPEN yourfilename ... ND John -----Original Message----- rom: [email protected] [mailto:[email protected]] n Behalf Of Dave Laansma ent: Monday, March 05, 2012 10:38 AM o: U2 Users List ubject: Re: [U2] Hello Okay, I've got a pretty simple question ... How do I get a list of all files that are currently OPEN so I know whether I eed to open a given file again? Sincerely, avid Laansma T Manager ubbard Supply Co. irect: 810-342-7143 ffice: 810-234-8681 ax: 810-234-6142 ww.hubbardsupply.com Delivering Products, Services and Innovative Solutions" -----Original Message----- rom: [email protected] mailto:[email protected]] On Behalf Of u2ug ent: Monday, March 05, 2012 10:32 AM o: U2 Users List ubject: [U2] Hello Is the list alive ? Haven't seen anything for a week. ______________________________________________ 2-Users mailing list [email protected] ttp://listserver.u2ug.org/mailman/listinfo/u2-users ______________________________________________ 2-Users mailing list [email protected] ttp://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ 2-Users mailing list [email protected] ttp://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users
