Setting popup property of a form using code
Posted on 2008-10-23
How can I turn the pop up property of a form on and off using vba? I am using Access 2000 which does not allow you to set a pop up property for reports (didn't start until acc 2002, i think). So I have a pop-up form that I need to print preview a report from . I was thinking I could just set the popup property to false when I click the command button to preview the report and then maybe set it back to true in the on close event of the report? Will that work? I can't get it to work.
In the on click event of the command button that previews the report, I tried bot:
me.popup = false
me.form.popup = false
and both give me the same error: "You can't assign a value to this object"