473,382 Members | 1,437 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,382 software developers and data experts.

Urgent Help with a query!!!!!!

I am running the following query and unable to get it worked!! Anyone can tell me why is it not wrking

qur = "SELECT [Temp01.campaign] & [Temp01.AdGroup] & [Temp01.Keyword] AS Expr1 FROM temp01 where expr1 not in (SELECT [Campaigns.campaign] & [Campaigns.AdGroup] & [Campaigns.Keyword] as expr2 from campaigns)"


The error code is 2147217904

Thanks,
Vikas
Jun 18 '07 #1
1 1002
kepston
97 Expert
Access doesn't allow you to reference an expression alias locally.
Try substituting expr1 in your WHERE clause for [Temp01.campaign] & [Temp01.AdGroup] & [Temp01.Keyword]
Jun 18 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: istorehere | last post by:
Hi there, I have created a subform with query. but it doesnt allows me to add/edit records. i have two tables. Items : Item_code,ItemDesc,Reference Order : Orderno,Item_code,Qty
0
by: Bernie | last post by:
Hi All, I have a weird problem with using flash on aspx pages. It goes like this: I have some links with query string parameters in the page. The same links appear as regular "a href" and also...
3
by: Adrian | last post by:
Hi is it possible (if so how) to do a redirect / url forward with query string i.e. www.test1.com?pram1=a?pram2=b is forwarded to www.test2.com?pram1=a?pram2=b
1
by: Aaron West | last post by:
Try this script to see what queries are taking over a second. To get some real output, you need a long-running query. Here's one (estimated to take over an hour): PRINT GETDATE() select...
2
by: kofa | last post by:
Hi All, we're new to DB2 (using Express-C on Windows). We'd like to monitor the SQL that Hibernate (a Java ORM) generates, along with query params. It was quite simple to do so with MySQL, but...
7
by: rAinDeEr | last post by:
Hi, I get the following error in the query SQL0415N The data types of corresponding columns are not compatible in a fullselect that includes a set operator or in the multiple rows of a...
1
by: kev | last post by:
Hi folks, Firstly, Happy New Year to all. I have some problems with query pls help.I have 4 tables namely Equipment,Safety1,Safety2,Safety3. some of the fileds in each table is shown below....
2
manoj9849967222
by: manoj9849967222 | last post by:
Hi All I have a problem with query. I have designed a simple query which sould give me itemwise total qty sales during a given period. the fields in the query are startdate,...
0
by: viki1967 | last post by:
Problem with query ASP and MySQL Hi there. I have this fields in the tbl (mysql) : - ID (unique) - user_name (text) - Date (yyyy-mm-dd) - Description (text - case A or B or C -)
3
by: lenygold via DBMonster.com | last post by:
One column table: ALL_SUM -------------------------------------------------------------------- 73237155+73240240+73243230+73249335 73237155+73240240+73246345 ...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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: 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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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.