?
Solved

TClientDataSet master/detail error Column unknown

Posted on 2005-03-06
7
Medium Priority
?
1,360 Views
Last Modified: 2012-05-05
Hi all,

I'm receive a Column unknown error after set a master/detail betwen two clientdatasets:
MasterSource = dsMaster
MasterFields = fdMaster
IndexFieldNames = fdDetail
Looks to be quotes error or something else.

---------------------------
Error
---------------------------
SQL Server Error: Column unknown
NM_ITEM_GRUPO.
---------------------------
OK  
---------------------------

---------------------------
Debugger Exception Notification
---------------------------
Project Proflex.exe raised exception class EDatabaseError with message 'SQL Server Error: Column unknown
NM_ITEM_GRUPO'. Process stopped. Use Step or Run to continue.
---------------------------
OK   Help  
---------------------------

I'm using D7 IB6.0

tanks
Paulo
0
Comment
Question by:paulo_psa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 17

Expert Comment

by:TheRealLoki
ID: 13472013
can we see the sql statement?
0
 

Author Comment

by:paulo_psa
ID: 13473442
Sure,

select * from "item_structure" order by "ord_item", node, master, detail
0
 
LVL 15

Expert Comment

by:mikelittlewood
ID: 13475088
So I presume the table item_structure actually contains the columns ord_item, node, master, detail ..
Or are you missing a link to another table which one of these columns is supposed to be from?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 17

Expert Comment

by:TheRealLoki
ID: 13479113
any idea what table the NM_ITEM_GRUPO is in?
0
 

Author Comment

by:paulo_psa
ID: 13487295
Hi,


nm_item_grupo is the link column and it is in both the master and detail table.

ord_item, node, master, detail are only for order by, there are others fields on that table.

It's really a very strange error, looks to be a bug.

0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 14622045
PAQed with points refunded (250)

modulo
Community Support Moderator
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

777 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