🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.database
1 messages
1 total messages Started by Michael Sørensen Sun, 03 Jan 2010 23:03
Autoinc field in a clientdataset
#185
Author: Michael Sørensen
Date: Sun, 03 Jan 2010 23:03
24 lines
1651 bytes
Hi.

I work with Delphi 2007 and Firebird.

In my application I have placed a clientdataset to buffer my data from 
the firebird database.

In my Firebird table i have a primary key field "ID" as the type integer.

The field "ID" is invisible in the applications grid. It's only a value 
to identify the record and has to be set automaticly.

But when I use the clientdataset I get an exception "Field ID must not 
be null".

I have tried to set a generator in Frebird. It works when I not use a 
clientdataset but only if i just have a query and an updatesql.

Is there a possible way to set an autoincrement field automaticly when 
using clientdataset.

Best egards
Michael
Denmark
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