filter and logical field

filter and logical field

Post by Claudio Pin » Sat, 12 Sep 1998 04:00:00



I have a form with a tableframe(called "ciclo") with a logical
field(called"Standard").I turn the format of this field in "Yes/No"
instead of true/false.
Now I need to set a filter in this field for the Yes value via a
button. The code of it is:

VAR
        PROVA DYNARRAY[] anytype
        DAT UIOBJECT
ENDVAR
dat.ATTACH("ciclo")
PROVA["Standard"] =  true; I tried also = Yes, = "Yes", ="true"
DAT.setgenfilter(PROVA)
endmethod

When I execute it I have the error messages:
The filter expression in field standard is not valid
Can't convert True to a fldBool
Invalid carachter: "T"rue

Anyone can help me?
Thanks
Claudio Pinti

Reply via e-mail too if possible.