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?
|
|
|
 |
|