Highlighted

Check in script if data merge has occured or not

Avatar

Guest

22-09-2008

Hi all,



I am using Designer 8.1 and i am looking for a way to figure out in script if a particular field's data merge has completed or not. Is it possible?

Replies

Highlighted

Avatar

Guest

07-10-2008

Are we sure it does after the data merge?? To test it, I placed a xfa.host.messageBox statement on Form Ready and the message popped up before the data was merged. Any clues??

Thanks for any help
Highlighted

pguerett

07-10-2008

The message box will appear and suspend the display of the PDF ..... but it is still working in the background.
Highlighted

Avatar

Guest

09-10-2008

Thanks for the reply Paul. If I try to print the form (xfa.host.print) on DocReady event, the form comes up blank. That is data merged is not showing up on form. If I do the print on DocClose, the data is showing up on the form. Any Ideas???

Thanks.
Highlighted

pguerett

09-10-2008

I believe the data is there ....on the Doc Ready do an app.alert(fieldname.rawValue) if it comes up with the value from your data then you know it is there. If it comes up null or blank then you know it is not.



The print is not a valid test (IMHO).