SeanBoat-Moore
2 years agoQrew Trainee
List all records with date in a range
We have a table that lists everyone's upcoming time off, called team calendar. I'm trying to use Get Field Values to show me a list of everyone who has requested off at the same time.
The relevant fields are
------------------------------
Sean Boat-Moore
Hospitality Solutions Development Manager
NCR Corporation
sean.boat-moore@ncr.com | ncr.com
------------------------------
The relevant fields are
Type, fid 15
User, fid 7
Start Date (of Time off), fid 6
End Date (of Time off), fid 18
This is the formula I have now
ToText(GetFieldValues(GetRecords("{15.EX.'Vacation'}AND({6.OAF.'" & [Start Date] &"'}AND{6.OBF.'" & [End Date] & "'}) "), 7))
Unfortunately it's only showing me values where the start date matches the start date of the new request, where I need to get any request that occurs on that date, even if it's in the middle of a request range.
Thanks
Unfortunately it's only showing me values where the start date matches the start date of the new request, where I need to get any request that occurs on that date, even if it's in the middle of a request range.
Thanks
------------------------------
Sean Boat-Moore
Hospitality Solutions Development Manager
NCR Corporation
sean.boat-moore@ncr.com | ncr.com
------------------------------