473,413 Members | 2,066 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,413 software developers and data experts.

ADP Query Designer Won't Display UPDATE/FROM properly?

dp
After looking and looking, it appears that Access ADPs graphic query
designer won't display:

update customer
set [cust_add3] = [customer notes].[note_type]
from customer, [customer notes]
where customer.[cust_code] = [customer notes].[cust_code];

It comes up with the "Query Definitions Differ" dialog box. Anybody know
anything about this? I can live this with I guess, however it was sure
sweet to be able to do this using the graphic designer in MDBs.

Can anyone explain why it doesn't represent them correctly? Is there any
hope to gain this functionality back in the future? I saw a reference in
another post basically saying that

-BrianDP

Nov 12 '05 #1
4 2235
Perhaps, the designer is expecting a different form of the UPDATE syntax. If
you build it via the designer, then look at the SQL, how does that differ from
the SQL you wrote by hand?

On Tue, 30 Dec 2003 18:01:38 GMT, "dp" <no****@mrspam.com> wrote:
After looking and looking, it appears that Access ADPs graphic query
designer won't display:

update customer
set [cust_add3] = [customer notes].[note_type]
from customer, [customer notes]
where customer.[cust_code] = [customer notes].[cust_code];

It comes up with the "Query Definitions Differ" dialog box. Anybody know
anything about this? I can live this with I guess, however it was sure
sweet to be able to do this using the graphic designer in MDBs.

Can anyone explain why it doesn't represent them correctly? Is there any
hope to gain this functionality back in the future? I saw a reference in
another post basically saying that

-BrianDP


Nov 12 '05 #2
dp
I've tried this- But here goes again. You start a stored procedure (I
assume this is how you do action queries since views and functions don't
seem to let you change the query type. I add my two tables, left one is the
table to be updated, and the right table is the table to get the data from.
As soon as I change the query type to Update it asks me which of the two
tables I'm going to update, I tell it the left one, then it removes the
right table, and removes many of the columns in the query designer.

If I create an update statement, using the from clause, with Query Analyzer,
the query executes perfectly, and updates the rows. If I try to paste that
SQL back into my ADP, then it gives me that "Query Definitions Differ"

I'm not really asking IF it can be done with the graphical query designer -
it has become obvious that you can't. My question deals more with the "why"
than the fact that it can't be done. This is the bread and butter of the
type of stuff I did with Access QBE grid against the Jet, and now it seems
I'm going to have to learn SQL syntax. Not that I'm complaining, I should
probably have started with SQL instead of this stupid QBE designer, it's
just that I have people on my development team that are very comfortable
with the QBE, and it's productive for them, even if it produces less than MS
SQL compliant code.

-b
..
"Steve Jorgensen" <no****@nospam.nospam> wrote in message
news:r4********************************@4ax.com...
Perhaps, the designer is expecting a different form of the UPDATE syntax. If you build it via the designer, then look at the SQL, how does that differ from the SQL you wrote by hand?

On Tue, 30 Dec 2003 18:01:38 GMT, "dp" <no****@mrspam.com> wrote:
After looking and looking, it appears that Access ADPs graphic query
designer won't display:

update customer
set [cust_add3] = [customer notes].[note_type]
from customer, [customer notes]
where customer.[cust_code] = [customer notes].[cust_code];

It comes up with the "Query Definitions Differ" dialog box. Anybody know
anything about this? I can live this with I guess, however it was sure
sweet to be able to do this using the graphic designer in MDBs.

Can anyone explain why it doesn't represent them correctly? Is there any
hope to gain this functionality back in the future? I saw a reference in
another post basically saying that

-BrianDP

Nov 12 '05 #3
On Tue, 30 Dec 2003 20:31:40 GMT, "dp" <no****@mrspam.com> wrote:
I've tried this- But here goes again. You start a stored procedure (I
assume this is how you do action queries since views and functions don't
seem to let you change the query type. I add my two tables, left one is the
table to be updated, and the right table is the table to get the data from.
As soon as I change the query type to Update it asks me which of the two
tables I'm going to update, I tell it the left one, then it removes the
right table, and removes many of the columns in the query designer.


Oops - yes, I remeber what you're talking about now. It was surprising to me
as well. As you already found out, the ADP query designer simply does not
handle update queries involving multiple tables. It also doesn't handle the
frequently useful CASE expressions.

Sorry I don't have anything more useful to offer on this.
Nov 12 '05 #4
dp
I wonder if anyone at Microsoft has any comments on this?

-b

"Steve Jorgensen" <no****@nospam.nospam> wrote in message
news:mt********************************@4ax.com...
On Tue, 30 Dec 2003 20:31:40 GMT, "dp" <no****@mrspam.com> wrote:
I've tried this- But here goes again. You start a stored procedure (I
assume this is how you do action queries since views and functions don't
seem to let you change the query type. I add my two tables, left one is thetable to be updated, and the right table is the table to get the data from.As soon as I change the query type to Update it asks me which of the two
tables I'm going to update, I tell it the left one, then it removes the
right table, and removes many of the columns in the query designer.
Oops - yes, I remeber what you're talking about now. It was surprising to

me as well. As you already found out, the ADP query designer simply does not
handle update queries involving multiple tables. It also doesn't handle the frequently useful CASE expressions.

Sorry I don't have anything more useful to offer on this.

Nov 12 '05 #5

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

Similar topics

3
by: Nick Truscott | last post by:
<? // scoreinput.php - input a match score when match selected from list ?> <html> <head> <basefont face="Verdana"> </head> <body>
12
by: strict9 | last post by:
Hello all, I'm writing several queries which need to do various string formating, including changing a phone number from (123) 456-7890. After some problem with data mismatches, I finally got it...
1
by: TXIce | last post by:
Not sure if this is the right group...but I'm going to try here anyways. I have a problem that is driving me absolutely crazy. I'm starting a new ASP.Net web application and I'm trying to add an...
11
by: hedges98 | last post by:
The thread title probably isn't very clear but I can't think how to word my problem properly. Here goes: I have a form that has textboxes for users to enter information for first appointments and...
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: 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
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...
0
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
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...

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.