Re: How to set the file name of a QR Report to disk file.

2017-12-29 Thread John Baughman via 4D_Tech
$path has the file name and $aSelectedPath{1} contains the full path selected, but what I am referring to is using an access path number in the directory parameter so that when the user does something that opens a Select document or Select folder dialogue again, the last directory they selected

Re: How to set the file name of a QR Report to disk file.

2017-12-29 Thread Keisuke Miyako via 4D_Tech
> I wish that the command isolated the file name in another parameter so that > I could use a memorized access path number in the directory parameter. Guess > I can’t have it all. > > $path:=Select document(System folder(Documents folder)+$path;"";"Report > name:";File name

Re: How to set the file name of a QR Report to disk file.

2017-12-29 Thread John Baughman via 4D_Tech
> On Dec 28, 2017, at 1:16 PM, Guy Algot via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I use an offscreen area. For example ; Thanks Guy! I tried to use on offscreen area, but until I saw your example could not get it to do what I wanted. Using your example with a couple of modifications I

Re: How to set the file name of a QR Report to disk file.

2017-12-29 Thread bernard--- via 4D_Tech
I use QR reports with a custom form and an adaptation of tech notes 05-13 to 15 QR Editor Source. This allows me to have a save button using QR REPORT TO BLOB : I can give the path... HTH Bernard Escaich > Le 28 déc. 2017 à 01:43, John Baughman via 4D_Tech <4d_tech@lists.4d.com> a > écrit :

Re: How to set the file name of a QR Report to disk file.

2017-12-28 Thread Guy Algot via 4D_Tech
I use an offscreen area. For example ; myQR:=QR New offscreen area QR SET REPORT TABLE(myQR;Table(->[InvoiceItems])) QR INSERT COLUMN(myQR;1;->[InvoiceItems]InvoiceDate) QR INSERT COLUMN(myQR;2;->[InvoiceItems]InvoiceNo) QR INSERT COLUMN(myQR;3;->[InvoiceItems]Customer) QR INSERT

Re: How to set the file name of a QR Report to disk file.

2017-12-28 Thread Douglas von Roeder via 4D_Tech
John: I wasn't sure of how QR REPORT worked. I checked the docs and the path at $2 is the path to the report so my thinking was there there was a save file dialog needed. The other thing that came to mind was is you could handle this like you would with 4D Write - create an offscreen area, run

Re: How to set the file name of a QR Report to disk file.

2017-12-27 Thread John Baughman via 4D_Tech
Thanks Doug. What I need is specifically related to using the command QR REPORT with a prebuilt .4qr file which exports a selection of records to a text file. I am not at all concerned with where the file is being saved, but what the file name will be. I do not see any way to force QR REPORT

Re: How to set the file name of a QR Report to disk file.

2017-12-27 Thread Douglas von Roeder via 4D_Tech
John: If it's a beefed up save file dialog, ABM Mac Extras Plugin might be of some help on OS X. I'd go with Win32API on Windows. ABM 1.5.2 is in a system that's running in 12.6. I traded email with Matthias in 6/15 about using it in a newer version and he indicated that it works in 13. I've