NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: walter.dasilva on August 27, 2012, 01:08:55 PM
-
Hi,
I have a browse with a child. Child is filtered using values from parent, but those values are not key´s components. inspecting code i could see all key´s components are passed to session but other browse fields not. i´ve tried to set others field to session but i can´t get those values.
is there some trick here?
thanks
-
yes, you need to do a get on the record based on the parent key to bring back the entire record. Then just assign whatever field you need for your child filter to the session Q.
-
Yes, Kevin....
thank you a lot
Walter
-
Hi Kevin,
it´s working fine, i couldn´t find the embed to init those value for the first time browse is open.
Do you know something?
thanks
-
I just stick it here and it "seems" to work. I add the Fetch as well as loc:FilterWas. Add a trace at the end of your code if you think it's not working.
! Start of "Browse Filter"
! [Priority 5000]
-
thanks kevin,
-
Hi,
! Start of "Browse Filter"
! [Priority 5000]
Will this code only execute the 1st time the Browse is opened?
Thanks
Charl
-
anywhere in the GenerateBrowse routine would be the right place. The generateBrowse is only called when the browse itself is being constructed, so it's not called excessively there.
cheers
Bruce