# Input and save to different table

**URL:** <https://community.glideapps.com/t/input-and-save-to-different-table/70571>\
**Category:** Ask for Help\
**Created:** [February 7, 2024, 8:11am UTC](https://community.glideapps.com/t/input-and-save-to-different-table/70571 "2024-02-07T08:11:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![abba](https://avatars.discourse-cdn.com/v4/letter/a/9f8e36/32.png) [@abba](https://community.glideapps.com/u/abba)\
**Post date:** [February 7, 2024, 8:11am UTC](https://community.glideapps.com/t/input-and-save-to-different-table/70571/1 "2024-02-07T08:11:31Z")

</div>

Hi everyone, i have master table employee and leave\_trans table, i would like to create entry for employee who want to take the annual leave.  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/8/3810b4ab49a1731ae1361e7077b6c71debebb71b.png)

the employee name taken form employee master, the transaction would be saved to leave\_trans table (name and date column).

thanks for helping.

---

<div class="post-metadata">

**Author:** ![tuzin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/tuzin/32/86077_2.png) [@tuzin](https://community.glideapps.com/u/tuzin)\
**Post date:** [February 7, 2024, 9:38am UTC](https://community.glideapps.com/t/input-and-save-to-different-table/70571/2 "2024-02-07T09:38:14Z")

</div>

A form that writes into the leave\_trans table should be enough. When you configure the choice component, you will still be able to choose employee master table as the source of it

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [February 8, 2024, 12:56am UTC](https://community.glideapps.com/t/input-and-save-to-different-table/70571/3 "2024-02-08T00:56:59Z")

</div>

Is there a reason you don’t configure it as a native form? It does look like you’re using a custom form there.

---

<div class="post-metadata">

**Author:** ![abba](https://avatars.discourse-cdn.com/v4/letter/a/9f8e36/32.png) [@abba](https://community.glideapps.com/u/abba)\
**Post date:** [February 12, 2024, 4:14am UTC](https://community.glideapps.com/t/input-and-save-to-different-table/70571/4 "2024-02-12T04:14:22Z")

</div>

yes that is custom form, hopefully any suggestion in my case.

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/f/8fe9d7cad6e520a83901a12295d58492c268c3e9.png)

is’t possible to create custom button action unbound to employee table? the action button would execute to save data (name and date leave into trans\_leave table).

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [February 12, 2024, 2:24pm UTC](https://community.glideapps.com/t/input-and-save-to-different-table/70571/5 "2024-02-12T14:24:12Z")

</div>

Is it just an employee submitting for themselves or they can submit for others?

If it’s the first case, then you can just have a form container on the screen, insert a “Date Picker” component for “Date Leave”, and automatically collect the “Emp ID” as an “additional column” on the right-hand side.

---

<div class="post-metadata">

**Author:** ![abba](https://avatars.discourse-cdn.com/v4/letter/a/9f8e36/32.png) [@abba](https://community.glideapps.com/u/abba)\
**Post date:** [February 13, 2024, 3:56am UTC](https://community.glideapps.com/t/input-and-save-to-different-table/70571/6 "2024-02-13T03:56:20Z")

</div>

Thanks, I’ve now solved this issue

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [February 20, 2024, 3:56am UTC](https://community.glideapps.com/t/input-and-save-to-different-table/70571/7 "2024-02-20T03:56:43Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
