# How to get unique entries in equipment scheduler in vision?

**URL:** <https://forum.inductiveautomation.com/t/how-to-get-unique-entries-in-equipment-scheduler-in-vision/64197>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [September 17, 2022, 9:37am UTC](https://forum.inductiveautomation.com/t/how-to-get-unique-entries-in-equipment-scheduler-in-vision/64197 "2022-09-17T09:37:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dharani\_T](https://avatars.discourse-cdn.com/v4/letter/d/bc8723/32.png) [@Dharani\_T](https://forum.inductiveautomation.com/u/Dharani_T)\
**Post date:** [September 17, 2022, 9:37am UTC](https://forum.inductiveautomation.com/t/how-to-get-unique-entries-in-equipment-scheduler-in-vision/64197/1 "2022-09-17T09:37:47Z")

</div>

Hi,

I am using equipment scheduler in vision. I would like to have unique entries. For eg, if an user scheduled a machine from 17-09-2022 10:00 PM to 18-09-2022 11:00 AM, when another user tries to enter the same slot or if it falls between the previous slot, there should be an error message to be displayed.  
Is there any option available in component itself or should i have to handle it via db?  
Pic for reference,  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/b/dbce1cb14f7fcfc1c6a129d086ebf7cd90df4368.png)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 17, 2022, 2:08pm UTC](https://forum.inductiveautomation.com/t/how-to-get-unique-entries-in-equipment-scheduler-in-vision/64197/2 "2022-09-17T14:08:24Z")

</div>

Handle in the DB. Presumably another column for each event that indicates the user that scheduled it.

---

<div class="post-metadata">

**Author:** ![Dharani\_T](https://avatars.discourse-cdn.com/v4/letter/d/bc8723/32.png) [@Dharani\_T](https://forum.inductiveautomation.com/u/Dharani_T)\
**Post date:** [September 19, 2022, 4:07am UTC](https://forum.inductiveautomation.com/t/how-to-get-unique-entries-in-equipment-scheduler-in-vision/64197/3 "2022-09-19T04:07:02Z")

</div>

What if same user tries to enter again?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 19, 2022, 1:18pm UTC](https://forum.inductiveautomation.com/t/how-to-get-unique-entries-in-equipment-scheduler-in-vision/64197/4 "2022-09-19T13:18:07Z")

</div>

Update instead of insert.
