and have a screen on forms, execute and we press F7 the system allows me to enter a value and click F8 to get this certain value.
I made a scheme similar to buttons. When I click the button it clears the screen and places the block ENTER QUERY mode;
GO_BLOCK('TI_PROCEDIMENTO_AIH');
GO_ITEM('TI_PROCEDIMENTO_AIH.CD_PROCEDIMENTO');
SET_ITEM_PROPERTY ('BOTOES.QUERY', VISIBLE, PROPERTY_FALSE);
DO_KEY('CLEAR_FORM');
DO_KEY('ENTER_QUERY');
GO_BLOCK('TI_PROCEDIMENTO_AIH');
DO_KEY('EXECUTE_QUERY');
SET_ITEM_PROPERTY ('BOTOES.QUERY', VISIBLE, PROPERTY_TRUE);
SET_ITEM_PROPERTY ('BOTOES.QUERY', ENABLED, PROPERTY_TRUE);
The problem is that when I press the btn to execute the query and asks if I want to save the information and does nothing.
Some of the teachers there know help me?
I thank you for the tips: D: D