filepro
Kenneth Brody
kenbrody at spamcop.net
Thu Aug 20 12:09:42 PDT 2009
Laura Brody wrote:
> Quoting ROBERT PULLIAM <pulliamr at earthlink.net>:
>
>> Using filepro - dos version. I have a file with 20 records and I
>> want to print and output to a file with each record saved as a
>> different name. Yry to use printer file but can get the info
>> inside the " " to be the different file names.
>> Any suggestions would be appreciated.
>
> The PRINTER FILE command doesn't allow variable filenames
> (easily, without major trickery) so, you need to change
> your code a little.
What's wrong with, for example:
printer file "c:/path/to/wherever/" { aa { ".txt"
where "aa" contains the filename you want?
Though I would recommend starting processing with PRINTER RESET if you are
going to use a new PRINTER FILE for every record. (Or, if you are using a
FORM command to print, then perhaps ending processing with PRINTER RESET.)
> If you change it so that you do an EXPORT on each record,
> it would be easy to make the filename anything you want.
> What do you want the filename to be?
--
Kenneth Brody
More information about the Filepro-list
mailing list