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.

Custom Value List Search (Month)

Featured Replies

I have simple database for school which has products and clients and then transactions.

I'm trying to perform a search by month and year. I have the year working fine but i want the pop-up menu for month to come up as the actual month names but then perform the find according to the corresponding month number (e.g. January will search for 1)

Is there a way to have a custom value list which comes up with one thing but searches for another or will i have to make a new bunch of fields in the transaction table?

Create a new field:

Month_Number =


Let( [

_month  = "Dec" ;  // or your monthfield

                                

_list = "Jan¶Feb¶Mar¶Apr¶May¶Jun¶Jul¶Aug¶Sep¶Oct¶Nov¶Dec"

] ; 

ValueCount( Middle( _list ; 1 ; Position( _list ; _month ; 1 ; 1 ) + Length( _month ) ) ) 

 )

  • Author

Thanks for your reply.

I fixed it myself after fiddling around for 15mins or so lol

I made a new field in the transactions called month name which was then calculated from one of the date functions, MonthName(Transaction Date) or something.

That made it so it came up with the month name rather than month number. Cheers for the quick reply anyway.

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.