I have an Access 2003 database that uses last name as primary key.
I have a webpage I'm developing that will search the database based on names in a drop down list.
There are duplicate last names, eg Smith, Brian and Smith, Jack in the database.
Can I imbed an unprintable character in the dropdown list name and database name fields for a record to distinguish it from the other, so then one searches for Brian Smith, that one will show up instead of Jack Smith?
Example from the dropdown, where x = unprintable character:
<option value="Smithx">Brian Smith</option>
<option value="Smith">Jack Smith</option>
If so, how would I do that, just add a 'cntl-C' unprintable character for 'End of Text' or some other character? Any other solutions?
Thanks.
I have a webpage I'm developing that will search the database based on names in a drop down list.
There are duplicate last names, eg Smith, Brian and Smith, Jack in the database.
Can I imbed an unprintable character in the dropdown list name and database name fields for a record to distinguish it from the other, so then one searches for Brian Smith, that one will show up instead of Jack Smith?
Example from the dropdown, where x = unprintable character:
<option value="Smithx">Brian Smith</option>
<option value="Smith">Jack Smith</option>
If so, how would I do that, just add a 'cntl-C' unprintable character for 'End of Text' or some other character? Any other solutions?
Thanks.