I'm having trouble filtering results in a fairly simple query, I'm trying to filter the records by username. I have the query...
SELECT [tblorderinfo].[orderID], [tblorderinfo].[username], [tblorderinfo].[recepient_name], [tblorderinfo].[shipaddress1], [tblorderinfo].[shipaddress2], [tblorderinfo].[shipcity], [tblorderinfo].[shipstate], [tblorderinfo].[shipzip]
FROM tblorderinfo
WHERE ((([tblorderinfo].[username])=[strusername]));
when I enter a test user name that exists and run the query I do not get any results. However I can filter the results according to all the other fields! The username field is a text field with Indexed=NO and is the only field where I can't filter the results by.
Does anyone have any ideas why this might be happening.
Thank you in advance to anyone who can help me.
Jeevenze
SELECT [tblorderinfo].[orderID], [tblorderinfo].[username], [tblorderinfo].[recepient_name], [tblorderinfo].[shipaddress1], [tblorderinfo].[shipaddress2], [tblorderinfo].[shipcity], [tblorderinfo].[shipstate], [tblorderinfo].[shipzip]
FROM tblorderinfo
WHERE ((([tblorderinfo].[username])=[strusername]));
when I enter a test user name that exists and run the query I do not get any results. However I can filter the results according to all the other fields! The username field is a text field with Indexed=NO and is the only field where I can't filter the results by.
Does anyone have any ideas why this might be happening.
Thank you in advance to anyone who can help me.
Jeevenze