I have a form of venues for an events company database. In this form there is a subform of venue types which could include hotel, bar, restaurant etc
I would like to use VBA code to have the form display certain fields and tab pages depending on what's in this subform
E.g. If it was a textbox, I could say: If [VenueTypes subform].VenType = "Hotel" then PageHotel.Visible = true
What is the equivalent of this to search a subform?
Many many thanks!