Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FullPath() in GenHTML problem
Message
 
 
To
20/06/2001 15:14:09
Gil Munk
The Scarborough Group, Inc.
Baltimore, Maryland, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00521631
Message ID:
00522370
Views:
9
Gil,

I guess from your post that Payments.frx is not included in an application.

There is an order in wich FULLPATH searches for a file:

1. A defaut directory (SET DEFAULT TO). FULLPATH("") will return the current default directory.
2. Foxpro path (SET PATH TO). SET("PATH") return current foxpro path.

If file not found the FULLPATH return'll look like file was found in the default directory.

Let's assume that actual full path is 'C:\Reachout\ReportsPayments.frx'.
In order for FULLPATH to find file 'Reports\Payments.frx' you have to set default directory to 'C:\Reachout\' or set path to C:\Reachout\ and make sure that there isn't file 'Reports\Payments.frx' in the default directory.

HTH

>This is more on my original problem with printing and sending output to HTML...
>
>GenHTML attempts to set the full path of the report form in this line:
>
>lvSource=LOWER(FULLPATH(lvSource))
>
>No matter what I do to force FULLPATH() to see the \Reports folder under my Executable's root folder, it always returns the path to my Development folder. I have issued SET PATH TO \REPORTS, SET PATH TO REPORTS, SET PATH TO, immediately before the line above, but to no avail. My executable is even on a different drive and path than my development folder (C:\Reachout).
>
>The variable lvSource is 'Reports\Payments.frx' just before the Fullpath() and is the correct relative path and filename. After the Fullpath() it is 'D:\Vfpapps\Reachout\Reports\Payments'.
>
>Any help / ideas would be appreciated.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform