M
|
Michael7 12/13/2007 |
this should work |
M
|
MarkH 12/28/2007 |
this should work USE the addonload event '** Get Orgkey **** strSQLorgkey = "SELECT TOP 1 ORGKEY_ID FROM tblORGKEY ORDER BY ORGKEY_ID DESC" set rsorgkey = CreateObject("ADODB.Recordset") rsorgkey.Open strSQLorgkey, dbConnection rsorgkey.movefirst DIM ORGKEY ORGKEY = rsorgkey("ORGKEY_ID") ' Response.Write ORGKEY rsorgkey.Close : set rsorgkey = Nothing '** End of Code ***** then just set the default value to the ORGKEY variable "& ORGKEY &" Michael
|
![]() |
Sergey Kornilov admin 12/29/2007 |
Save recordset value to session variable: |