Guest_imported
New member
- Jan 1, 1970
- 0
I have a SQL statement, where it looks for a matching record on a given user value.
How can i implement a If statement, if no matching records where found, to notify user that there is no records.
my code.
reSet.Open(dbOpenDynaset,SQL);
//Tried
if (reSet.IsEOF())
and
if (reSet == NULL)
{
AfxMessageBox(No record Found);
}
Did not work, can someone pls help me.
thanks in advance.
How can i implement a If statement, if no matching records where found, to notify user that there is no records.
my code.
reSet.Open(dbOpenDynaset,SQL);
//Tried
if (reSet.IsEOF())
and
if (reSet == NULL)
{
AfxMessageBox(No record Found);
}
Did not work, can someone pls help me.
thanks in advance.