I have a query criteria where the data in the query field are numbers.
the following works as long as I have a value in the textbox otherwise I get an error message stating, this expression is typed incorrectly blah blah.
also tried
yet I use the following script for another column which has identical data and it works fine either way and I can use it in the other column and it works with or without data in the textbox
the following works as long as I have a value in the textbox otherwise I get an error message stating, this expression is typed incorrectly blah blah.
Code:
Like [FORMS]![FONMain]![txtTest15] Or [FORMS]![FONMain]![txtTest15] Is Null
Code:
[FORMS]![FONMain]![txtTest15] Or [FORMS]![FONMain]![txtTest15] Is Null
Code:
Like [Forms]![FONMain]![txtFact1] Or [Forms]![FONMain]![txtFact2] Or [Forms]![FONMain]![txtFact3] Or [Forms]![FONMain]![txtFact4] Or [Forms]![FONMain]![txtFact5] Or [Forms]![FONMain]![txtFact6] Or [Forms]![FONMain]![txtFact7] Or [Forms]![FONMain]![txtFact8] Or [Forms]![FONMain]![txtFact9] Or [Forms]![FONMain]![txtFact10] Or [Forms]![FONMain]![txtFact11] Or [Forms]![FONMain]![txtFact1] Is Null Or [Forms]![FONMain]![txtFact2] Is Null Or [Forms]![FONMain]![txtFact3] Is Null Or [Forms]![FONMain]![txtFact4] Is Null Or [Forms]![FONMain]![txtFact5] Is Null Or [Forms]![FONMain]![txtFact6] Is Null Or [Forms]![FONMain]![txtFact7] Is Null Or [Forms]![FONMain]![txtFact8] Is Null Or [Forms]![FONMain]![txtFact9] Is Null Or [Forms]![FONMain]![txtFact10] Is Null Or [Forms]![FONMain]![txtFact11] Is Null