D
Dietrich Schäffler
Dear all,
I implemented a function "MyTestFunction (Value AS String) AS Boolean" in
the Module section of Access 2003 which returns either True or False (the
boolean constant) depending on the value passed to the function is in line
with some rules implemented in the function or not.
I added an extra row in the query definition grid "IsValid: MyTestFunction
([NAME])". If I execute the query the True and False results are shown
correctly (-1, 0) for all test values.
Now the query should display only the rows which fail the test. I inserted
the value False into the Criteria area - which is converted to Falsch as I'm
using the German version of Access. If I execute the query now, I receive
the error message 3464 (Type mismatch in criteria range ...). The same is
true if I use 0 (zero, without any quotes) as the criteria.
Any help is highly appreciated.
Best regards.
Dietrich Schäffler
HILTI AG
Schaan - Liechtenstein
I implemented a function "MyTestFunction (Value AS String) AS Boolean" in
the Module section of Access 2003 which returns either True or False (the
boolean constant) depending on the value passed to the function is in line
with some rules implemented in the function or not.
I added an extra row in the query definition grid "IsValid: MyTestFunction
([NAME])". If I execute the query the True and False results are shown
correctly (-1, 0) for all test values.
Now the query should display only the rows which fail the test. I inserted
the value False into the Criteria area - which is converted to Falsch as I'm
using the German version of Access. If I execute the query now, I receive
the error message 3464 (Type mismatch in criteria range ...). The same is
true if I use 0 (zero, without any quotes) as the criteria.
Any help is highly appreciated.
Best regards.
Dietrich Schäffler
HILTI AG
Schaan - Liechtenstein