NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: oggy on February 18, 2014, 12:28:45 AM
-
I need quick reminder, because of ages ;)
How to get browse row id to pass value to, for example, printing?
Regards, Ozren.
-
I am sure there are many ways to do this. The way I have done it is pass the value of a unique id such as what is used in primary key. I am also well into my forgetting years. Between age and not keeping at it full time it gets hard to stay on top of things.
Good luck.
RJ
-
hm, in NT5 my code to do that is like: p_web.GetValue('id'). But, in recetly purchased NT7 this not working?
-
I have not gotten to that point in current (NT 7.34) application.
I did it differently in NT6 (probably the hard way). I either called a memory for for input and then set session values. Then in my CPCS report I set report filter based on get of session values. For a single record you could set the session value to a unique value for record in embed of inline button on browse and then filter on that in report.
RJ
-
Use GetSessionValue... p_web.gsv('<Your PK Column name>')
-
make sure the button on the browse has "include row id" ticked on.
cheers
Bruce
-
Try it, and work, but I noticed one thing, when I use primary key the whole thing didn't work, with other key(s) works well...
Regards, Ozren.