Hi Chip,
The command "Select document” returns (as a function) only the document name.
To get the actual path, add the fifth optional parameter which is an array. The
first element of the array will have the full path to the saved document.
Using your code:
--
$File_Path->:=Select document(5;$Extension;$User_Msg;32+16)
--
add the optional fifth parameter (which I’ve named “$selected_path_at”.)
--
C_TEXT($document_name_t)
ARRAY TEXT($selected_path_at;0)
$document_name_t:=Select document(5;$Extension;$User_Msg;32+16;
$selected_path_at)
—
To get the actual path to the saved document, do this:
--
$File_Path->:=$selected_path_at{1}
--
- Jeremy French
> On Mar 14, 2017, at 5:21 PM, Chip Scheide via 4D_Tech <[email protected]>
> wrote:
>
> any idea on how to get the USer selected path??
>
>
> excerpted code
> $File_Path->:=Select document(5;$Extension;$User_Msg;32+16)
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************