# FileDropCombo how not to Add when Blank and Auto Number is Zero

**URL:** <https://clarionhub.com/t/filedropcombo-how-not-to-add-when-blank-and-auto-number-is-zero/6470>\
**Category:** questions\
**Tags:** filedropcombo\
**Created:** [August 7, 2023, 7:00pm UTC](https://clarionhub.com/t/filedropcombo-how-not-to-add-when-blank-and-auto-number-is-zero/6470 "2023-08-07T19:00:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tgulden](https://clarionhub.com/user_avatar/clarionhub.com/tgulden/32/6163_2.png) [@tgulden](https://clarionhub.com/u/tgulden)\
**Post date:** [August 7, 2023, 7:00pm UTC](https://clarionhub.com/t/filedropcombo-how-not-to-add-when-blank-and-auto-number-is-zero/6470/1 "2023-08-07T19:00:59Z")

</div>

Hi everyone

I have an update Form to register projects. In the Form, I have a FileDropCombo for contact persons based on the projects customer. The FileDropCombo automatically adds new contact persons if you write a new name in that field. This works fine. You can use an existing contact person from the list, or you can add a new one. The contact table autonumbers a unique ID number.

But if you leave the contact field empty, an empty contact person with 0 as ID number is added.

Does anyone have an idea how to avoid adding when the contact name is empty?

---

<div class="post-metadata">

**Author:** ![Marius\_Nel](https://clarionhub.com/user_avatar/clarionhub.com/marius_nel/32/2309_2.png) [@Marius\_Nel](https://clarionhub.com/u/Marius_Nel)\
**Post date:** [August 8, 2023, 3:29am UTC](https://clarionhub.com/t/filedropcombo-how-not-to-add-when-blank-and-auto-number-is-zero/6470/2 "2023-08-08T03:29:49Z")

</div>

Hi,

Add required to the properties of the entry field on the screen?

---

<div class="post-metadata">

**Author:** ![tgulden](https://clarionhub.com/user_avatar/clarionhub.com/tgulden/32/6163_2.png) [@tgulden](https://clarionhub.com/u/tgulden)\
**Post date:** [August 8, 2023, 6:51pm UTC](https://clarionhub.com/t/filedropcombo-how-not-to-add-when-blank-and-auto-number-is-zero/6470/3 "2023-08-08T18:51:55Z")

</div>

It would simply solve the problem, but I was hoping to avoid it.

---

<div class="post-metadata">

**Author:** ![JonW](https://clarionhub.com/user_avatar/clarionhub.com/jonw/32/1344_2.png) [@JonW](https://clarionhub.com/u/JonW)\
**Post date:** [August 10, 2023, 5:53pm UTC](https://clarionhub.com/t/filedropcombo-how-not-to-add-when-blank-and-auto-number-is-zero/6470/4 "2023-08-10T17:53:59Z")

</div>

Doesn’t happen on my machine. Looking at the code for TakeAccepted for the filedropcombo, it doesn’t do anything unless a) you are on the entry field (not just flicked the arrow button) and b) you are not in AcceptAll mode on the window. So you should be able to go in and out of your form without anything happening in the contact file.

Maybe you’ve done something weird and added in a call to prime the contact somewhere it shouldn’t be?
