🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.multi-tier
2 messages
2 total messages Started by Cristian Tue, 13 Feb 2001 22:00
auto incremental fileds
#702
Author: Cristian
Date: Tue, 13 Feb 2001 22:00
10 lines
1189 bytes
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?
Re: auto incremental fileds
#712
Author: 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?
>
>
>
>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads