Uplan programming question.

Miskwissen

New member
Hello!

I have a case where i need to pull multiple images based on different data in multiple fields from excel.

For example if I had 3 fields

Component|Letter#|Program

with different data

a|1|S
b|2|m
c|3|v

How would I direct it so it picked an image, based on the data that was in the individual field.

IE:
Pick

a|1|s

to place an image called a1s.jpg

Any help would be greatly appreciated!!

Thanks!
 
What you want to do is create a variable. Open up the variable, and you can use qlingo there as you would with Adors. Use an IF or SWITCH statement from the Qlingo templates, and tell it:

If A
X
else
If B
Y
else
If C
Z

Where X Y and Z are the names of your images.

Now go into your image Ador: instead of using "|>ImageAdor" use "@{variable}"

Now your image ador will read as X, Y, or Z, depending on the logic you put in the variable.

Cheers,
JG
 
   
Back
Top