June 3, 200322 yr 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 -------------- 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!
June 4, 200322 yr 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.
June 4, 200322 yr 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 ?
June 4, 200322 yr Author "since you outlined the solution, where is your problem?" well 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 Thank you for the posts....give me some time to digest and I am sure I will be back to bother you some more thank you again!
June 4, 200322 yr 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.
June 7, 200322 yr Take a look at Navigator by Nico Kuilmann ftp://ftp.fmfiles.com/download/open/Navigator.sit ftp://ftp.fmfiles.com/download/open/Navigator.zip or at Smart Tabs by mikhail Edoshin http://www.onegasoft.com
Create an account or sign in to comment