![]() |
Sergey Kornilov admin 11/30/2009 |
You need to use events for this purpose, namely BeforeAdd event. You can select the max ID from this table and increment it by one.
|
D
|
dunga 12/11/2009 |
Hi, I have exactly same issue, I followed the advise here Set rstmp = server.CreateObject("ADODB.Recordset") rstmp.open "select max(RequestID)+1 from EducationRequests",dbConnection values("RequestID") = rstmp(0) rstmp.closeset rstmp=nothing
Error Type: Microsoft VBScript runtime (0x800A01B6) Object doesn't support this property or method: 'rstmp.closeset' /ES20101/include/EducationRequests_events.asp, line 118
|
![]() |
Sergey Kornilov admin 12/12/2009 |
Wrong: |