Here is your script with just a few minor changes, mostly to keep the console from ever opening, and with the novars option on. It took me forever to realize that there was a space in the "On" portion of the setoption that was killing me haha. But it seems to function now! Just needs the formatting done to match the parent form.

Attachments
iReport-II.kix (170 downloads)
Description: