Re: dev 2000 2.1 - How do I?

From: Patrick Wolf <patrick.wolf_at_telekabel.at>
Date: Fri, 18 Sep 1998 21:00:10 GMT
Message-ID: <3602c961.2787007_at_news.telekabel.at>


[Quoted] On 18 Sep 1998 11:27:06 GMT, "tina hamilton" <tina.hamilton_at_bradford.gov.uk > wrote:

>1. how do you force the data block to be filled when the form is loaded
>rather than having to use Query....Execute?

Create a when-new-form-instance-trigger: begin

    do_key ( 'execute_query' );
end;     

>
>2. Having got a filled form how do I insert a blank line (for new record
>insert) without using the menu option Record....Insert? I would like a
>push button to do this.

create a button with a when-button-pressed trigger begin

   do_key ( 'create_record' );
end;

You can also directly call the build-ins execute_query and create_record, but the do_key is the nicer one, because if you have defined a key-trigger for them, they will fire...

Patrick

>



Patrick Wolf
Working for Scientific Games, Vienna

E-Mails: patrick.wolf_at_telekabel.at (home)

         wolf_at_scigames.at (work) Received on Fri Sep 18 1998 - 23:00:10 CEST

Original text of this message