In another thread, in a link in post https://www.accessforums.net/showthr...903#post498903
I found this bit of information:
"You may want to use both Events. Use Open to get the input parameters, and use Load to set the values of controls based on those supplied parameters."
I've been looking at lots of sample code, but have yet to see anything that looks like parameters being passed to a form.
This could be very helpful perhaps in a situation like this (all hypothetical at this point):
1) Every user enters a normal data entry form with the ability to review the data (read only), but to initiate a change to the data, the "Edit" button has to be pushed.
2) The menu program that calls the data entry form has validated the user to use the form for this workstation, be attached, day, time, etc. It also knows if this user is allowed to make changes to data in the form (restriction rule).
3) Can the menu form program pass to the form for data entry (when the former calls the later) the a false condition parameter (among others) for "no editing" or "no new" for this user, probably done by disabling the command buttons?
Example of the command buttons mentioned in another thread:
Can someone share an example of how these "arguments" are passed? As I said, I haven't seen (that I know of) how this is done. And the Access training I took never touched on this kind of thing (among so many others in my posts--again, thanks for all the help and insights over the past few weeks).