Hi Terry, if I need to pull some data table into context so I can display something, I dont use local variables, just the file record itself,
Eg.
access:SomeFile.Fetch(key)
p_web.FileToSessionQueue( SomeFile )
Then on your form if you want to show the SomeFiles's Description you use
p_web.GSV('SF:Description')
In this way the whole record is there in the session queue, so if you want to call another proc to do a calc or something, the record is still in context on the session queue there.
You can of course just set a single field, like
p_web.SSV('SF:Description', SF:Description)
So you dont need local variables, and your parent record is passed to your proc when you send it p_web
Hope this helps
K