MichealDon
Registered User.
- Local time
- Yesterday, 16:32
- Joined
- Nov 25, 2017
- Messages
- 29
Hi All,
I need some help with a update record on Subform by another Form.
My Database have 3 Forms:
+ MainForm : with record source from TableMain (Fields : ID_Case, Date, Name)
(Primary Key : ID_Case (data type :text)
+ SubForm : with record source from TableSub (Fields : ID_Case, ID, Details,...)
- Default View : "Continuous forms"
- Primary Key Field : ID (data type :auto number)
(Link Master Fields / Link Child Fields : ID_Case (link between Main/Sub forms))
+ UpdateForm is the same secord source to SubForm, but default view is "Single Form"
On the event, after update the control "Details" on SubForm for the current record, the form "UpdateForm" will be opened with the [ID] on the "UpdateForm" is same [ID] on "SubForm".
I tried to set the Property Sheet of UpdateForm with :
- Filter : [ID] = [Forms}![MainForm]![SubForm]![ID]
or [ID] = [Forms]![SubForm]![ID]
- Filter on load : yes
But I could not make it as my expectation.
I am sorry for my post whether that is duplicated to another post.
Thank you for your help.
MichealDon
I need some help with a update record on Subform by another Form.
My Database have 3 Forms:
+ MainForm : with record source from TableMain (Fields : ID_Case, Date, Name)
(Primary Key : ID_Case (data type :text)
+ SubForm : with record source from TableSub (Fields : ID_Case, ID, Details,...)
- Default View : "Continuous forms"
- Primary Key Field : ID (data type :auto number)
(Link Master Fields / Link Child Fields : ID_Case (link between Main/Sub forms))
+ UpdateForm is the same secord source to SubForm, but default view is "Single Form"
On the event, after update the control "Details" on SubForm for the current record, the form "UpdateForm" will be opened with the [ID] on the "UpdateForm" is same [ID] on "SubForm".
I tried to set the Property Sheet of UpdateForm with :
- Filter : [ID] = [Forms}![MainForm]![SubForm]![ID]
or [ID] = [Forms]![SubForm]![ID]
- Filter on load : yes
But I could not make it as my expectation.
I am sorry for my post whether that is duplicated to another post.
Thank you for your help.
MichealDon
Last edited: