J
Joanne
Hello,
I have a table in a database, with a text field called "parties-appellant".
The user may enter one name in the field or they may enter several names,
each separated by a comma. I've asked the user to use a comma because I use
a Split function in the VBA code that is part of a form for which the table
is a source. When the user enters a single name into the parties appellant
field, the query in the form works fine. For instance, the user enters "John
Smith" in the field and the query behind the form searches for all instances
in the table where John Smith is the party appellant. But if there is a
parties-appellant field where there is a double entry like: John Smith, Bob
Harris, nothing is picked up. I use the TRIM command and the select
statement is correct. Am I supposed to format the field in the table to
allow for multiple entries?
I have a table in a database, with a text field called "parties-appellant".
The user may enter one name in the field or they may enter several names,
each separated by a comma. I've asked the user to use a comma because I use
a Split function in the VBA code that is part of a form for which the table
is a source. When the user enters a single name into the parties appellant
field, the query in the form works fine. For instance, the user enters "John
Smith" in the field and the query behind the form searches for all instances
in the table where John Smith is the party appellant. But if there is a
parties-appellant field where there is a double entry like: John Smith, Bob
Harris, nothing is picked up. I use the TRIM command and the select
statement is correct. Am I supposed to format the field in the table to
allow for multiple entries?