General information
Category:
Reports & Report designer
Environment versions
Network:
Windows 2000 Server
No. Here's the code.
* Update the xfdf file.
lccurdir = CURDIR()
CD trim(goapp.cpathshared) + "w2\" + ALLTRIM(lcyear)
DELETE file '8655out.xfdf'
CD &lccurdir
STRTOFILE(lcstring, trim(goapp.cpathshared) + "w2\" + ALLTRIM(lcyear) + '\8655out.xfdf', 0)
lcxfdf = trim(goapp.cpathshared) + "w2\" + ALLTRIM(lcyear) + '\8655out.xfdf'
* Print the populated form.
SET CONSOLE OFF
SET HEADINGS OFF
thisform.printpdf(lcxfdf)
* Wait 10 seconds.
WAIT 'Printing the 8655 form...' window timeout 10
WAIT CLEAR
SET HEADINGS ON
SET CONSOLE ON
>When you write back to the .xfdf file, do you check if operation completed successfully or failed?
>
>>I have a client list of 1000 clients. Everyone gets a printed PDF tax form filled in with their information.
>>
>>I fill the forms using the following procedure:
>>I create an .xfdf file from the pdf using Nuance PDF Professional 5.
>>For each client,
>> I get the original .xfdf file.
>> I convert the .xfdf file to a string.
>> I stuff the string with all the client's information.
>> I convert the string back to an .xfdf file.
>> I print the .xfdf file.
>>
>>
>>The problem is while the reports are printing, every now and then, a client record will get skipped and I'll get a dup of a client record that's aleady been printed. Maybe 3 dups in a row of the same client record.
>>
>>What's happening that's causing the skipping?
>>
>>Would it be a good idea to run it on a much faster machine to see if I still have the problem?
>>
>>Any other suggestions?
>>
>>Regards,
>>Deb
Previous
Next
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