I have a textbox which accepts numbers and commas. However, i want to check when someone enters anything that is not equaled to either. This is what i have now but the code is wrong. Please help. Thanks<BR><BR>If IsNumeric(mid(reportid, i , 1) or mid(reportid, i ,1) = "," or mid(reportid, i ,1 ) = " ") Then<BR> response.write "&#060;b&#062;That ReportID you entered is not a proper Report id&#060;/b&#062;"<BR> &#039do nothing<BR> For i = 1 to Len(reportid)<BR> response.write "The ReportID does not exist"<BR> Next<BR> Else<BR> &#039print error and quit<BR> &#039response.write<BR> response.end<BR> End If