 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Alex Guest
|
Posted: Thu Jun 22, 2006 7:09 pm Post subject: TDataset and DataSetProducer problem with SQL stmnt |
|
|
Hello
I have an SQL statement:
SELECT tblProducts.Name, tblProducts.Description,
tblProducts.SuggestedUsage, tblProducts.PartNumber,
tblProducts.CategoryID, tblProducts.SubCategoryID,
tblProducts.VendorID, tblProducts.VendorPrice,
tblProducts.VendorPartNumber, tblProducts.Precaution,
tblProductsDetail.Size, tblProductsDetail.Price,
tblProductsDetail.Type, tblProductsDetail.QtyOnHand,
tblProductsDetail.IngredientName, tblProductsDetail.IngredientAmount,
tblProductsDetail.AmountType, tblProductsDetail.SuperIngredient,
tblProductsItemDetail.ProductID, tblProductsItemDetail.Size,
tblProductsItemDetail.Price, tblProductsItemDetail.Type
FROM (tblProducts INNER JOIN tblProductsDetail ON tblProducts.ProductID
= tblProductsDetail.ProductID) INNER JOIN tblProductsItemDetail ON
tblProducts.ProductID = tblProductsItemDetail.ProductID;
When I insert this into the ADODataset with a connection and set
active=true
I get a messagebox "Unspecified error"
If I change the statement to a simpler one like "Select * from
tblProducts"
it works and the TDatasetProducer works also
I am guessing its a problem with ADO or something ..
any suggestions on this? |
|
| Back to top |
|
 |
Riki Wiki Guest
|
Posted: Fri Jun 23, 2006 2:30 pm Post subject: Re: TDataset and DataSetProducer problem with SQL stmnt |
|
|
On 22 Jun 2006 07:09:59 -0700, Alex wrote:
| Quote: | any suggestions on this?
|
Hoi Alex
You need to repost your message on the Borland news server to make
everybody see it and possibly answer your message.
How to post to Delphi newsgroups:
<http://delphi.wikia.com/wiki/Delphi_Newsgroups> |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|