Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread autoinc
Wed, Aug 16 2006 6:05 PMPermanent Link

Jerry Blumenthal
If I have a record with an autoinc field, and I want to change the value
of that field, is there a way?

Jerry
Wed, Aug 16 2006 6:38 PMPermanent Link

"Donat Hebert \(Worldsoft\)"
In version 4, you can simply set it to the new value (assuming it isn't a
duplicate)  If you set it to null, it will set to next number as an autoinc.
hth.  Donat.


"Jerry Blumenthal" <jerry@blumenthalsoftware.com> wrote in message
news:DDFEFEE1-732A-406F-9920-6676261ACD4E@news.elevatesoft.com...
> If I have a record with an autoinc field, and I want to change the value
> of that field, is there a way?
>
> Jerry

Thu, Aug 17 2006 3:21 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Jerry


From memory of V3 something like

table.AutoInc := False;
change
table.AutoInc := True;

Not sure about V2, and the property is probably not AutoInc but I seem to recall it starting with Auto

Roy Lambert
Image