PDA

View Full Version : lookup on a WAS session variable


ABC123

John Haytko
09-12-2004, 06:13 PM
I am trying to perform a lookup on a session variable and return that to a record added by a grid component. Is this possible? Should I be using a dialog instead? What criteria should I use to decide between the two?

Hope this isn't too many questions in one post.

Thanks

Selwyn Rabins
09-13-2004, 06:23 AM
i don't really understand what you want to do.
perhaps you could describe your need in more detail with a concrete example of what you are trying to get done.

John Haytko
09-13-2004, 05:48 PM
I did poorly describe my need. The following is what I am trying to do.

dim member_id as n

member_id=lookup("members","user_name=\""+session.user_name+"\"","member_id")

I was then trying to pass member_id through the grid component when a record is added. There does not seem to be a way to easily do this. I have met my need with a dialog component. Now I would just like to learn somthing.

Thanks