Jump to content
Sign in to follow this  
nick_jp

Search for all records between (inclusive) two time fields.

Recommended Posts

I'm trying to search for all records between (inclusive) two time fields.

Two other fields are included in the search; date and userId.

I'm finding that the date and userId filter out other records correctly, but the time range filter doesn't.

Filter is: Set Field [EventRecords::Event_Time; "Events::gEventStartTime...Events::gEventEndTime"]

Any ideas? Event_Time field is indexed.

Share this post


Link to post
Share on other sites

I'm not sure why this isn't in it's own thread, but I'd say check your syntax. Maybe:

Set Field [EventRecords::Event_Time ; Events::gEventStartTime & "..." & Events::gEventEndTime]

Share this post


Link to post
Share on other sites

I thought it was related... on review I guess it's not. Apologies for that.

Anyway your suggestion works. TVM!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Who Viewed the Topic

    2 members have viewed this topic:
    WTM  ltwimberly 
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.