c***@gmail.com
2020-04-07 12:47:42 UTC
Hi All,
The following code (to start Adobe Reader) works fine but, I'm having a problem with RUNCODE.
clear(loc:filename)
set(master)
Access:Master.Next
set(pdffiles)
loop until eof(pdffiles)
access:pdffiles.Next
if PDF:sel=1
loc:filename=clip(Mas:PDFFolder)&'\'&format(PDF:PDFNo,@n08)&'.PDF'
display !so I can see what is going on..
run(loc:filename,true) !works fine..
if RUNCODE() = 0
PDF:sel=0
PDF:Must=0
PDF:Printed=1
PDF:NoOfTimes+=1
access:pdffiles.update
END
END
END
ThisWindow.Reset(1)
Note that I am NOT calling the EXE but, instead I am using the system File Associations to start reader.
A few tips, or a little help would be appreciated.
TIA
The following code (to start Adobe Reader) works fine but, I'm having a problem with RUNCODE.
clear(loc:filename)
set(master)
Access:Master.Next
set(pdffiles)
loop until eof(pdffiles)
access:pdffiles.Next
if PDF:sel=1
loc:filename=clip(Mas:PDFFolder)&'\'&format(PDF:PDFNo,@n08)&'.PDF'
display !so I can see what is going on..
run(loc:filename,true) !works fine..
if RUNCODE() = 0
PDF:sel=0
PDF:Must=0
PDF:Printed=1
PDF:NoOfTimes+=1
access:pdffiles.update
END
END
END
ThisWindow.Reset(1)
Note that I am NOT calling the EXE but, instead I am using the system File Associations to start reader.
A few tips, or a little help would be appreciated.
TIA