Edit_link and New button in form

Hello,

if I uncheck the “Enable insert button on target application” in properties the Edit Link (Grid application), I hope not show then “New” button in the target application, this work correctly when I run the grid directly, but when run entire project the “new” button is showed in the form app when in the update operation, I don’t kwon i f this is correct, but I want to hide the new button in the edit operation

Some help?

Gracias

Marcelo

You will want to edit the form’s toolbar and remove Insert from the toolbar.

you can try use in event (ex. OnLoad event in form) this: sc_btn_display(‘new’, ‘off’);

Thanks for your replies,

Lisa if I remove the insert button, will not possible to add a new record

Dan, yes this is a posibility, but I think it is a Bug, always the question is, why we need to solve the ussues wich not work correctly, we need to believe in the tool (SC) and no spend time solving basic problems.

again thanks for response and soory for my bad english

regards

Marcelo

Yes, removing the insert button removes the ability to add a new record from the form. To remove from the grid you will need to do that in the link properties from the grid to the form.

Hello Lisa,

thanks for replying, yes, we can remove the button from the link property, this work when you run (test) the grid app directly, BUT if you run the app inside a project, the “new” button is showed in the form when yo try to edit the record

saludos

Marcelo

You will need to edit the form. Go into the form’s taskbar and remove the insert button from the taskbar. You can leave update and delete if you wish, or remove them too. This will remove the ability to add a new record from within the form. :smiley:

Hola Lisa,

How I explained before, if you remove the insert button from the form taskbar, when you try to insert new record, the “Save” button it is not showed in the form. Important the behavior is different when you run entire project than run directly the grid app, if you have time you can try it

saludos

Marcelo

You must disable the INSERT in your security module. Choose the app in the security and disable the option INSERT there.

Hope it helps

Thanks Kleyber,

but this not solve the problem, when I disable the INSERT option, the “New” button not showed in the grip app

saludos

Marcelo