Ben,

Try this:
set var vfilename text = 'scan3.tif'
set var vfilename2 text = ('[' + .vfilename + ']')

INSERT INTO ScannedFiles (IDNUM,INPUTDATE,FILEDES,SFILENAME,SCANFILENAM) 
VALUES (786,122902,'Problem SCAN3 file to view.', .vfilename, &vfilename2)

Troy


-------- Origianl Message ---------

I am using the insert command to insert a file, such as *.jpg or *.tif 
files.  When using this example
 
INSERT INTO ScannedFiles (IDNUM,INPUTDATE,FILEDES,SFILENAME,SCANFILENAM) 
VALUES (786,122902,'Problem SCAN3 file to view.','SCAN3.TIF', ['SCAN3.TIF'])
 
Is there anyway to place the ['SCAN3.TIF']  in some type of variable and use 
in a command file?
 
Benjamin Strickland

Reply via email to