D
David
Hello,
I have a subform that I'd like to do "wholesale" updates to records that are
in that subform. The subform is a datasheet, the source of which is a query
of two joined tables.
The main form has a user selectable filtering function which drives which
records appear in the subform. The main form also has a drop down box, which
asks the user the value they want to update a certain field to.
I'd like to use the recordset of the subform as the basis for this update.
As the datasheet records are based on a query, with primary and secondary
table, the field to be updated MAY or MAY NOT already have a record in it.
Question: How can I use the visible recordsource as the dataset to be
updated, and how can I add (where there is no record) or update (where there
is a record) the secondary table with the user selectable update process?
Thanks!
I have a subform that I'd like to do "wholesale" updates to records that are
in that subform. The subform is a datasheet, the source of which is a query
of two joined tables.
The main form has a user selectable filtering function which drives which
records appear in the subform. The main form also has a drop down box, which
asks the user the value they want to update a certain field to.
I'd like to use the recordset of the subform as the basis for this update.
As the datasheet records are based on a query, with primary and secondary
table, the field to be updated MAY or MAY NOT already have a record in it.
Question: How can I use the visible recordsource as the dataset to be
updated, and how can I add (where there is no record) or update (where there
is a record) the secondary table with the user selectable update process?
Thanks!