I was playing around today and found something that is odd to me.
If I set my query criteria to "Like [Forms]![FrmName]![Text0]"
it will work as long as it is simple. For example, I'm running the query against a table and my criteria is for the TableID column (1, 2, 3, etc). As long as I use "1" or "2" I'm fine. But for some reason when the text box has "1 Or 2" in it, or "*" (Literally "*") or any of the other logic operations it fails and gives no results. Is there a reason for this? Does it have something to do with the how the query changes in sql ?
If I set my query criteria to "Like [Forms]![FrmName]![Text0]"
it will work as long as it is simple. For example, I'm running the query against a table and my criteria is for the TableID column (1, 2, 3, etc). As long as I use "1" or "2" I'm fine. But for some reason when the text box has "1 Or 2" in it, or "*" (Literally "*") or any of the other logic operations it fails and gives no results. Is there a reason for this? Does it have something to do with the how the query changes in sql ?