Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to understand use of FullPath() function
Message
From
29/07/2008 17:37:14
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01335056
Message ID:
01335092
Views:
17
The first parameter, DBGETPROP('customer','table','path') returns the relative path with respect to the DBC to the customer table including the name of the file (from help)
The 2nd parameter is returning the path and tablename to the currently selected table - DBF()

So you are passing to fullpath(), the relative path from the dbc to the customer table and as a 2nd parameter the path and tablename of the currently selected open table. The return from fullpath should be the path to customer.dbf from the currently selected dbf (as if pointing to it from the dbc customer resides in).

FULLPATH( ) returns the path for the first file relative to the second file. (from Help)

Not sure if that helps any...
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform