You are using the wrong quotes
You should use the single quote on both sides '
wrong (cval('currdir'))
right (cval('currdir'))
Dan Goldberg
_____
From: [email protected] [mailto:[email protected]] On Behalf Of Tom
Frederick
Sent: Friday, February 05, 2010 1:59 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - PDF files on Network
Our database creates PDFs of reports, stores them to a sub, records the
location, and has a retrieve/print form. This process is used in 8 report
buttons and works very well on a single PC. When I move the database from
C:\RBTI to a network server (Y:\ECC), the entire database program runs fine
but the PDFs do not get built. File names go to a PDF name table, and a 1kb
file with the correct name goes to the subdirectory (Y:\ECC\PDFs) but the
PDF file is empty. Move the same database back to (C:\RBTI) and everything
runs correctly again. All I can think of is I am missing a network naming
structure. Using (cval('currdir') to get the correct directory regardless of
which computer I go to. The inability to create the PDF on the network has
got me stumped. Using latest v8 and v9.
Tom Frederick
Elm City Center
1314 W Walnut
Jacksonville, IL 62650
O - 217-245-9504
F- 217-245-2350
Email - [email protected]