P
P
I am trying to automatically set the value of a text box within a subform
when the user creates a new record in that subform. I want the value to be
pulled from
another form (the main form which the subform is linked to) in the database,
but I do not want the value to ever be updated.
In other words, I want to just copy the value from the main from to the test
box on the subform-- once and only once. Example:
MainForm: field="Name" (field is a combo box)
Subform: field="NameAtTimeRecordWasCreated" (field is a text box)
The "Name" field on MainForm will continue to be updated-- records will be
written over, not added or deleted.
As new records are added to Subform, I want the
"NameAtTimeRecordWasCreated" text box to be populated with the value in the
"Name" field on MainForm at that particular moment in time.
I want the "NameAtTimeRecordWasCreated" text box entry to never change, even
when the "Name" field in MainForm is altered.
Is this possible?
when the user creates a new record in that subform. I want the value to be
pulled from
another form (the main form which the subform is linked to) in the database,
but I do not want the value to ever be updated.
In other words, I want to just copy the value from the main from to the test
box on the subform-- once and only once. Example:
MainForm: field="Name" (field is a combo box)
Subform: field="NameAtTimeRecordWasCreated" (field is a text box)
The "Name" field on MainForm will continue to be updated-- records will be
written over, not added or deleted.
As new records are added to Subform, I want the
"NameAtTimeRecordWasCreated" text box to be populated with the value in the
"Name" field on MainForm at that particular moment in time.
I want the "NameAtTimeRecordWasCreated" text box entry to never change, even
when the "Name" field in MainForm is altered.
Is this possible?