Hi All!
Does anyone know how to configure a form application so that it automatically goes into insert mode upon initialization of the application?
Any tips gratefully received
Re: Insert only form
Hi,
You can call that form with key parameter whic not exist in database. In this way the form will appear as new record.
Re: Insert only form
Thanks for your comment – we’ll give it a try!
Re: Insert only form
Put this in the “onApplicationInit” event of your Form:
sc_apl_conf(“application_name”, “start”, “new”);
Re: Insert only form
Thanks very much for both ideas
If we add an unused key then it does work – the thing is we have t o calculate the key in code which adds some steps
With the sc_apl_conf(“application_name”, “start”, “new”); we notice that the app still asks for a primary key. Is there something we are missing with that option? Another setting?
Re: Insert only form
Thanks both – all sorted. Rebuilt the app and it’s fine
Re: Insert only form
Hello prema,
This may help you too.
http://www.netmake.com.br/knowledge/article-10.html
regards
Re: Insert only form
Hi Max!
Thanks very much. Quite incredible how this tool has been put together, I feel very lucky and very glad for the help that is available
Kind regards
Mike
Re: Insert only form
Hi,
You`re welcome
Re: Insert only form
http://www.netmake.com.br/knowledge/article-10.html
404 Not Found
The resource requested could not be found on this server! Powered By LiteSpeed Web Server
LiteSpeed Technologies is not responsible for administration and contents of this web site!
Re: Insert only form
Here: http://knowledge.netmake.com.br/article-10.html
regards,
Bernhard Bernsmann
Re: Insert only form
link broken!
Re: Insert only form
Hello,
It works here. Please try searching for “Insert Mode” on our knowledge base.
regards,
Bernhard Bernsmann