S
Sarah
Please could someone suggest a way of using VBA code to
delete a record from a table containing just one record
whilst the table is being used by an open form?
Basically I would like to replace the existing record with
a new record, either by deleting and appending to the
table or by updating the table as part of a routine.
The first thing I tried was using VBA code to run an
update query on the table in question, however because the
table is already open (as this is what the form uses for
it's source data) this would not work. I'd be really
grateful if anyone could suggest a way around this
problem, e.g. is it possible to lock or affect the
properties of a table such that it can be edited whilst
being used as the source for a form?
Many thanks.
delete a record from a table containing just one record
whilst the table is being used by an open form?
Basically I would like to replace the existing record with
a new record, either by deleting and appending to the
table or by updating the table as part of a routine.
The first thing I tried was using VBA code to run an
update query on the table in question, however because the
table is already open (as this is what the form uses for
it's source data) this would not work. I'd be really
grateful if anyone could suggest a way around this
problem, e.g. is it possible to lock or affect the
properties of a table such that it can be edited whilst
being used as the source for a form?
Many thanks.