﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <description><![CDATA[Comments for Sip From the Firehose: June 11, 2003 - Borland solutions for the application lifecycle - customers and industry analysts tell the story]]></description>
    <title><![CDATA[Comments for Sip From the Firehose: June 11, 2003 - Borland solutions for the application lifecycle - customers and industry analysts tell the story]]></title>
    <link>http://dn.codegear.com/article/30106</link>
    <!-- source: http://dn.codegear.com/article/30106/feed-->
    <dc:date>2008-12-04T12:16:58-08:00</dc:date>
    <item>
      <description><![CDATA[Hello to all. I have a problem and wanted to know if you could help me. I followed the indications to establish the relation "master/detail", but I have problems when trying to insert a registry in the "detail" table. I tried via console inserting registry in this table and I did not have any problem, but in the application it does not allow me to insert new registries, it outputs the following error: " Project Project1 raised exception class EDBClient with message ' Not corresponding masters record found.' ", I checked the database but there is not a problem of the relations, this is what the "detail" table contains:ccodigo | dcitem | dccantidad |dcdescripcion |dcmonto| dctotal---------+--------+------------+-------------------------------------+--------- +---------    1 |     1 |         1 | mangos                                        |   1000 |   1000    1 |     2 |         2 | peras                                            |   1000 |   2000    1 |     3 |         3 | cebollas                                       |   1000 |(3 rows)and this is the "master":ccodigo |cdescripcion         |creferencia |cfechacan | cdescuento-----------+-----------------------+--------------+--------------+------------- --        1 | computacion        |                  |                 |(1 row)I am working with a database of poststgres, and via webmin I made the insertions of registries that appear above in the "detail", and I did not have any problem.Acording to what I understand, when "clientdataset" of the master works with master/detail is the one that sends all the information. But when I try to do that, an error appears  saying that there is no such registry in the master with that I code, although the code already exists in the master.By the way, this is how I made the relation; I am using two table components, one "datasetprovider", two "cliendataset" and three "datasources".The first table opens the master, and I made a common connection, but in the "cliendataset", with the fields editor I added the new field that appears SQLTABLE2. The second datasource points at the master table, and the third datasource points at the second cliendataset; this client has the datasetfiel ClientDataSet1SQLTable2, and it points at the second datasource, to end, the second SQLTABLE2 has in the mastersouce and second datasource and in that way is that I can select the code in the masterfield property. There are no problems when I execute the application, I can modify the existing registries in the detail, but when introducing a one new is that it outputs an error.Acording to what I have read, the "clientdataset" of the "master" is the one that does the "applyupdates", and this sends all the information to be stored; anyway I am trying to introduce a "detail" of some registries that I inserted by hand, in the "master" as well as in the detail, to prove if it was any sort of problem with the database, but it is not. Then I don't know if it is some property which I must set to some particular value or some control that I need to add.If any of you can help me I would apreciate it.]]></description>
      <title><![CDATA[database problem]]></title>
      <managingEditor>
	 (Juan Castro)
</managingEditor>
      <guid isPermaLink="true">http://threads.codegear.com/threads/threads.exe/view?commentid=34851</guid>
      <dc:date>2003-06-25T19:55:12-07:00</dc:date>
      <pubDate>2003-06-25T19:55:12-07:00</pubDate>
      <source url="http://dn.codegear.com/article/30106/feed">Comments for Sip From the Firehose: June 11, 2003 - Borland solutions for the application lifecycle - customers and industry analysts tell the story</source>
    </item>
    <generator>Atom 1.0 XSLT Transform v1 (http://atom.geekhood.net)</generator>
  </channel>
</rss>