V
vufltrn
I have a form which is used to review and enter new data. On that form
is an option group that shows if a certain procedure has been
performed. I am trying to get this option group to show if the
procedure has been performed, and it also be updatable.
LenProc1 is a value in the query the form is based on which looks at a
table (tblProcedure1), and if there is data it returns a value of '1',
otherwise '2'. On my form, I have an option group that I would like to
show this value, but be able to click the other option. In the After
Update of the option group, if the value is '1', it opens another form
to enter data on tblProcedure1; if the value is '2', it runs an SQL to
delete the data from tblProcedure1.
If I set the control source of the option group to LenProc1, I cannot
update the option group. If I leave it unbound, and put the default
value as =LenProc1, it works on the first record, but when the record
moves to the next record it doesn't update.
Is there a way to accomplish both of these?
Thanks for any help possible
is an option group that shows if a certain procedure has been
performed. I am trying to get this option group to show if the
procedure has been performed, and it also be updatable.
LenProc1 is a value in the query the form is based on which looks at a
table (tblProcedure1), and if there is data it returns a value of '1',
otherwise '2'. On my form, I have an option group that I would like to
show this value, but be able to click the other option. In the After
Update of the option group, if the value is '1', it opens another form
to enter data on tblProcedure1; if the value is '2', it runs an SQL to
delete the data from tblProcedure1.
If I set the control source of the option group to LenProc1, I cannot
update the option group. If I leave it unbound, and put the default
value as =LenProc1, it works on the first record, but when the record
moves to the next record it doesn't update.
Is there a way to accomplish both of these?
Thanks for any help possible