N
Nikhil
Hi,
I have defined a module called "Utility Functions" in MS-Access. In
that module, I have defined a function called NullToZero.
I used this function in one of my stored Queries in Access. This works
fine when I run the query in Access itself.
Now, when I call the query from Visual Basic through an OleDbCommand
and an OleDbConnection, I get the exception: "undefined function in
expression"
Is there a special way to call Modules in Access from Visual Basic?
If I call the query from Visual Basic without NullToZero, it works
fine. But, I require that the values updated by my stored query writes
0 instead of Null values. Is there a way out? Or do I have to run the
query and then record by record update null values to 0?
Please let me know. Thanks!
I have defined a module called "Utility Functions" in MS-Access. In
that module, I have defined a function called NullToZero.
I used this function in one of my stored Queries in Access. This works
fine when I run the query in Access itself.
Now, when I call the query from Visual Basic through an OleDbCommand
and an OleDbConnection, I get the exception: "undefined function in
expression"
Is there a special way to call Modules in Access from Visual Basic?
If I call the query from Visual Basic without NullToZero, it works
fine. But, I require that the values updated by my stored query writes
0 instead of Null values. Is there a way out? Or do I have to run the
query and then record by record update null values to 0?
Please let me know. Thanks!