Focal Point
[SOLVED] prob w/DevStu checkbox, won't pass 0

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5711075792

August 30, 2008, 04:18 PM
<peyton>
[SOLVED] prob w/DevStu checkbox, won't pass 0
hello
the devstu 765 won't pass a 0 value in a checkbox; it passes a blank, which overrides the -DEFAULT &myvar = 0 ;
so in a drilldown, the blank value causes a failure.
Anybody willing to share idea?

This message has been edited. Last edited by: Kerry,
August 30, 2008, 04:55 PM
Jim Morrow
quote:
-DEFAULT &myvar = 0 ;

Try this

-DEFAULT &myvar = 0 ;
-SET &myvar = IF &MYVAR = '' THEN 0 ELSE &myvar;


Jim Morrow
Web Focus 7.6.10 under Windows 2003
MVS 7.3.3



August 30, 2008, 05:11 PM
<peyton>
thanks