Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

finding date range in portal

Featured Replies

Ok.

i have a portal that has a todo date, type, info, and notes.

i have a button that finds less than or equal to today from the portals todo date.

however, often it shows the first entry in the potral which could be tomorrow.

im very confused.. any help?

If you perform a find in the portal, if the date in any of the related records meet your find criteria, it will give the parent records as part of your result set.

If you want to only show records in your portal that are "less than or equal to today" then try to use some filtered portals or create a relationship based on gCurrentDate >= Yourdate, where gCurrentDate is a global field Date that you set upon startup.

  • Author

im not searching in the portal, im clicking a button that goes to a new layout that pulls records from the portal. (unless thats what you are talking about)

what are filtered portals, and how would i do what you are suggesting?

im not searching in the portal, im clicking a button that goes to a new layout that pulls records from the portal.

: I am not suure what you mean by this... You click a button and what exactly does that script do?

  • Author

here is my file. im not too good at explaining myself...

the record is an example when i click todo today what happens...

thebrianexp.zip

First, you need to sepcify the field that you are setting...

SetField [ToDo::Date; Get ( CurrentDate ) - 7 & ".." & Get ( CurrentDate ) ]

Second, your layout 'Info Todo' should be based off the 'toDo' table occurence not Employee.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.