V
Vince
Is it possible to utilize a user-defined function in a query where the
function name exists in multiple modules?
I have setup 2 modules modEmployees and modDepartments. Each has a
recCount function that returns the number of rows in the tblEmployees
and tblDepartments tables respectively.
When I try to utilize either function in a query, I get an error of
"Ambiguous name". I can live with that. However, when I try to add
which module the function comes from ( i.e. modEmployees.recCount() ) I
get an "Undefined function 'modEmployees.recCount' in expression error.
Is there a way around this? I really dont want to rename the function
modEmployees.employeeRecCount as it does not fit into my naming
convensions. This is just an example, I realize that I can create a
single function which takes the name of the table and returns the
record count, but I just used this very simple example to illustrate
the issue.
Thanks.
function name exists in multiple modules?
I have setup 2 modules modEmployees and modDepartments. Each has a
recCount function that returns the number of rows in the tblEmployees
and tblDepartments tables respectively.
When I try to utilize either function in a query, I get an error of
"Ambiguous name". I can live with that. However, when I try to add
which module the function comes from ( i.e. modEmployees.recCount() ) I
get an "Undefined function 'modEmployees.recCount' in expression error.
Is there a way around this? I really dont want to rename the function
modEmployees.employeeRecCount as it does not fit into my naming
convensions. This is just an example, I realize that I can create a
single function which takes the name of the table and returns the
record count, but I just used this very simple example to illustrate
the issue.
Thanks.