Blank form at first load

Hi all,

I create a form from a table in database use SC. When I run the application, the Form is always display the record from the table. If I want SC make a new blank Form when I run the application so the user can directly input the form, can I do that?
I can’t find anything that can be changed in the Application Settings Group to do what I want.
Can anyone help me?

thanks in advance,

regards,
Mellz

Re: Blank form at first load

Hi!

You can use : sc_apl_conf(“yourform”, “start”, “new”);

on Event: onApplicationInit

Re: Blank form at first load

If you have a (global) parameter in your application (e.g. ID), you can also add an id value that does not exists in the database:

…/form_test.php?ID=-9999

ID must not exist in the database, not now and not in the future to prevent trouble. I have a custom (non-SC) menu and use this method for my “create new…” menu items.