Results 1 to 2 of 2
  1. #1
    Miskwissen is offline Junior Member
    Join Date
    Dec 2009
    Posts
    1

    Default Uplan programming question.

    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!

  2. #2
    JasonSpr is offline Senior Member
    Join Date
    Nov 2009
    Location
    Edmonton, Ab
    Posts
    115

    Default

    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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Sponsors