Hi All,
I have a form that runs a sequence of queries that returns a number value (1,2,3... in sequential order). I want to take that number, and turn it into an IIF statement, that returns the TRUE field to be a text box that the user can input text into to 'custom' name that particular number.
For instance
1 = Offer1Name
2 = Offer2Name
etc
In Design view of my Select Query, In the FIELD cell, i am inputting the following:
IIF ([Min_Sequence Code] = 1, [Forms]![ListBuild]![Text_Offer1Name], "Error")
and it is not picking up the field.
Any Ideas? I tried adding '" '" around the form input, but it did not help. The error is in there just to spotcheck, and will later go all the way up to 10 different IIF statements linked together.
Thanks!
I have a form that runs a sequence of queries that returns a number value (1,2,3... in sequential order). I want to take that number, and turn it into an IIF statement, that returns the TRUE field to be a text box that the user can input text into to 'custom' name that particular number.
For instance
1 = Offer1Name
2 = Offer2Name
etc
In Design view of my Select Query, In the FIELD cell, i am inputting the following:
IIF ([Min_Sequence Code] = 1, [Forms]![ListBuild]![Text_Offer1Name], "Error")
and it is not picking up the field.
Any Ideas? I tried adding '" '" around the form input, but it did not help. The error is in there just to spotcheck, and will later go all the way up to 10 different IIF statements linked together.
Thanks!