Friends,
I have a main form [frmEvents] with several cmd buttons that open linked forms. If there is criteria that matches the linked field in the linked form the corresponding records are displayed. If not the form opens with a blank detail area. There is no On NoData event for forms, so how can I cancel the openform command if there is no linking data? Its not a huge hassle, but I would like to avoid opening the target form if there is no data. Any help would be great.
I have a main form [frmEvents] with several cmd buttons that open linked forms. If there is criteria that matches the linked field in the linked form the corresponding records are displayed. If not the form opens with a blank detail area. There is no On NoData event for forms, so how can I cancel the openform command if there is no linking data? Its not a huge hassle, but I would like to avoid opening the target form if there is no data. Any help would be great.