I was attempting to add a button on a dialog box which was on the Main screen, but if I add the button directly on the Main screen all of the variables are there. Thanks for your help! Jeff, you can add scripts and UDF's on legacy modules, they are just not nearly as flexibale and cannot be updated to the other modules.