Advertisement

07.08.2008 at 03:52AM PDT, ID: 23546115
[x]
Attachment Details

Trouble with Else If Statement

Asked by TCCIRM in Active Server Pages (ASP)

Tags: asp, ie 6+

I need an if else statement based on two variables.  (1) Based on time and (2) based on whether a recordset is empty.  This is what I thought would work:

<% If MilitaryTime > 0635 And rsDaily.EOF Or rsDaily.BOF Then %>
Blaa Blaa
<% End If %>

Both parts work great when used by separately but I can't get them to work together.  What am I missing...
Start Free Trial
[+][-]07.08.2008 at 04:06AM PDT, ID: 21952547

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Active Server Pages (ASP)
Tags: asp, ie 6+
Sign Up Now!
Solution Provided By: darkmooink
Participating Experts: 2
Solution Grade: A
 
 
[+][-]07.08.2008 at 04:09AM PDT, ID: 21952570

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 04:13AM PDT, ID: 21952589

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 04:18AM PDT, ID: 21952607

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 04:25AM PDT, ID: 21952633

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 04:52AM PDT, ID: 21952778

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628