Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
? '11'='1'
For the moment.
Is it always '1', '2', '3', and '10'?
THIS.Column4.DynamicCurrentControl = "IIF(INLIST(JobRoll.Sno, '1 ', '2 ', '3 ', '10 '), 'Combo1', 'Text1')"
THIS.Column4.DynamicCurrentControl = "IIF(INLIST(JobRoll.Sno, '1 ', '2 ', '3 ', '10 '), 'Combo1', 'Text1')"
Olaf said:you very likely use the inexact string matching nature of VFP even completely unintentional, I'd keep it off and solve it in other ways, ie with adding trailing spaces in the comparison values.
Do Case
Case This.Parent.Parent.Column1.Text1.Value = '1 '
This.AddItem("Inside")
This.AddItem("Outside")
Case This.Parent.Parent.Column1.Text1.Value = '2 '
This.AddItem("Reverse")
This.AddItem("Surface")
Case This.Parent.Parent.Column1.Text1.Value = '4 '
Case This.Parent.Parent.Column1.Text1.Value = '10'
Endcase