M
Mary
Please help with Insert into statement or help update subform records based
on main form values.
Main form fields:
[oa_new].[ID]
[oa_new].[pcuser]
Subform fields to be updated:
[SLogSub].[EventID] = [oa_new].[ID
[SLogSub].[UID] = [oa_new].[pcuser]
I'm not sure if a subform is the best way to update the records. I have a
macro set up that adds one record for each System in the Systems table. The
SLogSub form displays that set of records where the EventID is null. When a
new event is added using the oa_new form, I want the EventID and UID fields
to be updated with the values for that new record for each record on SLogSub,
or use an insert into statement to update each record in the S_log table
where EventID is null.
Thank you in advance for any suggestions!
Mary
on main form values.
Main form fields:
[oa_new].[ID]
[oa_new].[pcuser]
Subform fields to be updated:
[SLogSub].[EventID] = [oa_new].[ID
[SLogSub].[UID] = [oa_new].[pcuser]
I'm not sure if a subform is the best way to update the records. I have a
macro set up that adds one record for each System in the Systems table. The
SLogSub form displays that set of records where the EventID is null. When a
new event is added using the oa_new form, I want the EventID and UID fields
to be updated with the values for that new record for each record on SLogSub,
or use an insert into statement to update each record in the S_log table
where EventID is null.
Thank you in advance for any suggestions!
Mary