SET VAR vChkFile INTEGER = (CHKFILE(.Vassyinst))
IF vChkFile = 1 then
the file was found
ELSE
the file was not found
ENDIF
Jim Belisle wrote:
I Print a report where the assembly instructions are drawn from a
location outside RBASE via the below variables:
Vassypath 'S:\JPBAssyInst\RTFAssyInst\'
Vmodeluse (Model#)
Vassyinst (.vAssypath + .vModeluse + '.rtf')
These variables are all set in the F1 band that is the Model#.
I want no page to be printed if the instructions are not found.
I realize the vassyinst will never be null because it is a string I
create.
What way would there be so I force RBASE to “SEE” if the instructions
are really there?
The instructions are RTF files.
Jim