Re: deleting records in forms 5 .. help needed

From: <beansboy_at_my-dejanews.com>
Date: Tue, 20 Oct 1998 16:09:29 GMT
Message-ID: <70icjp$p7l$1_at_nnrp1.dejanews.com>


[Quoted] When the user navigates to your delete button, is it in the same block as your base table, or is it a control block? You may need to add code to your button to do a go_block('product_models'); delete_record;

-jay

In article <70fgil$ce$1_at_nnrp1.dejanews.com>,   mdesouza_at_YAHOO.COM wrote:
> Hi all
>
> got a block called product_models in forms 5.0.
> when i go to that block I execute the built in execute_query which returns a
> number of records
>
> I have got a button called add record which has a when_buton_pressed_trigger
> with the code --> create_record.
>
> when I press it i get a blank line which lets me insert a new record which is
> fine .
>
> I also got a another button called delete record with a when_button_pressed
> trigger with the following code --> delete_record but somehow this trigger
> never fires I cannot delete the record I have also tried clear_record, the
> only way out is using the default menu record remove or record clear
>
> Why does my trigger not fire how canI give the user the facility to delete a
> record without using the default&smartbar menu
>
> regards
>
> michael
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
>

-----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own Received on Tue Oct 20 1998 - 18:09:29 CEST

Original text of this message