I am writing the recordset in code.
I get the value the user types in on a from and then search a table for the records that match what the user types in.
The problem is that the value the user types in might have multiple hyphens in it. There are hyphens in the table also, but I keep getting a not found message.
Ex - user types in 01-G-AW-MISU
Ex - in table says 01-G-AW-MISU
They are the same but it doesn't find it.
Any suggestions as to why this happens? I do not know if you can't have hyphens in a search string.
I get the value the user types in on a from and then search a table for the records that match what the user types in.
The problem is that the value the user types in might have multiple hyphens in it. There are hyphens in the table also, but I keep getting a not found message.
Ex - user types in 01-G-AW-MISU
Ex - in table says 01-G-AW-MISU
They are the same but it doesn't find it.
Any suggestions as to why this happens? I do not know if you can't have hyphens in a search string.