error 0x80040E14 when using Data Shaping

Posted on 2004-04-02
Last Modified: 2008-02-01
Newbe to ASP and DataShaping Help!

Trying to do the following:

strSQL = "SHAPE { SELECT ArtId, ArtName, ArtDescr FROM Art } APPEND ({ SELECT AttribId, AttribContentId FROM ArtAttribute } AS AttCont RELATE ArtId TO ArtId )"

Getting the following error message:

MSDataShape (0x80040E14)
Kolumnen (ArtId) finns inte i korrekt raduppsättning.
/articles/articles.asp, line 27

Swedish and means someting like 'The colomn (ArtId) does not exist in the correct table'.

I've checked over and over again and I can not see any misspellings etc......
Question by:dojan
LVL 12

Accepted Solution

dfiala13 earned 250 total points
ID: 10745672
You don't have an ArtiD column in ArtAttribute defined.

Try this...

strSQL = "SHAPE { SELECT ArtId, ArtName, ArtDescr FROM Art } APPEND ({ SELECT ArtID, AttribId, AttribContentId FROM ArtAttribute } AS AttCont RELATE ArtId TO ArtId )"

Author Comment

ID: 10747666
Thanks dfiala13! It did the trick.

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now