AOB
Registered User.
- Local time
- Today, 09:28
- Joined
- Sep 26, 2012
- Messages
- 617
I have a form with a continuous subform. The subform uses a local staging table as its record source; that staging table is cleared and refilled when the main form is loaded such that the staging table only contains the records specific to the record for the main form. The idea being that I can allow users to make changes directly in the subform (specifically, dates in textboxes) and those changes are only reflected in the local staging table, and then from the main form they can save changes and I have another process that effectively merges the staging table back to the "live" table (i.e. delete anything that's been deleted, update anything that's been updated, insert anything that's new)
For some weird reason, though, I can't edit the dates in the subform? I can click into the textbox and see the date picker, select a different date, but it won't update the value in the staging table? I can't trap any of the events for the text box (Change / BeforeUpdate / AfterUpdate) because they never fire?
The Record Source for the subform is the staging table itself (not a complex query with joins, making it non-updateable - which was the motivation for binding the subform directly to the staging table in the first place). Recordset Type is Snapshot. Allow Edits set to Yes. The textbox holding the date is Enabled = Yes / Locked = No.
Can't figure out why it won't allow the change? Any suggestions?
For some weird reason, though, I can't edit the dates in the subform? I can click into the textbox and see the date picker, select a different date, but it won't update the value in the staging table? I can't trap any of the events for the text box (Change / BeforeUpdate / AfterUpdate) because they never fire?
The Record Source for the subform is the staging table itself (not a complex query with joins, making it non-updateable - which was the motivation for binding the subform directly to the staging table in the first place). Recordset Type is Snapshot. Allow Edits set to Yes. The textbox holding the date is Enabled = Yes / Locked = No.
Can't figure out why it won't allow the change? Any suggestions?