🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #712

Re: auto incremental fileds

#712
From: Yuancai (Charlie) Ye
Date: Sun, 25 Feb 2001 13:34
27 lines
1780 bytes
Hi,
    What data accessing method do you use? If you use OLEDB technology, you
can get this problem solved quickly and easily. You just set the rowset
DBPROP_SERVERDATAONINSERT to true before opening a rowset. It will work for
all of Access, SQL Server and Oracle.

Yuancai (Charlie) Ye
See 28 OLEDB examples at http://www.geocities.com/oledbpro


"Cristian" <cgv@diit.cl> wrote in message news:3a89a013_1@dnews...
> Hi:
>     I write a simple client/server application that have one table to
> access. The table is MsAccess 2000 format, and have two fields:
> Field            Type
> Id             AutoIncremental
> Name       Text
>
>     When I insert a record in the client application, the Id dosen't get
the
> corresponding value. How can I use auto incremental fileds in
client/server
> architecture?
>
>
>
>
Technical Details
Message-ID: <3a9909b2_2@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!sn-xit-01!supernews.com!feeder.qis.net!ptdnetP!newsgate.ptd.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!bornews.borland.com!dnews!38.30.188.61
References: <3a89a013_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,e30ce00afcab7b4a
X-Google-Attributes: gidfcd2b,public
X-Google-ArrivalTime: 2001-02-25 05:44:04 PST
Reply-To: "Yuancai \(Charlie\) Ye" <yekerui@yahoo.com>
From: "Yuancai \(Charlie\) Ye" <yekerui@yahoo.com>
Newsgroups: borland.public.cppbuilder.database.multi-tier
References: <3a89a013_1@dnews>
Subject: Re: auto incremental fileds 
Date: Sun, 25 Feb 2001 08:34:03 -0500
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 38.30.188.61
Message-ID: <3a9909b2_2@dnews>
X-Trace: 25 Feb 2001 05:33:38 -0800, 38.30.188.61
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!sn-xit-01!supernews.com!feeder.qis.net!ptdnetP!newsgate.ptd.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!bornews.borland.com!dnews!38.30.188.61