Hi all,
I have the following code:
The above is in a query called qry_backisno
There is a form called frm_backisno which recordsource is qry_backisno
This is called from vba code as
Now I only want the form to open is the query actually returns a value and not display a form with no records on it.
Is this possible?
Thanks
I have the following code:
Code:
SELECT absent.id, absent.Name, absent.Days, absent.notes, absent.comments, absent.backtowork, absent.certification
FROM absent WHERE (((absent.Name)=[forms]!frm_homepage.combo136.value) AND absent.backtowork = "No");
There is a form called frm_backisno which recordsource is qry_backisno
This is called from vba code as
Code:
DoCmd.OpenForm ("frm_backisno")
Now I only want the form to open is the query actually returns a value and not display a form with no records on it.
Is this possible?
Thanks