R
rgrantz
Strange issue:
My "mid" function works in module windows (I can write a procedure that
returns a message box whose prompt is text looked up by the Mid function),
but when using Mid in the query builder window in the criteria cell, I get a
compile error.
I've only been able to find one proposed solution for this Access function
compile error on the 'net: Do the unchecking Missing References thing, etc.
I have no missing references, I have tried the unchecking all I can and then
rechecking them, I've tried adding a bunch, I've tried taking a bunch out
(no problems), but the Mid function (whose syntax is correct) always returns
the "Compile error. in criteria expression" error (and yes, there is that
period in the error message).
Is there some way to completely reset the VBA reference, or all references
(can't check/uncheck vba or DAO w/ access open)? Is there some weird
problem when Mid works in a module but not in the query criteria?
Using Access 2000 from Office 2000 Premium edition, when installed chose
"Run all from my computer", all on Windows 2000 Professional.
Any help is appreciated, thanks.
My "mid" function works in module windows (I can write a procedure that
returns a message box whose prompt is text looked up by the Mid function),
but when using Mid in the query builder window in the criteria cell, I get a
compile error.
I've only been able to find one proposed solution for this Access function
compile error on the 'net: Do the unchecking Missing References thing, etc.
I have no missing references, I have tried the unchecking all I can and then
rechecking them, I've tried adding a bunch, I've tried taking a bunch out
(no problems), but the Mid function (whose syntax is correct) always returns
the "Compile error. in criteria expression" error (and yes, there is that
period in the error message).
Is there some way to completely reset the VBA reference, or all references
(can't check/uncheck vba or DAO w/ access open)? Is there some weird
problem when Mid works in a module but not in the query criteria?
Using Access 2000 from Office 2000 Premium edition, when installed chose
"Run all from my computer", all on Windows 2000 Professional.
Any help is appreciated, thanks.