> In sql YorN is defined as a char, 10 Ah hah! You have extra hidden spaces in that field. Of course it will default to the else clause. You your assignment variable *should* be: vAnswer = trim(rsStuff("YorN")) Rob