passing value from smartViewer to sdo

Paul123

New Member
Hello,

I need to be able to modifiy certain screen values in a viewer through a procedure. The procedure called is determined by the value of a radio-set within the viewer. I want the procedure to be called just prior to saving the record so assume it should be called from the submitRow function in the smartDataObject. How can I obtain the value of the radio-set in the viewer from within the sdo?

thanks,

Paul
 
a get/set method in the viewer object (just functions) would work just fine ;)

but i think this behavior only concerns and should be scoped to the viewer object.

if you write viewer dependent behavior into the data object you'd be tying the data object to the viewer and you could only use the data object with that viewer.

try putting the behavior in the viewer's updateRecord event hook procedure and make changes to the viewer's widget screen-values.

hope this helps.
 
Thanks Joey. You're right I don't need to pass anything to the SDO to accomplish what I need to do. I can insert my code into updateRecord in the viewer.

Paul
 
Back
Top