Subject Re: [IBO] Programmatically setting an IB_Edit's DisplayFormat
Author Lester Caine
> An IB_Edit is connected to a DateTime field.
>
> I allow the user to select their display format; e.g.
>
> "On mmmm d, yyyy at 6:00 am"
> or
> "dddddd tt"
>
> How can set the field DisplayFormat to display this?

Do it in the FieldsDisplayFormat of the IB_Query

FIELD="On mmmm d, yyyy at 6:00 am"

It's an IB_StringList covering all the fields, but its not
difficult to manage.

> Is it necessary to use OnGetText and OnSetText instead?

No

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services