|
Yup – it should be. If not, that’s
a bug. Doug From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Teddy Payne I have not attempted this
yet. When the save() occurs, the PK is updated in the record object from
the database assignment? I will check this out later this evening. On 6/5/06, Doug
Hughes <[EMAIL PROTECTED]>
wrote: This should work automatically. Is it not working for
people? When you have a new record and call save() on it, the pk
fields should be updated with the data from the db. If it's not then this
is a bug. Doug From: [EMAIL PROTECTED]
[mailto:
[EMAIL PROTECTED]] On Behalf Of Teddy
Payne I would like to know how to do this with MS SQL as
well. Returning the PK of an auto-increment would be very helpful in some
situations. The ability to get the @@Identity back without having to
re-query for what you just inserted. On
6/5/06, Tom Chiverton <[EMAIL PROTECTED]>
wrote: On Monday 05 June 2006 11:18, Doug Hughes wrote:
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reactor for ColdFusion Mailing List [email protected] Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
- [Reactor for CF] Retriving new PK of a just-created Record Tom Chiverton
- RE: [Reactor for CF] Retriving new PK of a just-created... Doug Hughes
- Re: [Reactor for CF] Retriving new PK of a just-created... Tom Chiverton
- Re: [Reactor for CF] Retriving new PK of a just-created... Teddy Payne
- RE: [Reactor for CF] Retriving new PK of a just-created... Doug Hughes
- Re: [Reactor for CF] Retriving new PK of a just-created... Teddy Payne
- RE: [Reactor for CF] Retriving new PK of a just-created... Doug Hughes
- Re: [Reactor for CF] Retriving new PK of a just-created... Jeff Lester
- Re: [Reactor for CF] Retriving new PK of a just-created... Tom Chiverton
- RE: [Reactor for CF] Retriving new PK of a just-created... Doug Hughes
- Re: [Reactor for CF] Retriving new PK of a just-created... Teddy Payne
- Re: [Reactor for CF] Retriving new PK of a just-created... Tom Chiverton

