Hi there
I have the below code snippet and it does not wan to seem to execute properly, I have run an SQL script against a databse and by using invalid dates in the script I returned a null recordset (through TOAD I get "no rows returned" the below code show redisplay the input form and an error message but it seems only to call the CreateReport sub routine
if objTaxWeb.EOF and objTaxWeb.BOF then
strNote = 1 'if null recordset returned
call CreateForm
else
call CreateReport 'call the display function
end if
What am I doing wrong?????
Bastien
I have the below code snippet and it does not wan to seem to execute properly, I have run an SQL script against a databse and by using invalid dates in the script I returned a null recordset (through TOAD I get "no rows returned" the below code show redisplay the input form and an error message but it seems only to call the CreateReport sub routine
if objTaxWeb.EOF and objTaxWeb.BOF then
strNote = 1 'if null recordset returned
call CreateForm
else
call CreateReport 'call the display function
end if
What am I doing wrong?????
Bastien