CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 Retrieve new record ID

Print topic Send  topic

Author Message
alexands

Posts: 11
Posted: 11/07/2006, 9:44 AM

I have a record form where I am adding a new record. The database has an identiry column that is incrimented. How can I return the newly added identity column within CodeCharge so I may use it in the child records?

Thanks
View profile  Send private message
shogedal

Posts: 12
Posted: 11/13/2006, 1:28 PM

I believe this question is answered in the documentation, but the answer involves searching for the newly inserted record.

I once requested that CC would keep the connection open until some editable event had occurred (in which one could do a "Select @@Identity" if the database was right), but I haven't checked if they have been able to do it in the later versions.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.