Advertisement

09.22.2008 at 01:48PM PDT, ID: 23752941 | Points: 500
[x]
Attachment Details

FileOpen() filename is var

Asked by saweber2 in PowerBuilder Programming Language

Tags: , , ,

Regarding Powerscript -
FileOpen() ->  FileOpen("filename", )  - works when filename is direct reference
FileOpne() ->  FileOpen(ls_pdffile, )   - does NOT work, please see sample below
ls_pdffile = "X:\XXX\filea.pdf"
lFIleHandle = FileOpen("X:\XXX\filea.pdf",StreamMode!,Read!)
//lFIleHandle = FileOpen(ls_pdffile,StreamMode!,Read!)
Does anyone see anything wrong?Start Free Trial
[+][-]09.23.2008 at 09:57AM PDT, ID: 22551537

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.23.2008 at 11:49PM PDT, ID: 22557328

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628