S
Stephen Lynch
Cab I use a select statement as part of an if, then statement?
For example
If
SELECT Count(tblRetireHQImportTEMP.ErrorMsg) AS CountOfErrorMsg FROM
tblRetireHQImportTEMP HAVING (((Count(tblRetireHQImportTEMP.ErrorMsg)) Like
'Error*'))>0'"
Then
DoCmd.OpenForm
Else
Whatever!
I want to count the number of records with an error message and if greater
than zero open form1 otherwise form2..
Thanks
Steve
For example
If
SELECT Count(tblRetireHQImportTEMP.ErrorMsg) AS CountOfErrorMsg FROM
tblRetireHQImportTEMP HAVING (((Count(tblRetireHQImportTEMP.ErrorMsg)) Like
'Error*'))>0'"
Then
DoCmd.OpenForm
Else
Whatever!
I want to count the number of records with an error message and if greater
than zero open form1 otherwise form2..
Thanks
Steve