For example: If you enter 1, then the form is filled out:
color = x
height = y
length = z
However, If enter 2, then the form is filled out:
color = a
height = b
length = c
Here is what I have written:
- Code: Select all
VERSION BUILD=1110311 RECORDER=CR
PROMPT set: !VAR1
SET !DATASOURCE H:\datasources\{{!VAR}}.csv
SET !DATASOURCE_COLUMNS 3
TAG POS=1 TYPE=SELECT FORM=NAME:changeform ATTR=NAME:color CONTENT={{!COL1}}
TAG POS=1 TYPE=SELECT FORM=NAME:changeform ATTR=NAME:height CONTENT={{!COL2}}
TAG POS=1 TYPE=SELECT FORM=NAME:changeform ATTR=NAME:length CONTENT={{!COL3}}
However, I have learned that PROMPT and DATASOURCE don't work together.
Any suggestions for workarounds?