![]() |
Sergey Kornilov admin 3/2/2009 |
Dict variables are available in BeforeAdd/AfterAdd evemts. Your code is correct, you just need to move it to proper event. |
D
|
dsmythe author 3/2/2009 |
Thank you for the pointer, I actually did put the code here: |
![]() |
Sergey Kornilov admin 3/2/2009 |
Dict variables refer for fields in the same table. Also BeforeAdd event happens right before record is physically added to the database. set rs = TableA.Query("key = " & SESSION(strTableName & "_masterkey1"),"") |
D
|
dsmythe author 3/2/2009 |
thanks again, here is the entire code that I am using (not using dal yet) |
![]() |
Sergey Kornilov admin 3/2/2009 |
First thing to try - print SQL query on the web page and test it manually against your database to make sure it returns some data. |
D
|
dsmythe author 3/3/2009 |
Thank you sir. I did so and everything looked fine. |