J
jn
how can you carry forward the current value of a control
so that is is automatically entered for new records?
tried this code that found on
mvps.org/access/forms/frm0012.htm
const.cquote = """"
me!control.defaultvalue = cquote & me!control.value &
cquote
this code is attached to a command button so can
conditionally run it.
code does not work.
want to populate the new record and there are changes want
to be able to key over the info.
the example is one of an insurance company is assigned to
a patient's visit. when the patient returns, the insurance
company is the same and therefore want that info from the
previous visit to populate the new visit.
so that is is automatically entered for new records?
tried this code that found on
mvps.org/access/forms/frm0012.htm
const.cquote = """"
me!control.defaultvalue = cquote & me!control.value &
cquote
this code is attached to a command button so can
conditionally run it.
code does not work.
want to populate the new record and there are changes want
to be able to key over the info.
the example is one of an insurance company is assigned to
a patient's visit. when the patient returns, the insurance
company is the same and therefore want that info from the
previous visit to populate the new visit.