473,379 Members | 1,367 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

Just converted to A2002, querries not working - please help

Hello:
Thanks for reading this. We just converted to A2002 and some of my
querries have stopped working and I can't figure out why.

Basically, anything with a "NOT" is not working.

For example:

select * from b321bl where stdverifyby <> "demonstration"

does not work. The records with "demonstration" are still there.

Also tried....

select * from b321bl where stdverifyby NOT like "demo*"

dosen't work either.

I also tried.....
<> 'demonstration'
NOT = 'demonstration'
NOT LIKE 'demo*'

So, I tried it with double " and single '

This only happened when we switched to A2002. Before that, the querries
were fine.

Has something changed, or were my original querries incorrectly
structured and A2002 just dosen't like them?

Thanks for any advise.

PS: stdverifyby is a "varchar 50"

Richard Hollingsworth

Nov 12 '05 #1
1 1346
Nevermind, I found the problem. It wasn't the text delimiters that were
the problem.

I was actually tyring to do 2 comparrisons using OR and that was not
working. I had to change the OR to AND (don't understand why) and it
worked.

Go fugure.

Original SQL:

SELECT *
FROM B321BL
WHERE (NOT (STDVerifyBy = 'demonstration')) OR (NOT (STDVerifyBy =
'analysis'))

changed to:

SELECT *
FROM B321BL
WHERE (NOT (STDVerifyBy = 'demonstration')) AND (NOT (STDVerifyBy =
'analysis'))

and it worked fine.

Thanks,
Richard


Nov 12 '05 #2

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

Similar topics

2
by: Roald Oines | last post by:
Hi, I'm working on converting several of my Access 97 databases to Access 2002 format (the company's changing from NT 4 to XP and updating Office at the same time), and this one has me stumped....
6
by: Rick Brandt | last post by:
I am getting and setting registry values successfully with two functions from the Getz/Litwin/Gilbert book: adh_accRegGetVal and adh_accRegWriteVal. I have two cases now where these do not work...
6
by: Samuel R. Neff | last post by:
I'm trying to put icons in the header of my ListView. All the .net posts I found refer to an example on thecodeproject which is no longer there (part of commercial package now). I converted the...
3
by: robert d via AccessMonster.com | last post by:
I develop my application on my desktop which has Access 2002 (default file format of A2K). My client uses A2K so I have installed A2K on my laptop. Recently when developing in A2002 my front end...
8
by: rdemyan via AccessMonster.com | last post by:
I've converted my application from A2K format to A2003 format. I tried to follow Allen Browne's protocol in getting my app into A2003 (although I was unable to find informtion on the conversion...
1
by: rishabhshrivastava | last post by:
Hello All, I converted a Web Application from ASP.NET 1.1 to 2.0 using the Migration Add-Ins and I have been working on this converted version for 2 months now. Today I realized that if I...
6
by: tombsy | last post by:
Hello Group. I work for a company who is about to embark on a long awaited Office upgrade from Office 97 to Office XP. Office XP comes with Access 2002. I am an accomplished Access developer...
0
by: Tom | last post by:
All: I posted on this yesterday, but for whatever reason, Google isn't dealing nicely with it... Anyway, I need to install A2000 on a computer that already has A2002 so I can create A2000 mde...
17
by: mmaserati | last post by:
I need to make multiple queries and the second and third rely on data retrieved from the first one. The 1st one finds a user in a table. If the user is there then we go on. However if they are not...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.