I am working with a couple of forms that are connected by a unique individual number (UNI). Individual Demographics, Order, Placement, Return. Specifically I need help with two forms. The Individual Demographics form lists basic demographic info about the individual the Order form lists order information (a query that joins my demographic and order tables based on the UNI).
For every order there is an order number (autogenerated by access). On the Individual Demographics form I would like to place a Retrieve Data button to open the Order form to the UNI selected in the combo box of the Individual Demographics form. I added a command button from the tool bar to open the Order form where the UNI’s are equal. This works fine for individuals that have an order but access opens the form to a blank where there is no current record. Is there a way I can code the current button or create a new button to only open the second form if there is actually a record and maybe display a popup to tell the user than there isn’t an order if they don’t have one.