Thomas.
in your login form - validate update
something like this...
GlobalErrors.Init !initialize GlobalErrors object
Access:Client.Init !initialize Access:Client object
Access:Client.Open()
Access:Client.UseFile()
clear(client)
Cli:Contact = upper(clip(Loc:Login))
Cli:Password = upper(clip(Loc:Password))
Get(Client,CLI:loginKey)
p_web.SetSessionValue('sesspassword',clip(Cli:Password))
p_web.SetSessionValue('sessgpid',CLI:GroupID)
p_web.SetSessionValue('sessClico',CLIP(CLI:ClientCompany))
p_web.SetSessionValue('seeclipuaid',CLI:ClientPUAID)
note their are probably more elegant ways to do this, but it works for me. The point is you are putting record contents into "session" variables so that you can use p_web.GetSessionValue in other procedures. No local variables. the filtering issue will probably take care of itself after you get this right.
HTH
Gregg