# Copy a date-time-range to another field in the same db using buttons

**URL:** <https://community.fibery.io/t/copy-a-date-time-range-to-another-field-in-the-same-db-using-buttons/8269>\
**Category:** Get Help\
**Created:** [February 14, 2025, 1:58pm UTC](https://community.fibery.io/t/copy-a-date-time-range-to-another-field-in-the-same-db-using-buttons/8269 "2025-02-14T13:58:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tom](https://avatars.discourse-cdn.com/v4/letter/t/3d9bf3/32.png) [@Tom](https://community.fibery.io/u/Tom)\
**Post date:** [February 14, 2025, 1:58pm UTC](https://community.fibery.io/t/copy-a-date-time-range-to-another-field-in-the-same-db-using-buttons/8269/1 "2025-02-14T13:58:15Z")

</div>

Hi!

I am exploring automations using buttons in Fibery.  
Trying and looking at the docs I didn’t find the solution yet or it requires some more time to understand.

For my use-case I want to do the following.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/4/4842014fe144bafb88e505cab1eeaa6480f73937.png)

click the ‘realize’ button to copy the planned field into the actual field.  
Is this possible, or can you point me to the steps/guide that I missed?

Thanks in advance,  
Tom

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [February 14, 2025, 2:18pm UTC](https://community.fibery.io/t/copy-a-date-time-range-to-another-field-in-the-same-db-using-buttons/8269/2 "2025-02-14T14:18:01Z")

</div>

You will want the action to be Update and the field to be updated chosen as Actual. Then use a formula for the value:  
`[Step 1 Xxx].Planned`  
where `Xxx` is the name of the entity type.

---

<div class="post-metadata">

**Author:** ![Tom](https://avatars.discourse-cdn.com/v4/letter/t/3d9bf3/32.png) [@Tom](https://community.fibery.io/u/Tom)\
**Post date:** [February 14, 2025, 2:26pm UTC](https://community.fibery.io/t/copy-a-date-time-range-to-another-field-in-the-same-db-using-buttons/8269/3 "2025-02-14T14:26:58Z")

</div>

That was extremely easy, just the interface I have to get use to, thank you for the quick reply.

Would there be a way to ‘inline’ test the outcomes an automation? via the button interface or another way in Fibery?

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [February 14, 2025, 4:52pm UTC](https://community.fibery.io/t/copy-a-date-time-range-to-another-field-in-the-same-db-using-buttons/8269/4 "2025-02-14T16:52:04Z")

</div>

> [@Tom](#):
>
> Would there be a way to ‘inline’ test the outcomes an automation?

Not sure what you mean.

If you want, you can get to editing a button directly from entity view by clicking the triple dots next to the button itself.

I personally find it easy to open a single record, play with field values/button pressing, and then hop in and out of button config as needed.

---

<div class="post-metadata">

**Author:** ![Tom](https://avatars.discourse-cdn.com/v4/letter/t/3d9bf3/32.png) [@Tom](https://community.fibery.io/u/Tom)\
**Post date:** [February 18, 2025, 4:24pm UTC](https://community.fibery.io/t/copy-a-date-time-range-to-another-field-in-the-same-db-using-buttons/8269/5 "2025-02-18T16:24:34Z")

</div>

My question was a bit vague, but I got the answer I think: make the automation and test the behavior on a single entry.

Meaning there is no place/or interface that I am directly able to see an example of the automation/script written as if it was a sort of IDE experience.

Thanks

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [February 20, 2025, 1:56pm UTC](https://community.fibery.io/t/copy-a-date-time-range-to-another-field-in-the-same-db-using-buttons/8269/6 "2025-02-20T13:56:24Z")

</div>


