Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Suppress )MODEL input on initial display

4 views
Skip to first unread message

Donald Johnson

unread,
Oct 29, 2009, 12:41:29 PM10/29/09
to
Hello! I have a panel with static data entered at the top, and depending on
the processing option, a MODEL section below.

On my initial display, I can set the attributes of the model fields to
non-display, but I would like to be able to skip the selection field, too. I
have tried changing the .ATTR on the field from type(input) to type(text),
but that is not allowed, nor is changing the type value on the .ATTRCHAR
statement.

Is there a way to not have input fields in the MODEL until I actually
perform my TBDISPL?

Thanks!
Don

Dave Salt

unread,
Oct 29, 2009, 12:56:39 PM10/29/09
to
Try changing the field from INPUT to OUTPUT.

HTH,

Dave Salt

SimpList(tm) - try it; you'll get it!
http://www.mackinney.com/products/program-development/simplist.html


> Date: Thu, 29 Oct 2009 12:37:31 -0400
> From: dej...@GMAIL.COM
> Subject: Suppress )MODEL input on initial display
> To: ISP...@LISTSERV.ND.EDU

_________________________________________________________________
Lots of fantastic Windows 7 offers, in one convenient place. Get the perfect deal for you now.
http://go.microsoft.com/?linkid=9691633

Donald Johnson

unread,
Oct 29, 2009, 1:15:33 PM10/29/09
to
I can do that, but how do I change the attribute back to input so the user
can Select the item when I do the TBDISPL?

On Thu, Oct 29, 2009 at 12:56 PM, Dave Salt <ds...@hotmail.com> wrote:

> Try changing the field from INPUT to OUTPUT.
>
>
>
> HTH,
>
> Dave Salt
>
> SimpList(tm) - try it; you'll get it!
> http://www.mackinney.com/products/program-development/simplist.html
>
>
>
>
> > Date: Thu, 29 Oct 2009 12:37:31 -0400

> > From: dej...@GMAIL.COM <http://gmail.com/>

Dave Salt

unread,
Oct 29, 2009, 1:20:03 PM10/29/09
to
Use a variable to define the field; e.g:

@ TYPE(&INOROUT) COLOR(RED)

In your program, initially set the variable to OUTPUT. Just before you do the TBDISPL, change it to INPUT.

HTH,

Dave Salt



> Date: Thu, 29 Oct 2009 13:15:13 -0400
> From: dej...@GMAIL.COM
> Subject: Re: Suppress )MODEL input on initial display
> To: ISP...@LISTSERV.ND.EDU
>

> I can do that, but how do I change the attribute back to input so the user
> can Select the item when I do the TBDISPL?
>
> On Thu, Oct 29, 2009 at 12:56 PM, Dave Salt <ds...@hotmail.com> wrote:
>

> > Try changing the field from INPUT to OUTPUT.
> >
> >
> >
> > HTH,
> >
> > Dave Salt
> >
> > SimpList(tm) - try it; you'll get it!
> > http://www.mackinney.com/products/program-development/simplist.html
> >
> >
> >
> >
> > > Date: Thu, 29 Oct 2009 12:37:31 -0400

> > > From: dej...@GMAIL.COM <http://gmail.com/>


> > > Subject: Suppress )MODEL input on initial display
> > > To: ISP...@LISTSERV.ND.EDU
> > >
> > > Hello! I have a panel with static data entered at the top, and depending
> > on
> > > the processing option, a MODEL section below.
> > >
> > > On my initial display, I can set the attributes of the model fields to
> > > non-display, but I would like to be able to skip the selection field,
> > too. I
> > > have tried changing the .ATTR on the field from type(input) to
> > type(text),
> > > but that is not allowed, nor is changing the type value on the .ATTRCHAR
> > > statement.
> > >
> > > Is there a way to not have input fields in the MODEL until I actually
> > > perform my TBDISPL?
> > >
> > > Thanks!
> > > Don
> >
> > _________________________________________________________________
> > Lots of fantastic Windows 7 offers, in one convenient place. Get the
> > perfect deal for you now.
> > http://go.microsoft.com/?linkid=9691633

_________________________________________________________________
Ready for a deal-of-a-lifetime? See fantastic offers on Windows 7, in one convenient place.
http://go.microsoft.com/?linkid=9691634

Pedro Vera

unread,
Oct 29, 2009, 1:22:36 PM10/29/09
to
I think the suggestion was to use .ATTR function to change field to
OUTPUT. And you can set it based on some condition.


Pedro Vera

Donald Johnson

unread,
Oct 29, 2009, 3:48:20 PM10/29/09
to
Thanks, Dave - I had forgotten about being able to use variables for the
Attributes parameters. It works like a champ!
Don

On Thu, Oct 29, 2009 at 1:19 PM, Dave Salt <ds...@hotmail.com> wrote:

> Use a variable to define the field; e.g:
>
>
>
> @ TYPE(&INOROUT) COLOR(RED)
>
>
>
> In your program, initially set the variable to OUTPUT. Just before you do
> the TBDISPL, change it to INPUT.
>
>
>
> HTH,
>
> Dave Salt
>
> SimpList(tm) - try it; you'll get it!
> http://www.mackinney.com/products/program-development/simplist.html
>
>
>
>
>
> > Date: Thu, 29 Oct 2009 13:15:13 -0400

> > From: dej...@GMAIL.COM <http://gmail.com/>


> > Subject: Re: Suppress )MODEL input on initial display
> > To: ISP...@LISTSERV.ND.EDU
> >
> > I can do that, but how do I change the attribute back to input so the
> user
> > can Select the item when I do the TBDISPL?
> >
> > On Thu, Oct 29, 2009 at 12:56 PM, Dave Salt <ds...@hotmail.com> wrote:
> >
> > > Try changing the field from INPUT to OUTPUT.
> > >
> > >
> > >
> > > HTH,
> > >
> > > Dave Salt
> > >
> > > SimpList(tm) - try it; you'll get it!
> > > http://www.mackinney.com/products/program-development/simplist.html
> > >
> > >
> > >
> > >
> > > > Date: Thu, 29 Oct 2009 12:37:31 -0400

> > > > From: dej...@GMAIL.COM <http://gmail.com/> <http://gmail.com/>

0 new messages