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.

Featured Replies

Hi Guys

I have a problem perfoming a find in FM7.

I created a database in FM 6 for entering all my invoices.

I created a script that would let me see how much I had invoiced in any month and year. Within the script I used a "Set Field" function for the month and year. I had the 'Report Month' as a drop down menu with a value list laid ouy as follows.

1 - Jan

2 - Feb

3 - Mar..etc

In FM6 when I set this Global field as a number the find criteria would only pick up the number part of the field. Now in FM7 the find returns no found records. If I edit the value list to show the number only the find works. Is there another way I have to layout the value list in FM7 ?

Does anyone have a better way of finding records in a given month and year by performing a script?

Thanks a bunch

Steve

blush.gif

In the invoice date field on the find layout, you could enter the range you want, like 01/01/2004...01/31/2004 (for January). You could also write a script with buttons on the layout for each month; this would save you from entering date ranges. Even better would be to set up another related file with summary fields from the invoice table.

Number fields behave differently in 7. See here for more detail. Try using GetAsNumber(globalnumberfield) in your Set Field step.

Create an account or sign in to comment

Important Information

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

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.