BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Paradox AutoInc field - retrieve after post

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Desktop)
View previous topic :: View next topic  
Author Message
John
Guest





PostPosted: Wed May 12, 2004 5:10 pm    Post subject: Paradox AutoInc field - retrieve after post Reply with quote



Is the value for an autoinc field immediately available after a dataset post
or do I have to re-read the record to retrieve it?

thanks


Back to top
Bill Todd (TeamB)
Guest





PostPosted: Wed May 12, 2004 8:58 pm    Post subject: Re: Paradox AutoInc field - retrieve after post Reply with quote



Assuming you are using a TTable, the value is available.

--
Bill (TeamB)
(TeamB cannot respond to questions received via email)
Back to top
John
Guest





PostPosted: Thu May 13, 2004 5:34 am    Post subject: Re: Paradox AutoInc field - retrieve after post Reply with quote



When I try to append a record to my table I get an error 'field 'key' cannot
be modified'
the field 'key' is an autoinc field and I have not yet set any of the fields
yet - just did table1.append



"Bill Todd (TeamB)" <no (AT) no (DOT) com> wrote

Quote:
Assuming you are using a TTable, the value is available.

--
Bill (TeamB)
(TeamB cannot respond to questions received via email)



Back to top
Bill Todd (TeamB)
Guest





PostPosted: Thu May 13, 2004 1:24 pm    Post subject: Re: Paradox AutoInc field - retrieve after post Reply with quote

Do you get the same behavior using a TTable that has no event
handlers?

--
Bill (TeamB)
(TeamB cannot respond to questions received via email)
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Desktop) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.