Jump to content

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

Recommended Posts

Posted

How would I calculate a field so that it enters another field value if it is empty?

I know this is simple, but I have never done this. Is it under auto enter or validation?

Posted

So what you want is a second field that has it's value set depending on whether or not the first field is empty? That's not too difficult. Just have the 2nd field be a calculation with an if statement in it. A double set of quotes equals empty.

field2=if(field1="", "it's empty", "it's full")

Posted

Actually, I want the second field to display what is in the first field if nothing has been entered into the second.

How about this: If a certain checkbox is clicked, then the second field displays what is in the first field?

Posted

Or to make it more complicated:

there are three fields with a checkbox over them.

If the checkbox is checked over one, it sets a fourth field to that value and removes any other checks.

And if none are checked, then the fourth field uses the first value.

Does that make any sense?

Posted

And if none are checked, then the fourth field uses the first value.

Does that make any sense?

If none are checked, there is no value in the first field. confused.gif

If you want to get the first value of a value list if none is checked, here is one solution.

Create a concanated field for value 1,2 and 3 c_concanate = Field1 & " " &Field2 & " " &Field3

With value list checkbox Yes No

c_field4 = Case(IsEmpty(c_concanate), Left(ValueListItem(Status(CurrentFile), "yourvaluelistname"), 3*), Case( not IsEmpty(Field 1),Field 1, Case( not IsEmpty(Field 2), Field 2, Case( not IsEmpty(Field 3), Field 3))))

*3 for Yes

This topic is 8011 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.