# Duplicate record being created while registration

**URL:** <https://community.glideapps.com/t/duplicate-record-being-created-while-registration/9483>\
**Category:** Ask for Help\
**Created:** [May 20, 2020, 1:51pm UTC](https://community.glideapps.com/t/duplicate-record-being-created-while-registration/9483 "2020-05-20T13:51:29Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![aha\_education](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aha_education/32/6343_2.png) [@aha\_education](https://community.glideapps.com/u/aha_education)\
**Post date:** [May 20, 2020, 1:51pm UTC](https://community.glideapps.com/t/duplicate-record-being-created-while-registration/9483/1 "2020-05-20T13:51:29Z")

</div>

Am getting a duplicate record during registration.

1. Once the users sign in through Gmail a new record is created in profile sheet
2. Then when there is a registration, instead of updating the data associated with existing user email, it creates a new record.

Need help

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [May 20, 2020, 2:19pm UTC](https://community.glideapps.com/t/duplicate-record-being-created-while-registration/9483/2 "2020-05-20T14:19:51Z")

</div>

> [@Could Google log-in automatically create account?](https://community.glideapps.com/t/could-google-log-in-automatically-create-account/8512/10):
>
> So for clarification you are letting Glide create a new row when a user signs in the first time as well as using a form to write a second row? That’s why I mentioned that you should not be using a form button to finish the profile and should instead be editing the existing row that Glide created. Create a button instead with a link to screen action that takes the user to the profile sheet (filtered by signed in user). There they can finish their profile. When done, you can set visibility to …

---

<div class="post-metadata">

**Author:** ![aha\_education](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aha_education/32/6343_2.png) [@aha\_education](https://community.glideapps.com/u/aha_education)\
**Post date:** [May 20, 2020, 3:05pm UTC](https://community.glideapps.com/t/duplicate-record-being-created-while-registration/9483/3 "2020-05-20T15:05:45Z")

</div>

Hi Jeff,

Thank you. So my other app works perfectly with registration button which is added to open form.

BUT the second app seems to duplicate the record. What you have said is the exact problem. But I am unable to solve even with your recommendation to link the registration button to a screen and not to a form.

---

<div class="post-metadata">

**Author:** ![aha\_education](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aha_education/32/6343_2.png) [@aha\_education](https://community.glideapps.com/u/aha_education)\
**Post date:** [May 20, 2020, 3:16pm UTC](https://community.glideapps.com/t/duplicate-record-being-created-while-registration/9483/4 "2020-05-20T15:16:33Z")

</div>

OK… Probably If I stop glideapp from Creating a record it will solve my problem. But how do I stop it from creating a record?

---

<div class="post-metadata">

**Author:** ![aha\_education](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aha_education/32/6343_2.png) [@aha\_education](https://community.glideapps.com/u/aha_education)\
**Post date:** [May 20, 2020, 3:44pm UTC](https://community.glideapps.com/t/duplicate-record-being-created-while-registration/9483/5 "2020-05-20T15:44:08Z")

</div>

I need an urgent help with this guys…

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [May 20, 2020, 3:54pm UTC](https://community.glideapps.com/t/duplicate-record-being-created-while-registration/9483/6 "2020-05-20T15:54:30Z")

</div>

You can remove the user profile option by inserting the sheet from the user profile settings, but honestly I honestly prefer it because it opens up the user profile to be used all over the app.

[https://docs.glideapps.com/all/reference/privacy-and-per-user-data/user-profiles](https://docs.glideapps.com/all/reference/privacy-and-per-user-data/user-profiles)

What didn’t work with my recommendation. Can you describe the process you go through to finish a profile?

---

<div class="post-metadata">

**Author:** ![aha\_education](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aha_education/32/6343_2.png) [@aha\_education](https://community.glideapps.com/u/aha_education)\
**Post date:** [May 20, 2020, 4:15pm UTC](https://community.glideapps.com/t/duplicate-record-being-created-while-registration/9483/7 "2020-05-20T16:15:48Z")

</div>

So the problem with the solution when I link to screen to complete profile is that

1. Since there is no data in the profile, it doesn’t show the required input fields like name and phone number

2. And user has to click on the edit button above which is not user friendly. They will miss it.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [May 20, 2020, 5:38pm UTC](https://community.glideapps.com/t/duplicate-record-being-created-while-registration/9483/8 "2020-05-20T17:38:58Z")

</div>

Can you show any screenshots? What by there being "no data in the profile’ if you are saying that glide is adding an email to the sheet when a new user signs in? If you don’t want to use the edit button, you can add entry componets instead, which will allow direct entry and instant updating of fields in the profile sheet without having to go through the edit screen.

---

<div class="post-metadata">

**Author:** ![aha\_education](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aha_education/32/6343_2.png) [@aha\_education](https://community.glideapps.com/u/aha_education)\
**Post date:** [May 20, 2020, 6:02pm UTC](https://community.glideapps.com/t/duplicate-record-being-created-while-registration/9483/9 "2020-05-20T18:02:50Z")

</div>

I think I solved it based on your inputs.

I removed the sign in component inside the menu tab.

I think that is what was creating duplicate records.

---

<div class="post-metadata">

**Author:** ![aha\_education](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aha_education/32/6343_2.png) [@aha\_education](https://community.glideapps.com/u/aha_education)\
**Post date:** [May 22, 2020, 11:50am UTC](https://community.glideapps.com/t/duplicate-record-being-created-while-registration/9483/10 "2020-05-22T11:50:18Z")

</div>

Hi Jeff,

Thanks a lot for the timely help. Could fix the issues based on your inputs. By linking registration to link screen the issue got fixed and it Works like a charm.
