All I'm wanting to do is check to see if the period has already been appended to the beginning of the customername text. If it has, then I want it to skip adding it again. I'm not sure what to put in the quotes after <> to show ".something". I thought it was %, but I guess not, because it's still adding it if the checkbox is checked.
I also tried, without any luck:VB Code:
If chkCustShipTo.Checked = True Then If txtCustomerName.Text <> ".%" Then ds.Tables("customer").Rows(inc).Item(0) = "." & txtCustomerName.Text End If Else End If
VB Code:
If txtCustomerName.Text <> "." & "%" Then
Thanks.





Reply With Quote