O
Orlanzo
Hello All,
I've come across a curious issue I've not encountered in the past. A
function within a query appears to be called whenever the screen is
repainted.
The query runs fine and returns a set of fields for each record. One column
calls a function based on the solution described in the following Microsoft
knowledge base article:
ACC: Adding Dynamic Counter to Query to Count Records
http://support.microsoft.com/kb/94397/en-us
Once the query results are returned, minimize and maximize the query window.
Notice the values within the coumn derived from the function have changed.
You can also place another window in front of the query results too and cause
similar behavior.
I referred to the another MS article which states the function should be
called only once.
ACC: Number of Times a Custom Function Runs in a Query
http://support.microsoft.com/kb/98788/en-us
Any help you can provide would be appreciated.
Kind regards,
Orlanzo
I've come across a curious issue I've not encountered in the past. A
function within a query appears to be called whenever the screen is
repainted.
The query runs fine and returns a set of fields for each record. One column
calls a function based on the solution described in the following Microsoft
knowledge base article:
ACC: Adding Dynamic Counter to Query to Count Records
http://support.microsoft.com/kb/94397/en-us
Once the query results are returned, minimize and maximize the query window.
Notice the values within the coumn derived from the function have changed.
You can also place another window in front of the query results too and cause
similar behavior.
I referred to the another MS article which states the function should be
called only once.
ACC: Number of Times a Custom Function Runs in a Query
http://support.microsoft.com/kb/98788/en-us
Any help you can provide would be appreciated.
Kind regards,
Orlanzo