0

Button to add record and populate choice

Hello,

Is it possible to have a button create a record and preselect choises in the form? 

For example I have a File table, that stores different files/attachement. These files are catagorized by department and type. I would like to have a button in the table "Department A" that creates a "Files" record, and selects choise: "Depaertment A" and type: "Compliance" (for example).  This way I dont have to go through the extra step of seleting the department or type.

Help would be greatly appreciated!

 

Thanks 

1 reply

null
    • BugTrapper
    • 3 yrs ago
    • Reported - view

    Script for such a button is similar as this:

    Let newrecord:=create 'FilesTable';

    newrecord.type:='Compliance';

    newrecord.choice:=1;

     

    if 1 is the number of choice for Department A

Content aside

  • 3 yrs agoLast active
  • 1Replies
  • 714Views