Re: Forms Builder 6.0: How to insert default values in query mode?

From: Scott Mattes <ScottMattes_at_yahoo.com>
Date: Fri, 11 Jan 2002 19:15:26 GMT
Message-ID: <iRG%7.1475$_R.385273_at_news1.news.adelphia.net>


Thank you.

This also works at the item level, I just tried it.

"Simon Redmond" <simon_at_sibass.com> wrote in message news:746cebd2.0201100817.1913ea9e_at_posting.google.com...
> try creating a when-new-item-instance trigger at block level with
> something similar to the following code.... this works for us.
>
> if (:system.mode = 'ENTER-QUERY') then
>
> :emp.ename := 'KING';
>
> end if;
>
> hope this helps
>
>
>
> "Joost Bataille" <j.r.l.m.batailleREMOVETHIS_at_uva.nl> wrote in message
news:<a1jla6$3ei$1_at_mail.ic.uva.nl>...
> > Maybe you can create some special 'find window': a small window with
some
> > non-database items.
> > Then you create a key-entquery trigger where you pop up this window and
> > assign the values. If the user exits this window you can use the values
in a
> > pre-query trigger and execute the trigger.
> > This does restrict the possibilities for query-ing.
> >
> > Hadn't thougt this to be so complicatied... :-(
> >
> > Regards, Joost
Received on Fri Jan 11 2002 - 20:15:26 CET

Original text of this message