Jarichardusa
New member
- Local time
- Today, 15:08
- Joined
- May 23, 2020
- Messages
- 19
I have a form with a subform. Both are built off of the same query. Search box at top finds customer, parent form displace all the customer data, subform displays order data. Subform is set to visible false until button is pressed on parent from to add a new order. When subform becomes visible after pressing this button it is pre-populated with the data from whatever the last order was. I can add a button on the subform for go to to new record to add a new one, but that’s just too many steps. I’d like to knowing there is a way to have my button which makes the subform visible also automatically set the subform data to a new record. I know if it was opening a new form I could simply do it on the on load event, but being subform that’s already there, just invisible, it’s not actually loading, so I’m not sure how to do this. If I try to just blank those boxes out to add new data it just overwrites the old data and doesn’t actually create a new order. Thank you.