Diesel Expression (automated sheet numbers)

Diesel Expression (automated sheet numbers)

Anonymous
Not applicable
741 Views
1 Reply
Message 1 of 2

Diesel Expression (automated sheet numbers)

Anonymous
Not applicable

I'm new to the forum, I'd like to know if alliance can help me with this diesel. I tried to copy the field, but the maximum I could do without this diesel line for the same test was not "stress" was 3 variables, please someone knows how to continue with more variables,

In the layout with the name (2332-S-40-01-P1) in the character number "14" eg. P = PRELIMILINARY, C = CONSTRUCTION, T = TENDER. I need at least another 10 variables but I can not grow more than 3.

$(IF,$(=,$(STRLEN,$(GETVAR,CTAB)),15),$(IF,$(EQ,$(SUBSTR,$(GETVAR,CTAB),14,1),P),PRELIMINARY,$(IF,$(EQ,$(SUBSTR,$(GETVAR,CTAB),14,1),C),CONSTRUCTION,$(IF,$(EQ,$(SUBSTR,$(GETVAR,CTAB),14,1),T),TENDER, ))),-)

 

Does anyone know how I can add more variables? Help Please.

Best Regards

0 Likes
742 Views
1 Reply
Reply (1)
Message 2 of 2

Paul_Gander
Advocate
Advocate

It appears that the length of diesel expressions in fields is limited to around 250 characters.
Would it be viable for you to create separate overlapping objects (text, mtext or attribute), each containing a field that tests for just one case and displaying either the appropriate word or a blank space?
Only the object that finds the matching character will be visible.