General information
Category:
Forms & Form designer
I think I've got an idea of what you're saying. It sounds way more complicated than I need to get, though. As long as it will look for the table in the current directory, I'll be fine.
Thanks,
-Michelle
>I meant this:
>[start paste from help]
>
>SYS(2014, cFileName [, Path])
>Returns the minimum path relative to the current or specified
>directory for a specified file.
>
>Returns
>
>Character
>
>Arguments
>
>cFileName Specifies the name of the file for which SYS(2014)
>returns the minimum path. If you omit Path, SYS(2014) returns the
>minimum path between the file and the current directory. You can
>change the current directorywith SET DEFAULT.
>
>Path Specifies a directory for which SYS(2014) returns the minimum
>path between the specified directory and the file specified with
>cFileName.
>
>Remarks
>
>SYS(2014) can be used with FULLPATH( ) to make applications
>portable. That is, when given the location of the current program
>and the location of other files used by the program, FULLPATH( ) and
>SYS(2014) obtain the proper paths for these files. Once the files’
>paths are determined, the files can be accessed by the program.
>[end paste]
>
>This would involve going through the .pjx file, and replacing name
>with
> sys(2014, name, curd())
>....though VFP should have done it by itself; I've checked one of my
>..pjx files, and found only one set of files marked with a full
>pathname (because they are members of a library directory on another
>disk); all the others reside in the current directory, so my case is
>very simple. If you're doing this, just verify that all the strings
>in the Name memo have are null terminated (i.e. the last char of it
>is chr(0). If you open it in the editor, it shows as a little hollow
>square. Once you get finished with this, rebuild the project (be
>sure to check Rebuild All).
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only