I want to create a new record by using the buttons in fields without adding data source
*This post is locked for comments
I want to create a new record by using the buttons in fields without adding data source
*This post is locked for comments
Hi,
Please find the below link:
http://stackoverflow.com/questions/18184298/how-to-create-a-new-record-in-form-datasource-from-x
You can use Command Button with command set to "New" in the properties if you want to add new record on the same form. (like simple list forms)
Or you can use MenuItem Buttons if you want to open a new form to create a new record by setting the menuitem name in the property for the new record form.
Your question wasn't clear enough so these are the only guesses left for us to make. Since your first reply to Vilmos rules out the solution through code.
Sorry I do not understand your English, please phrase it better
I don't want the code Mr.Vilmos.
I want it by creating.
Override the clicked() method on your button. Declare a new table buffer as variable, populate the field, call validateWrite(), then insert() on your buffer.
André Arnaud de Cal... 291,391 Super User 2024 Season 2
Martin Dráb 230,445 Most Valuable Professional
nmaenpaa 101,156