cd, if, for ex, the parameter name is FRED,
then &FRED0 will be the number of multi-selects the user has chosen.
&FRED1 will the the value of the first one,
&FRED2 will contain the value of the second one, etc.
trouble is, (in 527 anyway, not sure about v7), if the user only picks 1 choice, then &FRED contains that one choice and the variable &FRED0 doesn't exist, so you can't check it to see if its value is 1.
so you have to check to see if it exists first.
To cheat, you might, in your fex, DEFAULT &FRED0 = 0 ; As Tony says, there are alot of threads on this subject, you can search and read where other folks have explained this more clearly.
| In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID |