# Glide multiple edit screens, same table

**URL:** <https://community.glideapps.com/t/glide-multiple-edit-screens-same-table/67647>\
**Category:** Community Resources\
**Tags:** tutorial\
**Created:** [November 9, 2023, 6:28pm UTC](https://community.glideapps.com/t/glide-multiple-edit-screens-same-table/67647 "2023-11-09T18:28:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Danny\_Nielsen](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/danny_nielsen/32/61765_2.png) [@Danny\_Nielsen](https://community.glideapps.com/u/Danny_Nielsen)\
**Post date:** [November 9, 2023, 6:28pm UTC](https://community.glideapps.com/t/glide-multiple-edit-screens-same-table/67647/1 "2023-11-09T18:28:48Z")

</div>

**Glide multiple edit screens, same table**

**Introduction**  
This is my attempt at a guide to multiple edit screens in the same table. This topic fits better in “Community Resources”, but i cant post there yet. I’ll create a post there too when I can. I call this my “Edit switch”.

**Updates**  
This method cost 2 updates per edit instead of the usual 1 updates per edit.

**Guide**  
In my example, for simplicity, im gonna make two edit screen in the same table, but the method practically works for 10+ edit screens, theoretically 100+ edit screens.

Im my example my table is called TABLE1, containing the following columns:

COMPANY/Name  
COMPANY/Address  
COMPANY/Contact  
TASK/Product  
TASK/Assigned  
TASK/Deadline

**Step 1**  
Create two columns in TABLE1:  
EDIT SWITCH/Number (text)  
EDIT SWITCH/Label (If - Then - Else).

- If EDIT SWITCH/Number = 1, then “Edit Company”.
- If EDIT SWITCH/Number = 2, then “Edit Task”.

**Step 2**  
Create 3 Actions:

- Edit switch - 1
- Edit switch - 2
- Edit switch - On send

Action Edit switch - 1:  
Set column values - EDIT SWITCH/Number = 1  
Show edit screen - This item.

Action Edit switch - 2:  
Set column values - EDIT SWITCH/Number = 2  
Show edit screen - This item.

Action Edit switch - On send:  
If EDIT SWITCH/Number = 1 then Notification “Company edited”  
If EDIT SWITCH/Number = 2 then Notification “Task edited”

**Step 3**  
Create buttons:  
Button 1 - Name: Edit Company. Action = Edit switch - 1  
Button 2 - Name: Edit Task. Action = Edit switch - 2

**Step 4**  
Press button 1 or 2, and setup the Edit screen.  
Set screen “title” = SWITCH/Label  
Set screen “on submit” = Edit switch - On send

Create two containers.

Container 1:  
Visibility: show component when EDIT SWITCH/Number = 1  
Add “text entry” COMPANY/Name  
Add “text entry” COMPANY/Address  
Add “text entry” COMPANY/Contact

Container 2:  
Visibility: show component when EDIT SWITCH/Number = 2  
Add “text entry” TASK/Product  
Add “text entry” TASK/Assigned  
Add “text entry” TASK/Deadline

**End**  
You now have two different edit screens for TABLE1 depending on what button is pressed.

---

<div class="post-metadata">

**Author:** ![slscustom.ru](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/slscustom.ru/32/77336_2.png) [@slscustom.ru](https://community.glideapps.com/u/slscustom.ru)\
**Post date:** [November 9, 2023, 7:10pm UTC](https://community.glideapps.com/t/glide-multiple-edit-screens-same-table/67647/2 "2023-11-09T19:10:08Z")

</div>

Hi! Good trick!  
Many times, i tried to develop like this and every time i found it so dummy.  
Because again and again became some needs to have separate task table.  
Also, in a theory it is good practice to separate the data to different table.  
Only one reason to deal with one table is row economy.  
But may be row economy it is not main.  
With separate table you easily can have single or multiple relation to Task table and independent edit screen.  
But trick as itself is good!

---

<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:** [November 9, 2023, 11:27pm UTC](https://community.glideapps.com/t/glide-multiple-edit-screens-same-table/67647/3 "2023-11-09T23:27:19Z")

</div>

Updated to “Community Resources”. Thank you.

---

<div class="post-metadata">

**Author:** ![Danny\_Nielsen](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/danny_nielsen/32/61765_2.png) [@Danny\_Nielsen](https://community.glideapps.com/u/Danny_Nielsen)\
**Post date:** [November 10, 2023, 8:02am UTC](https://community.glideapps.com/t/glide-multiple-edit-screens-same-table/67647/4 "2023-11-10T08:02:04Z")

</div>

True, there are other good solutions. Using “New screen” works, but costs more updates + overlay dimensions don’t match form- or edit-screen. Multiple tables also works, but can be a hassle when you got many dependencies across columns (if a column in Table 2 need info from a column in Table 1).

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [November 10, 2023, 2:39pm UTC](https://community.glideapps.com/t/glide-multiple-edit-screens-same-table/67647/5 "2023-11-10T14:39:57Z")

</div>

Ya. Vote here:

> [@Custom different edit screens folded\_hands Please vote](https://community.glideapps.com/t/custom-different-edit-screens-please-vote/58138):
>
> Hello Would it be possible to add an option: of different editing screens (and that the same editing screen does not appear) I mean as in references to: a new screen, or a form screen It will be possible to custom design several different types of editing screens - for the same line In my opinion, this is a very powerful and useful idea for GLIDE PAGES Provides great flexibility and ease of updating statuses by user or situation Many will be happy if you add it
