V
ValerieA
I have a 2000 database, I'm using Access 2003 for development, customer is
using 2000.
On a form, user chooses items from a list then clicks the select button. I
read the list box and make a text string that includes all the values. In my
query (which fills in the next form) I have a field that uses the InStr
function and my text string to determine whether a record should be included
or not.
When the customer selects all the values in the list box, no is selected.
When he leaves one unselected (doesn't matter which) the query selects the
correct data. We shortened the list and it did the same thing -- when all
were selected, no data, when one was unselected, it worked. Of course, mine
works fine every time.
What would be the difference? Is there a limit on the string length that
InStr checks in either 2000 or 2003? Is there another way to do this?
Should I ask the customer to upgrade his Access?
Valerie A
using 2000.
On a form, user chooses items from a list then clicks the select button. I
read the list box and make a text string that includes all the values. In my
query (which fills in the next form) I have a field that uses the InStr
function and my text string to determine whether a record should be included
or not.
When the customer selects all the values in the list box, no is selected.
When he leaves one unselected (doesn't matter which) the query selects the
correct data. We shortened the list and it did the same thing -- when all
were selected, no data, when one was unselected, it worked. Of course, mine
works fine every time.
What would be the difference? Is there a limit on the string length that
InStr checks in either 2000 or 2003? Is there another way to do this?
Should I ask the customer to upgrade his Access?
Valerie A