Hello José (?)
It's just the same as changing the RecordSource of the main form. If you are changing it from code in the subform's object module:
Me.RecordSource = <new record source string>
or if you are changing it from the main form:
Me.[subform control name].Form.RecordSource = <new record source string>
Best wishes,
Graham Mandeno
[Access MVP since 1996]
From: MS_Access_Professionals@yahoogroups.com [mailto:MS_Access_Professionals@yahoogroups.com]
Sent: Friday, 27 November 2015 16:50
To: MS_Access_Professionals@yahoogroups.com
Subject: [MS_AccessPros] RecordSource
Does anybody has ever controlled the record source for a subform (secondary form inside of recordsource form "primary form") ?
I have controlled the record source for my primary form depending of the contents of a control field in my parameter file, my problema is to
: how (if posible) change the record source for my lined subform...
((( I do not know if i was clear in my exposition )))
thanks in advance
Posted by: "Graham Mandeno" <graham@mandeno.com>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (2) |
Tidak ada komentar:
Posting Komentar