By the way this is looking like, it's looking like I will need
1 VBA variables per field on the form for what the user types
in. I will then need to use a separate recordset to pull and
maintain which record was inquired on, if any. I already
created a separate recordset for synchronization purposes.
This same recordset will be used for that inquired record
purpose as well. Looks as though I will loose the Pessimistic
locking method option due to the bound form issue as this will
be unbound most of the time, and only bound during the
updating process by the sounds of things. This is also
partially based on what I read in one of my Access books, the
decision of what edit mode to go into must be made *BEFORE*
typing any data into the form with the form being bound (found
this out via the BeforeInsert Event), and in my situation, the
user is deciding *AFTER* the data is typed into the fields.
That's what I was alluding to in my comment about requiring more
code. thatn driving the mode from a Switchboard Menu form.
The user does know if he wants to add or edit, but the design of
the form causes the user to defer communicating that information
to the program until after he's typed some other information.
If you stay in your single form approach, You could simply lock
all the controls on opening so that the user can only make his
selection of what to do, eg add, edit, delete. exit.
If he wants to add, set the form's recordsource and then unlock
the controls. If it's edit, popup a search form, get the data
then set the recordsource to reflect the user's parameters.
For Delete, I'd load a recordset with the data, then fire a
messagebox asking "Sure? Ok/Cancel" before deleting. .Then you
unbind the form again