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 FM people!

I have one problem which is probably simple to solve but so far solution eluded me.

I have a dropdown text field which offers a list of years (Table::Years). This is global field.

I have very simple find script:

Enter Find Mode [Pause: Off]
Set Field [Table::Order Date; Table::Years]
Constrain Found Set [ ]

Table::Order Date is a date field.

Idea is to perform find according to the value chosen from a dropdown list. However, this does not work. I'm getting "provided find criteria not valid".

But, if I enter manually one of the years from the list, It works. Same is valid if I write down a year in the script e.g. Set Field [Table::Order Date; 1980].

Set Field [Table::Order Date; Table::Years] itself works when in browse mode, but in find mode, nope

This is I guess a format issue, so I tried several combinations changing fields to text or date but without success.

Any help is appreciated

Edited by Sinky

Is Table::Years a global field? If not, then it has no value once you have entered Find mode and your Set Field step does nothing. 

I am also puzzled why it is named Years. Can it contain more than one year? If so, you cannot use it for find just as it is. 

 

Edited by comment

  • Author

Yes...it's global field. It's called "years" because it's a dropdown list that contains a list of years.

 

Edited by Sinky

16 minutes ago, Sinky said:

Yes...it's global field

Then I don't know how to reproduce your problem.

 

16 minutes ago, Sinky said:

It's called years because it's a dropdown list that contains a list of years.

A field does not contain a dropdown list. It contains the value (or the values) you have selected from the drop-down list attached to the field.

 

  • Author

You're right....so, the field contains one value which is chosen via drop-down list attached to the list

Tnx for trying!

  • Author

For what is worth, I think I found the source of the problem. Table::Years field was not included in the Table view layout. 

1 minute ago, Sinky said:

I think I found the source of the problem. Table::Years field was not included in the Table view layout. 

If it was not on the layout, then how did you make the selection?

In any case, that cannot be the cause of the problem you described. The Set Field [] script step works entirely at the data level and does not depend on the presence of any field on any layout.  

 

  • Author

The filed was on the Form layout.

Well, you're right.... I can't recreate the problem but I don't understand how I managed to solve it.

😑

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.