🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #4162

Re: Bound controls and server side cursors

#4162
From: Tony
Date: Wed, 06 Mar 2002 12:27
29 lines
2077 bytes
PS: More Info

The table I am having trouble with is the detail in a master/detail
(Client/Person) relationship. The Person table has the Client table as a
DataSource. The query is

Select Person.*
From Person
Where ClientID = :ID
Order by LastName

Using a client cursor the Person.ID and Person.ClientID fields get filled
automatically when an insert is done. With a server cursor they don't seem
to.


"Tony" <hse@hill-soft.com> wrote in message news:3c856b9d_2@dnews...
> I need to change a typical data form (name, address, phone etc.)  from a
> client side cursor to server side. The form uses bound controls and a
> TDBNavigator. The form seems to work OK with server side for Prior record,
> Next record and Update record but on Insert record it throws the error
> "Field ID cannot be modified". The ID field is an auto increment field.
>
> Do I have to use all action queries and unbound controls to do this with a
> server side cursor, or is it possible to use bound controls? If so, what
is
> a good technique for adding records?
>
>
Technical Details
Message-ID: <3c860a71_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!62.24.128.9.MISMATCH!news-1.opaltelecom.net!newsfeed.icl.net!netnews.com!xfer02.netnews.com!newsfeed1.cidera.com!Cidera!newsfeed.media.kyoto-u.ac.jp!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3c856b9d_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,a21c569361c07805
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-03-06 04:30:04 PST
From: "Tony" <hse@hill-soft.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3c856b9d_2@dnews>
Subject: Re: Bound controls and server side cursors
Date: Wed, 6 Mar 2002 07:27:00 -0500
Lines: 31
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 165.121.212.183
Message-ID: <3c860a71_1@dnews>
X-Trace: dnews 1015417457 165.121.212.183 (6 Mar 2002 04:24:17 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!62.24.128.9.MISMATCH!news-1.opaltelecom.net!newsfeed.icl.net!netnews.com!xfer02.netnews.com!newsfeed1.cidera.com!Cidera!newsfeed.media.kyoto-u.ac.jp!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews