Subject | Re: [IBO] Problem with records disappear in dbgrid(detail db). |
---|---|
Author | speedyc65 |
Post date | 2003-11-06T13:18:52Z |
--- In IBObjects@yahoogroups.com, Helen Borrie <helebor@t...> wrote:
last one is a generator. The generator is listed in the GenatorLinks
in the TIBODatabase.
server and same work fine there too. The client has no knowledge of
the server side I understand but wouldn't that be with exception
when the client made the change itself ?
Peter
> At 09:56 PM 5/11/2003 +0000, you wrote:saying
>
> >Sorry I wrote KeyFields but I meant KeyLinks. So what you are
> >that I have done it right in KeyLinks then, but why does the linesI'm using a DBGrid so I don't know what it uses.
> >disappears after Post and then reappears when you do a Next /
> >Previous ?
>
> Some more questions --
> Are you calling Insert or Append?
> Where do the PK values for your new rows come from? Does the userenter
> them, or are they generated/calculated on the server?Two values come from OnNewRecord on the detail(TIBOTable) and the
>
last one is a generator. The generator is listed in the GenatorLinks
in the TIBODatabase.
> >I didnt start to fiddle with KeyLinks until after I got thisclient's view
> >problem. I know there isnt any fault in the buildup of the
> >database/PK because the same config works in BDE/Paradox.
>
> Forget what worked in Paradox. This is Firebird and it's
> client/server. Here we have transactions, which isolate your
> of database state totally at all points up to Post. The clienthas *no
> knowledge* of what happens on the server.horrible feeling
>
> So let's get more info about those key segments. I have a
> that you are still using Paradox keys to implement master/detail...Well I havent work much with Firebird but I have with ADO/MS SQL
>
> Helen
server and same work fine there too. The client has no knowledge of
the server side I understand but wouldn't that be with exception
when the client made the change itself ?
Peter