Problems with customizing SmartFilters

T.Meindl

New Member
I have to do something about a format of a char-field in
a SmartFilter - the input behaviour is very odd:
in the DB the format is defined as "XXX.XX.XXXX";
and used as a field in a SmartFilter it behaves like this:
after entering the first character the cursor moves back to the first position after the second point!!
(like this: "1 . .234", when I type "1234")
Can anybody explain me why ?
I tried to change formats (and the labels) using the functions "setFieldFormats" (and "setFieldLabels") - but despite of returning TRUE there was no change done. I called these routines from the main-block of my application (after creation of all objects but before they get visible) - maybe this is the wrong place !?

And another strange thing:
When I write a label-string (within the "field-property-pane" of then SmartFilter Properties-Dialog) this label is shown at design time in then AppBuilder - but
at run time the label from the database field is used instead!
Is this a bug or can anybode tell me, how to do it correctly? (Progress V9.1B)

Trudy Meindl
 
Top