$OS10 web dev
Martin Obongita
martin.obongita at yahoo.com
Fri Nov 27 00:35:03 EST 2020
Hello Listers,
Still on Boolean type.
On the report class, there is a column field for Gender.Instead of displaying Yes or No, the report should display Male or Female.I discovered that there is a field property called formatstring which picks values from #BFORMS systemtable.This table returns an error if I try to add a Male or Female Boolean.
How do I add a custom Boolean on to a report class column?
Best regards,Martin.
On Thu, 26 Nov 2020 at 21:45, Das Goravani<goravanis at gmail.com> wrote:
That’s brilliant. Glad you got it.. I tried to answer but I couldn’t think straight off my head how to do it.. forms only allow some types of notation.. not all.. so it’s good you found a way that it accepts.
> On Nov 26, 2020, at 1:03 AM, Martin Obongita via omnisdev-en <omnisdev-en at lists.omnis-dev.com> wrote:
>
> Hi $All,
> I finally figured out how to display text on a label depending on a Boolean state, after many shootings and misses.Do $cinst.$objs.GenderLabel.$text.$assign(pick(iGenderStatus,'Male','Female'))
> "$OS is excruciating excitement!"
> Best regards,Martin.
>
> On Wednesday, November 25, 2020, 07:19:42 PM GMT+3, Martin Obongita via omnisdev-en <omnisdev-en at lists.omnis-dev.com> wrote:
>
> Hi $All,
> Sorry to interrupt your brainstorming.
> How do I dispay a boolean type instance varable selection on a remote form?For example,0 To dispay as True1 To display as FalseGender:0 To display as Male1 To display as Female
> I hope a lister will be kind enough to assist.
> Thanks.Martin.
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
_____________________________________________________________
Manage your list subscriptions at http://lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
More information about the omnisdev-en
mailing list