CodeCharge Studio
search Register Login  

Visual PHP Web Development

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

YesSoftware Forums -> Archive -> GotoCode Archive

 last_id_insert

Print topic Send  topic

Author Message
Jurjen Roels
Posted: 08/14/2002, 11:12 PM

How can i get the id of the last insert in a custom event under CC?
Alex Alexapolsky
Posted: 08/15/2002, 12:26 AM

See the article at http://gotocode.com/artlist.asp
Guest
Posted: 08/15/2002, 11:38 PM

Hi,
the exact link is:
http://www.gotocode.com/art.asp?art_id=80&
Guest
Posted: 08/15/2002, 11:38 PM

Hi,
the exact link is:
http://www.gotocode.com/art.asp?art_id=80&
Hidran
Posted: 08/22/2002, 3:46 AM

use mysql_insert_id() if you use php
Hamilton
Posted: 05/28/2003, 12:54 PM

Function OCStudents_AfterInsert() 'OCStudents_AfterInsert @2-9550E00E

'Custom Code @21-73254650
' -------------------------
' Write your own code here.
Dim NewID

NewID = CCDLookUp("@@IDENTITY", "ocstudents", "studentid=@@IDENTITY", DBIntranet)
Session("StudentID") = NewID
' -------------------------
'End Custom Code

End Function 'Close OCStudents_AfterInsert @2-54C34B28
Robert O'DOnnell
Posted: 06/16/2003, 7:44 PM

I need the exact code above, but for VB.NET (or C# - I can translate).

Anyone?

   


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

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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