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

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

Recommended Posts

Posted

Hello Gurus!

Here is another of my ignorat posts .... I hope you can advise.

The scenarion:

-layout MAIN: has 3 fields (Field1, Field2,Field3) that will "take" some text.

-Layout 1: is a tab based navigation but I would like to generate these tabes based on the content of the Fields 1-3

so:

eg. (in some crazy theory)

----------theory smile.gif --------------

Loop

For as many fields (3 in this case)

IF Field_1 is Empty THEN

write nothing (don't create a tab on the Layout 1)

ELSE

Go to Layout 1

write/make a button- "tab with a label that = content of the Field_1"

End Loop

--------------------------------

so If I enter a text "Joe" in the field_1 -layout Main I would like to after go to the Layout 1 and make a button-tab like with a text(label) of "Joe"

I hope all this makes sense to all of you nice people out_there

and AGAIN THANK YOU!

Posted

since you outlined the solution, where is your problem?

buttonlabel1=Case(not isempty(Field1),Field1,

not isempty(Field2)Field2, ....,"")

now have 3 calculated containerfields if(not isempty(buttonlabel1, tabgraphic,"") ...

and place the placeholder for buttonfield1 on the tab.

Posted

Sure, no need for a script here.

Well, now let me bounce on it a little;

When in find mode, a global or a calulation won't show. I worked on a multi-language solution of my files lately and had terrible disappointments with this issue as all the translations were calculated "labels".

Is there anyway to have the label calculated and displayed in find mode ?

Posted

"since you outlined the solution, where is your problem?"

well smile.gif as I said I can conceptualize all of it..even usign SQL logic...but I know >="0" when it comes to scripts..that is why you see me pop up in here every so oftern smile.gif

Thank you for the posts....give me some time to digest and I am sure I will be back to bother you some more smile.gif

thank you again!

Posted

Is there anyway to have the label calculated and displayed in find mode ?

Sure - make it a <<placeholder>> of a global. But then you need scripts to set it.

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