I have three conditions to show a region.
1. Show IF the recordset is empty
2. Show IF the recordset IS NOT empty AND the value of 'email' = 1
This is what I got so far:
<% If Qnrpg1.EOF And Qnrpg1.BOF Then %>
<% If (Not Qnrpg1.EOF Or Not Qnrpg1.BOF) AND (Qnrpg1.Fields.Item("email").Value = "1")) Then %>
The second one gives me the following syntax error:
/bluedot/questionnaire/QnrPersonalInfo.asp, line 626
If (Qnrpg1.Fields.Item("email").Value = "1")) Then
so two things: First fix the syntax error, second put both conditions together in one.
I close the above with
<% End If %>