little help with mini application |
7/9/2009 11:01:18 PM |
ASPRunnerPro General questions | |
F
FNMever author
Dear support: |
|
J
|
Jane 7/10/2009 |
Hi, set rstmp = dal.Sesiones.Query("RUT=" & session(strTableName & "_masterkey1"), "Numero_de_Sesion desc") if not rstmp.eof then Session("Numero_de_Sesion") = rstmp("Numero_de_Sesion")+1 else Session("Numero_de_Sesion") = 1 end if rstmp.close set rstmp=nothing
|
F
|
FNMever author 7/14/2009 |
Hi, select latest Numer_de_sesion from Sesiones table in the Add page: Before process event on the Events tab, calculate new value and save it in the session variable. Here is a sample: Then use Session("Numero_de_Sesion") as default value for Numero De Sesion field on the "Edit as" settings dialog on the Visual Editor tab.
|
F
|
FNMever author 8/27/2009 |
Hi, select latest Numer_de_sesion from Sesiones table in the <b>Add page: Before process</b> event on the <b>Events</b> tab, calculate new value and save it in the session variable. Here is a sample: <!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->set rstmp = dal.Sesiones.Query("RUT=" & session(strTableName & "_masterkey1"), "Numero_de_Sesion desc") if not rstmp.eof then Session("Numero_de_Sesion") = rstmp("Numero_de_Sesion")+1 else Session("Numero_de_Sesion") = 1 end if rstmp.close set rstmp=nothing<!--QuoteEnd--></div><!--QuoteEEnd--> Then use Session("Numero_de_Sesion") as default value for Numero De Sesion field on the <b>"Edit as" settings</b> dialog on the <b>Visual Editor</b> tab.
|
J
|
Jane 8/28/2009 |
Hi, set rstmp = dal.Controles.Query("RUT=" & session(strTableName & "_masterkey1"), "Numero_de_Control desc") |