0
Create new record in the table with a button?
Nothing found in manuals or in forums for a very simple (I think) task: I want to use a button to create a new record in the table (nope, not another table). That's about it. What is the formula in that button "New Record" that does that simple job?
3 replies
-
Hi, you can use this code for your button in a table called e.g. Category (change this by the name of your table):
let currRec := Id;
let i := (create Category);
openRecord(record(Category,i.Id)) -
That the kind of advice I like - simple and spot on. Thanks Steven!!!
-
You're welcome. A small correction, you can delete the first line, this is not necessary (let currRec := Id;)
It's just a habit when I make longer code.
Content aside
- 5 yrs agoLast active
- 3Replies
- 1737Views