vba - Requery a subform within a tab control -
i have several controls on form in addition tab control 3 separate pages. want subform(s) within each page requery when value selected on page above.
so purposes of explaining this..
i have event on_click()
on field called address_id
. it's meant take tha value of id in addition 2 other ids, cust_id
, location_id
, , requery subform order_sub
within orders
page.
i've named tab control pretty blandly, tabctl
.
so far i've tried every way imaginable reference subform, no avail.
forms!record_details!orders!orders_sub.requery
that doesn't work, assume should. gives?
steve
you not need reference tab control in code. reference , requery subform itself
forms.record_details.form.orders_sub.requery
Comments
Post a Comment