Access popup form - receive & return args
Posted on 2007-04-05
I wanted to make a popup calendar selector form.
We have an active x calendar control we use but we normally have it on the form itself.
I wanted & did make a modal popup form to house the calendar control but wanted to pass in a date and return a date. Doesn’t seem possible. I think I pass in an argument via docmd.OpenForm but not sure how/if I can return a date from the form.
Id like others to be able to import & reuse this form in other projects as easily as possible, wanted to stay away from public vars if possible.
Any ideas how to best accomplish this?
Using Access 2002