J
|
Jane 7/29/2008 |
Hi, str = "SELECT MAX(ID) as MAXID FROM dbo.detail" Set rstmp = server.CreateObject("ADODB.Recordset") rstmp.open str,dbConnection Session("MAXID") = rstmp("MAXID") rstmp.close set rstmp=nothing
|
M
|
mengo 2/8/2009 |
Hi, to select max value from table use Add page: Before process event on the Events tab. Here is a sample: Then use Session("MAXID") as default value for your readonly field on the "Edit as" settings dialog on the Visual Editor tab.
|
J
|
Jane 2/9/2009 |
Hi, |