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

Home Posts Topics Members FAQ

AccessXP Query question

Hi All,
In AccessXP I have a query and on the query grid in the Outcome(text
field) field I put the
criteria of

<>"ToArb"

when a record is open this field is null and when the record is closed
the users has a
combo box of values to select, one being 'ToArb'

When I load the query none of the null values will display so I have to
use

<>"ToArb" Or Is Null

I don't ever remember having to include 'Is Null' before in order to
get all records not equal to
'ToArb'. Do I have a setting someplace? or option set? that is causing
this.
thanks
bobh.

Dec 18 '06 #1
2 1253
You're right, bobh.

A criterion of:
<"ToArb"
will return records only where the field has a value, i.e. it does not
return Nulls.

It's always been like that. See:
# The Query Lost My Records! (Nulls)
at:
http://allenbrowne.com/casu-02.html

It's actually *very* important to understand how Nulls work, and why. There
are just a handful of issues where people constantly get tripped up. See:
Common errors with Null
at:
http://allenbrowne.com/casu-12.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"bobh" <vu******@isp.comwrote in message
news:11**********************@t46g2000cwa.googlegr oups.com...
Hi All,
In AccessXP I have a query and on the query grid in the Outcome(text
field) field I put the
criteria of

<>"ToArb"

when a record is open this field is null and when the record is closed
the users has a
combo box of values to select, one being 'ToArb'

When I load the query none of the null values will display so I have to
use

<>"ToArb" Or Is Null

I don't ever remember having to include 'Is Null' before in order to
get all records not equal to
'ToArb'. Do I have a setting someplace? or option set? that is causing
this.
thanks
bobh.

Dec 19 '06 #2
Hi Allen,
Thanks for your reply and links.......... Must have been a dream I
had cause I really do not remember ever having to include "Or Is Null"
in the query criteria to get nulls along with the rest of the data
before. But, today's a good day cause I learned something new :)
Happy Holidays to ya!
bobh.

On Dec 18, 11:09 pm, "Allen Browne" <AllenBro...@SeeSig.invalid>
wrote:
You're right,bobh.

A criterion of:
<"ToArb"
will return records only where the field has a value, i.e. it does not
return Nulls.

It's always been like that. See:
# The Query Lost My Records! (Nulls)
at:
http://allenbrowne.com/casu-02.html

It's actually *very* important to understand how Nulls work, and why. There
are just a handful of issues where people constantly get tripped up. See:
Common errors with Null
at:
http://allenbrowne.com/casu-12.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users -http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"bobh" <vulca...@isp.comwrote in messagenews:11**********************@t46g2000cwa.g ooglegroups.com...
Hi All,
In AccessXP I have a query and on the query grid in the Outcome(text
field) field I put the
criteria of
<>"ToArb"
when a record is open this field is null and when the record is closed
the users has a
combo box of values to select, one being 'ToArb'
When I load the query none of the null values will display so I have to
use
<>"ToArb" Or Is Null
I don't ever remember having to include 'Is Null' before in order to
get all records not equal to
'ToArb'. Do I have a setting someplace? or option set? that is causing
this.
thanks
bobh.- Hide quoted text -- Show quoted text -
Dec 19 '06 #3

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

Similar topics

0
by: Bill | last post by:
I created a very simple DB with several forms and tables in chinese version of Access XP running in Chinese Win XP. Now I try to run the same DB in English version of Access XP running in English...
3
by: Steve | last post by:
Recently due to viruses I had to wipe my harddrive and reload everything. Now, in AccessXP(2000 and XP mode) all new reports and all reports in existing databases open in Fit to Page rather than...
0
by: Bob Hynes | last post by:
Hi All, In one of my Access97 db applications I created a report which I output to a RichTextFormat file attach it to an Email and send it out, that has worked just fine for a couple of years now....
0
by: bobh | last post by:
Hi All, Is there a way to generate an AccessXP report and combine that with an external text file and then pass that to Outlook as one attachment? thanks bobh.
0
by: Jim M | last post by:
I have an appointment scheduling application with a number of queries that filter through a table with many thousand appointments and comes up with one days schedule. I need to start out by finding...
1
by: bobh | last post by:
Hi All, In AccessXP I was running a query when I got the following error "The Visual Basic For Applications Project in the Database is corrupt" I have been developing this datbase...
4
by: bobh | last post by:
Hi All, I have an AccessXP vba procedure which attaches a report to Groupwise and sends it to recipients. That line of code looks like this MailApplication.Recipients.Add strTo this...
2
by: bobh | last post by:
Hi All, Below is a function I want to use in AccessXP, it works as is but as the comment says I need to manually open Tools - References and check off 'Groupware Type Library' and I'm hoping...
5
by: bobh | last post by:
HI, I understand AccessXP file size has a 2 gig limit but I trying to understand the following I have a tab delimited data file that is 1.3 gigs big and I try to import it into an empty...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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
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: 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 ...

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.