O
option#1
Ready?
I have an Access database (2000 format running on 2007) connecting through
an ODBC to PostgreSQL. Postgres queries are very particular i.e. case
sensitive. Now that we have that out of the way...here is the problem.
I am using a combo box in a form to assign a variable to a table. There are
three options available in the combo box. I won't go into detail...it is
entered like this:
option1;option2;option3;
Access removes the last semicolon...so now whenever the value is written to
the table it sees:
option3 <space><space><space><space><space> (spaces being actual spaces not
words.)
So when I query my table using 'option3' as a filter I get nothing because
technically it isn't there. I can go in and delete the spaces in the table
and everything is fine, but obviously this won't do. The spaces are not added
to any of the other options. I am guessing this is because the semicolon cuts
it off.
Thoughts. Suggestions...
I have an Access database (2000 format running on 2007) connecting through
an ODBC to PostgreSQL. Postgres queries are very particular i.e. case
sensitive. Now that we have that out of the way...here is the problem.
I am using a combo box in a form to assign a variable to a table. There are
three options available in the combo box. I won't go into detail...it is
entered like this:
option1;option2;option3;
Access removes the last semicolon...so now whenever the value is written to
the table it sees:
option3 <space><space><space><space><space> (spaces being actual spaces not
words.)
So when I query my table using 'option3' as a filter I get nothing because
technically it isn't there. I can go in and delete the spaces in the table
and everything is fine, but obviously this won't do. The spaces are not added
to any of the other options. I am guessing this is because the semicolon cuts
it off.
Thoughts. Suggestions...