Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 4511 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I have a simple conditional value list(which works fine) that lists some dynamic classifications. However if none of the classifications listed are appropriate I would like the user to be able to select "None". Is there a way to add a static value to this dynamic list?

  • 3 weeks later...
Posted

In FM12, you can define a calc field, type text, as


ExecuteSQL ( "SELECT myField FROM myTO"; "" ; "¶" ) & "¶None"

and use the field for creating the value list.

Posted

I have a simple conditional value list(which works fine) that lists some dynamic classifications. However if none of the classifications listed are appropriate I would like the user to be able to select "None". Is there a way to add a static value to this dynamic list?

You could define a calculation field (result is Text) =

List ( Classification ; "None" )




and use this field as the basis for your value list instead of the Classification field.







In FM12, you can define a calc field, type text, as

and use the field for creating the value list.


ExecuteSQL ( "SELECT myField FROM myTO"; "" ; "¶" ) & "¶None"

And when would this field be evaluated?

Posted

And when would this field be evaluated?

EDIT_EDIT: OK, maybe it really is calculated a bit too late …

This topic is 4511 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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