Skip 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.

script to find records from today back 30 days?

Featured Replies

  • Newbies

Any help or suggestions appreciated..I have searched hard and solution is elusive.

thanks

If every record has a date, why dont you just search a date 30 days ago?

Hi homepress,

You might try:

Enter Find Mode [ ]

Insert Calculated Result [ dateField ; Status(CurrentDate) - 30 & "..." & Status(CurrentDate) ]

Perform Find [ ]

The datefield must be on the layout.

With vs. 7, you don't need the date field on the layout because you can use:

Enter Find Mode [ ]

Set Field [ dateField ; Get(CurrentDate) - 30 & "..." & Get(CurrentDate) ]

Perform Find [ ]

You will of course want to insert an Allow User Abort [ Off ] and Set Error Capture [ On ] at the beginning and trap for errors (such as no records found) yourself.

LaRetta wink.gif

One tweak: you need to enclose 'Status(CurrentDate) - 30' and 'Status(CurrentDate)' with DateToText( ).

Thanks JT. I'm having trouble remember pre-7 speak. I should have tested it - my apology for the error, Homepress - I was in a bit of hurry. As it was, I had to really think about what Get(CurrentDate) replaced. smile.gif

  • Author
  • Newbies

LaRetta:

Thanks. I tried the caculated result but I get digits (numbers) in the date field

instead of the dates...

  • Author
  • Newbies

Queue and Laretta:

Thank ya so much! Got it and learned a lot at the same time. You guys rock!

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.