Yeah, you'll need to change the SourceObject property of the subform. I cover that in the Extended Cut for Vehicle Maintenance and in Access Developer 21.
To keep it simple, you COULD make multiple subforms and just show/hide what you need/don't need using the Visible property. But it's not much harder to swap the SourceObject out.
Abdulhadi QasemOP
@Reply 4 years ago
can i open the whole form ? so many forms with different subforms ? because the main form share the same data
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Access Expert 12.