Hi Expert
I have this table
I need to change the WHERE-expression according to the content of an XSession variable called tilsalgstatus.
A. in the beforedisplay event on ADD page i set XSession.Session["bilsalgstatus"] = 4;
B. in the beforedisplay event og EDIT page i set XSession.Session["bilsalgstatus"] = 7;
My which are to filter the Query in the lookup like tilsalgstatus < XSession.Session["bilsalgstatus"]
Am i making wrong references to the session variable or is it just not possible?
Thanks in advance
Michael