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

I am filtering a portal where one method works and other other does not. 

 

WORKS

Case (
	IsEmpty ( table::globalTextField ) ; db_payment::id > 0 ;

	PatternCount ( table::globalTextField ; "/" ) > 1 ; 
	db_payment::date = GetAsDate ( table::globalTextField ) ;

	db_payment::invoice =  table::globalTextField or
	PatternCount ( db_payment::reference ; table::globalTextField ) > 0
)

 

 

DOES NOT WORK  

line 1 and 2 of case work but not line 3 

Let ( [
		txt = GetAsText ( table::globalTextField ) ;
		num = GetAsNumber ( table::globalTextField ) ;
		dte = GetAsDate ( txt ) ;
		dt = PatternCount ( txt ; "/" ) > 1
	] ;

	Case (
		IsEmpty ( txt ) ; db_payment::id > 0 ;
		dt = 1 ; db_payment::date = dte ;
		db_payment::invoice = num  or PatternCount ( db_payment::reference ; txt ) > 0
	)

)

 

I have simplified examples but ultimately I would prefer a Let function to allow for further options in my filter

 

Portal_filter_with_Let_function.zip

Edited by rivet

What is filter? It's not a field, and it's not defined as a variable.

  • Author

oops, It is a global text field, I have modified the original post

  • Author

I just attached a sample file to original post

Edited by rivet

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.