Correct wildcard character?

Bruce
-------- Original Message --------
Subject: [RBASE-L] - ChkFile in version 9.1
From: [email protected]
Date: Thu, June 14, 2012 11:59 am
To: [email protected] (RBASE-L Mailing List)

Just upgraded a client from 7.6 to 9.1 32-bit (yeah, they waited too long to install and now they're already behind...)

Something works in 7.6 but not in 9.1

SET VAR vcfilename = 'R:\DOCS\POTRAN\91002*.PDF'
SET VAR vcount = (CHKFILE(.vcfilename))

Should return a 1 because there is a file 91002.PDF in that directory.   This works in 7.6, but returns a 0 in 9.1.   If I change it to:
       SET VAR vcfilename = 'R:\DOCS\POTRAN\91002.PDF'
(no wildcard), then it works in 9.1.   But I need the wildcard.  It appears that 9.1 doesn't recognize the wildcard.


Any thoughts?

Karen

Reply via email to