Brilliant! Thanks for the help worked perfectly.
Alex Elger Micronage Ltd [EMAIL PROTECTED] -----Original Message----- From: Marco de Groot [mailto:[EMAIL PROTECTED]] Sent: 20 August 2002 11:03 AM To: ActiveServerPages Subject: RE: The IF Statement mmm... you mean <% If blnGotRows = True Then %> <% ' Loop around filling the table For intCounter = 0 to intMaxCount %> <option value="<%Response.Write strRecordArray(0,intCounter)%>"> <%Response.Write strRecordArray(0,intCounter)%> </option> <% Next%> <% Else %> not true <% End If %> HTH Marco -----Original Message----- From: Alex Elger [mailto:[EMAIL PROTECTED]] Sent: dinsdag 20 augustus 2002 11:56 To: ActiveServerPages Subject: The IF Statement Does anyone know how to do an if on a large piece of asp code? for example i need to be able to write this: start <% ' Loop around filling the table For intCounter = 0 to intMaxCount %> <option value="<%Response.Write strRecordArray(0,intCounter)%>"> <%Response.Write strRecordArray(0,intCounter)%> </option> <% Next%> end if the blnGotRows is True. Thanks Alex Elger --- You are currently subscribed to activeserverpages as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by the latest anti-virus software for the presence of computer viruses. www.motiv.nl ********************************************************************** --- You are currently subscribed to activeserverpages as: [EMAIL PROTECTED] To unsubscribe send a blank email to %%email.unsub%% --- You are currently subscribed to activeserverpages as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED]
