Re: Query dialog box in Forms 4.5

From: Michel Lapierre <milapier_at_ge.hydro.qc.ca>
Date: 1996/09/19
Message-ID: <DxzMoC.A97_at_ireq.hydro.qc.ca>#1/1


Steve Harmon <harmon#m#_Stephen_M_at_msmail.aai.arco.com> wrote-écrivait:

>The instructor in a forms class that I took some time ago stated that
>the preferred method of having users fire off queries was to place a
>button on the form, and bring up a dialog box for query criteria. He
>did not go into any of the implementation details.
 

>I tried using a couple of triggers to put the form into query mode,
>then execute the query when the user pressed the OK button on the
>dialog box; this did not work. Any pointers on the best way to
>implement the form?
 

>Thanks
>Steve

One way to execute what you is this :

  1. create a dummy block with the elements you want the user to query on
  2. When the user press : ENTER QUERY, go on that block and show the elements
  3. when the user has finished enteryng the query he must press a button : CANCEL ou OK (you must put button in your block / canvas.
  4. On ok, you go on you main block and you execute the query
  5. In the pre-query, you set all the elements comming from youre dummy block into you main block

There is other way (like mirroring)

Michel Lapierre
Concepteur Informatique
Hydro-Quebec

E-mail : milapier_at_ge.hydro.qc.ca
Phone : (514) 840-3860
Montreal, Quebec, Canada Received on Thu Sep 19 1996 - 00:00:00 CEST

Original text of this message