Adding records


By default, when starting a new record, RadCORE feeds the primary key (in the case of integer / string ) with the value -1, when saving the record, the new sequential is generated and replaced.


If you want the sequence to be generated immediately, you must inform in the MENU configuration:


<= RC 5: rc_BuildMenuItem( mm.varA_MenuTools, iSeqMenu, 0, 'Usuários' , 'usuarios', '', '', '', false, false, true, true );

>= RC 5: rc_BuildMenuItem( '',  0, 'Cidades tbl:cidades genid: ' ); // "genid:"



Study the code referring to btnNewReg's click on frmBaseCRUD and frmBaseCRUDDetail to understand what is done BEFORE executing the options that inherit the respective forms.


Studying the various examples that follow RadCORE, you will be able to see variations according to the type of screen and thus help you to better understand how to apply it in your projects.

Created with the Personal Edition of HelpNDoc: Free HTML Help documentation generator