G
Guest
I have a sub form with 8 cmdButtons on it that when clicked open of a form. I
have placed a rectangle that surounds the buttions of each rectange and made
the borders of the rectangles red. Now, what I want to do is when the main
form is opend on a specific patient visit, I want to check the contents of
the query that populates the forms to see if there are any records in that
query. If there are not records in any of the query then all rectangles would
be set to visible = False. If one or more of the queries have data, then the
rectangles (with there red borders) would be set to visible = True. This will
help the user when glancing at the form to know which forms (procedure) has
data behind them.
I believe using Case Select is the appropriate method, but I'm not sure how
to check the contents of the queries without opening the forms. Could
somebody help me with this?
Thanks, Rob
have placed a rectangle that surounds the buttions of each rectange and made
the borders of the rectangles red. Now, what I want to do is when the main
form is opend on a specific patient visit, I want to check the contents of
the query that populates the forms to see if there are any records in that
query. If there are not records in any of the query then all rectangles would
be set to visible = False. If one or more of the queries have data, then the
rectangles (with there red borders) would be set to visible = True. This will
help the user when glancing at the form to know which forms (procedure) has
data behind them.
I believe using Case Select is the appropriate method, but I'm not sure how
to check the contents of the queries without opening the forms. Could
somebody help me with this?
Thanks, Rob