Why???

Why if i remove the buttons

first Goes to the first page of the grid.
back Goes to the previous page of the grid.
forward Goes to the next page of the grid.
last Goes to the last page of the grid.

from toolbar, the init mode of the form change automatically to INSERT when i need still init on UPDATE mode without buttons.

I tried
sc_btn_display(“Button_Name”,“on/off”)
sc_btn_disable(‘button_id’, ‘on/off’)

Doesnt work

I need init the app on update mode without these buttons and i can’t…

Please Help…

I trie with first

form is started by update mode by default, if you want to make it add new records, add insert button. buttons in sc control many other things like this one, i know it doesn’t make sense, but as you said, sc_btn_display can take the rest if you want to work otherwise, also you can force the form start in update or insert mode, there is macro for that see something like apl_conf

sc_apl_conf(“Application”, “Property”, “Value”)
This macro allows to modify the property of the application. The user can determine if a Form will start in insert mode, or a Grid starts by filter, etc.

This macro must be used by one application to modify the properties of another application.

can i use the APL_CONF in my form on ScriptInit to force UPDATE mode?

why don’t you try!? becasue i’m not even quite sure that understood your issue first reported, i don’t see wrong sc behavior actually

Hello,

Are you calling this form application from another app?

regards,
Bernhard Bernsmann