Re: v13 - Select & Create Document

2017-03-14 Thread Chip Scheide via 4D_Tech
THANKS! I didn't realize this got populated before the file was created. > After the call to Select document, the system variable Document > contains the full path to the document selected. > > John > > >> On Mar 14, 2017, at 11:21 AM, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> wrote

Re: v13 - Select & Create Document

2017-03-14 Thread Jeremy French via 4D_Tech
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;$E

Re: v13 - Select & Create Document

2017-03-14 Thread Keisuke Miyako via 4D_Tech
and for multiple files, there is an optional array parameter to receive all paths. > 2017/03/15 6:36、John Baughman via 4D_Tech <4d_tech@lists.4D.com> のメール: > After the call to Select document, the system variable Document contains the > full path to the document selected. ***

Re: v13 - Select & Create Document

2017-03-14 Thread John Baughman via 4D_Tech
After the call to Select document, the system variable Document contains the full path to the document selected. John > On Mar 14, 2017, at 11:21 AM, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I have the following (code excerpt) attempt to create a document on > disk. > The

v13 - Select & Create Document

2017-03-14 Thread Chip Scheide via 4D_Tech
I have the following (code excerpt) attempt to create a document on disk. The Select Document dialog is fine, and shows the desired directory (default saved to #5) I can enter a file name, no problem. However... $File_Path-> after accepting the file destination and file name contains ONLY the f