![]() |
Sergey Kornilov admin 3/26/2012 |
A few notes:
Response.Write "Table: " & strTableName & " Session: " & Session(strTableName & "_masterkey1")
dal.Notes.Followup=Now()
|
R
|
Raptor author 3/26/2012 |
Thank You Sergey for responding. I tried this but get an error. I must be missing something. |
![]() |
Sergey Kornilov admin 3/26/2012 |
I've updated the code. Give it another try. |
R
|
Raptor author 3/26/2012 |
I've updated the code. Give it another try. Posting error message will be helpful as well.
|
![]() |
Sergey Kornilov admin 3/27/2012 |
I guess Session(strTableName & "_masterkey1") variable is not populated where you trying to use it. Since this variable is empty no value will be assigned to PatientID field. |
R
|
Raptor author 3/27/2012 |
patientID is assigned to the account after you click the save button. I wonder if there is a why to grab the patientid after the save from the session? |
![]() |
Sergey Kornilov admin 3/27/2012 |
The typical scenario is to save some value to session variable in one of events and then use it in another event. I guess that session variable that you trying to use were not populated yet. |