My report is working via button on the form. I am setting a session variable 'orderno' in the forms 'preUpdate' embed that I am getting in the report procedure. This is working.
The report procedure can accept two values ... "orderno' and optionally 'phaseno'. If phaseno is zero it prints all phases.
I want to have two buttons on this form/tab
1) I added button to the BrowsePhase (on each row). When the user presses that button what embed or how do I set the two sessionvalues for passing to the report procedure. I want to ssv('orderno',oeo2:orderno) and ssv('phaseno','oeo2:phase)?
2) On the form I have just the plain 'print' button to call the same report but I only want to pass the 'orderno'. I'm guessing I would have to clear the value in the 'phaseno' sessionvalue. What embed would be used for a button on the form to set these? This would replace the code I used in the preupdate embed.
Thanks
Lee