Re: Button on a form

From: wozi <wozi_at_dhc.net>
Date: Thu, 10 Jun 1999 19:06:42 -0700
Message-ID: <0893A4FD775BD0F7.3FA95925E11CC991.61C71817FC2497E7_at_lp.airnews.net>


Timothy Bowen wrote in message ...
>Hi, I have put a button on a form whci the form has
>a table to show the important fields, 7 rows at a time.
>As a newbie, I am playing around and running the form. I want the button to
>order the table by price and then display the records. Is this simple. Do I
>use the trigger?
>

Try this and see if it works.
In the WHEN-BUTTON-PRESSED trigger, enter this code:

 SET_BLOCK_PROPERTY('block_name',order_by, :blk.field_name)  Go_Block('block_name');
 Execute_Query;

Remember to set it back to null after the query executes. Received on Fri Jun 11 1999 - 04:06:42 CEST

Original text of this message