Quantcast
Channel: DIAdem topics
Viewing all articles
Browse latest Browse all 3196

Text formating TDR if condition

$
0
0

Hi everyone.

 

Until now I was able to get some values and data in the TDR in function of the file I open, which is nice. However, I would love to write a specific text in function of the file I open.

 

Example, the file I open has a format x_y_z is called 1_2_3

 

I want then if x = 1 the title will be for example "First test type", if x = 2, "Second test type" etc. Same for the other ones. (y = 1, "DOW", y = 2, "GVW")  etc.

 

I managed to get the numbers with a split, for example for the run number, I take the last value like this:

@@Split(data.Root.Name, "_", -1, VBTextCompare)(Ubound(split(data.Root.Name, "_", -1, VBTextCompare)))@@

 

Any suggestion? Thanks,


L911


Viewing all articles
Browse latest Browse all 3196

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>