Below is a row from a recordset I pull from a SQL2K database. The date is between the quotes (NOT the quotes or parenthesis.)
('A ') ('Z-11-C-F-80 ') ('\\Dell2400\KPDP2\Layouts\FORMAT SENIORS\Z-11-C-F-80.txt ')
I enclosed the data in quotes to better see the trailing spaces that appear. I am trying to do a find on a recordset with as many as 20 records, but the trailing space is throwing it off. For instance, if I search for A itself in the first column, I get 0 results. If I go with a wildcard, I get the wrong record. What can I do?
('A ') ('Z-11-C-F-80 ') ('\\Dell2400\KPDP2\Layouts\FORMAT SENIORS\Z-11-C-F-80.txt ')
I enclosed the data in quotes to better see the trailing spaces that appear. I am trying to do a find on a recordset with as many as 20 records, but the trailing space is throwing it off. For instance, if I search for A itself in the first column, I get 0 results. If I go with a wildcard, I get the wrong record. What can I do?