473,473 Members | 1,822 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How do I say NOT something?

I have an if and then statement with two conditions.

<% elseif refURL = "search_results" And rsSearch.EOF then %>

But now I want to say that the first condition is true and the second
condition is false.

How do I say the opposite of rsSearch.EOF?

I already know that

<% elseif refURL = "search_results" And NOT rsSearch.EOF then %>

doesn't work.

thanks.

crispy
Jul 19 '05 #1
3 1351
In article <i3********************************@4ax.com>, polaatx@REMOVE
says...
I have an if and then statement with two conditions.

<% elseif refURL = "search_results" And rsSearch.EOF then %>

But now I want to say that the first condition is true and the second
condition is false.

How do I say the opposite of rsSearch.EOF?

I already know that

<% elseif refURL = "search_results" And NOT rsSearch.EOF then %>

doesn't work.

thanks.

crispy


refURL = "search_results" and rsSearch.EOF = false then

--

Remove NOT from email address to reply. AntiSpam in action.
Jul 19 '05 #2

"crispy" <polaatx@REMOVE THIS PART yahoo.com> wrote in message
news:i3********************************@4ax.com...
I have an if and then statement with two conditions.

VB
refURL = "search_results" And NOT rsSearch.EOF
Java
refURL = "search_results" And !rsSearch.EOF
<% elseif refURL = "search_results" And rsSearch.EOF then %>

But now I want to say that the first condition is true and the second
condition is false.

How do I say the opposite of rsSearch.EOF?

I already know that

<% elseif refURL = "search_results" And NOT rsSearch.EOF then %>

doesn't work.

thanks.

crispy

Jul 19 '05 #3
Not rsSearch.EOF

or rsSearch.EOF = false

Technically

if rsSearch.EOF

means

if rsSearch.EOF = true

Most people do not use the explicit coding statement, which leads to
confusion. You can also use NOT to negate the statement.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
Author: ADO.NET and XML: ASP.NET on the Edge

************************************************** **************************
****
Think Outside the Box!
************************************************** **************************
****
"crispy" <polaatx@REMOVE THIS PART yahoo.com> wrote in message
news:i3********************************@4ax.com...
I have an if and then statement with two conditions.

<% elseif refURL = "search_results" And rsSearch.EOF then %>

But now I want to say that the first condition is true and the second
condition is false.

How do I say the opposite of rsSearch.EOF?

I already know that

<% elseif refURL = "search_results" And NOT rsSearch.EOF then %>

doesn't work.

thanks.

crispy

Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Martin Lucas-Smith | last post by:
I am trying to take a string and split it into a filename and a number where the number is what follows the *last* instance of a comma in that string. Split and explode won't work because if the...
8
by: Sam Sungshik Kong | last post by:
Hello! I use Python for ASP programming. I found something weird. Response.Write(Request("something")) It draws "None" when there's no value for something. Actually I expect "" instead of...
5
by: Jason | last post by:
Hello. I am trying to learn how operator overloading works so I wrote a simple class to help me practice. I understand the basic opertoar overload like + - / *, but when I try to overload more...
7
by: Zero | last post by:
If we have a structure like: struct something{ int *a; int b; }; We allocate mempry for a using malloc or calloc. The question is when we want to know the size of the structure,...
44
by: Tolga | last post by:
As far as I know, Perl is known as "there are many ways to do something" and Python is known as "there is only one way". Could you please explain this? How is this possible and is it *really* a...
5
by: Daniel Vukadinovic | last post by:
Can anyone explain me these things in C++? 1.What is :: used for like in the next case: if(.... { ... ::one;
7
by: cj | last post by:
I'm sure it's simple but it's new to me I can dim x as new something which defines x as a new instance of something in one statement. I can also dim x as something then later make x = new...
4
by: D.Hering | last post by:
When I see something like this prototype: SOMETHING int func( int x ); what is SOMETHING doing there? thanks very much, -Dieter
2
by: Andrew Backer | last post by:
I hope someone out there can help me with this, because I am stuck. My problem is that I have an instance of a generic class, but I don't know ahead of time what the type parameter used was. In...
5
by: Ayebaleet | last post by:
Hello everybody, I understand the basics of Java, but not such features as are helpful in an applet namely Listeners. I wanted to create a feature like this: A program would be displayed in...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.