As far as I know, for ChkFile and Dir functions in RBase, you always use 
the old DOS wildcard of * to indicate many.  The client happens to use * still 
as their RBase many symbol.  I tried changing the many to % but still the 
same thing.

Karen


In a message dated 6/14/2012 2:15:29 PM Central Daylight Time, 
[email protected] writes: 
> 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