Article View: borland.public.cppbuilder.database.ado
Article #4161Bound controls and server side cursors
From: Tony
Date: Wed, 06 Mar 2002 01:09
Date: Wed, 06 Mar 2002 01:09
9 lines
1430 bytes
1430 bytes
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:
<3c856b9d_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!195.64.68.27!newsgate.cistron.nl!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,a21c569361c07805,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-03-05 17:09:38 PST From: "Tony" <hse@hill-soft.com> Newsgroups: borland.public.cppbuilder.database.ado Subject: Bound controls and server side cursors Date: Tue, 5 Mar 2002 20:09:22 -0500 Lines: 11 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: <3c856b9d_2@dnews> X-Trace: dnews 1015376797 165.121.212.183 (5 Mar 2002 17:06:37 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!195.64.68.27!newsgate.cistron.nl!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews