I was looking around the docs and the forum but could not find a clear answer : is there a way to copy a whole ligne from one table to another (they share exactly the same structure) using an action button and the AddRecord function ?
Thanks !
I was looking around the docs and the forum but could not find a clear answer : is there a way to copy a whole ligne from one table to another (they share exactly the same structure) using an action button and the AddRecord function ?
Thanks !
This should be possible. Essentially, what you’d need to do is:
rec
, here) as a list of column names.RECORD(rec)
or by doing something like this: values = [getattr(rec, col_name) for col_name in list_of_column_names if not col_name == "name of this formula column itself goes here"]
.Then just map that formula column to your action button widget.