M
Michael
Hi All,
I posted here yesterday regarding this problem thinking it
was related to
Microsoft Knowledge Base Article - 304098
ACC2000: Custom Function Called by a Query Runs Multiple
Times on a Computer Running Windows 2000 SP1
but now I'm not so sure as the problem above relates to
calling a custom fuction from the criteria of a query and
Ive installed sp8 as it suggests.
Can someone please tell me if I'm doing something wrong.
If I call the following query it calls test once as it
should.
SELECT test() AS Expr1
FROM KeyTable;
However as soon as I stick a parameter in like below which
I need to do in my real query.
PARAMETERS test Short;
SELECT test() AS Expr1
FROM KeyTable;
It runs the function test 3 times.
Is this a bug in access and can it be fixed or have I done
something wrong?
test is defined as
Function Test()
Debug.Print "Testing the Function."
End Function
Im running Windows 2000 (sp3) and access 2000 (jet 4.0 sp8)
Thanks.
I posted here yesterday regarding this problem thinking it
was related to
Microsoft Knowledge Base Article - 304098
ACC2000: Custom Function Called by a Query Runs Multiple
Times on a Computer Running Windows 2000 SP1
but now I'm not so sure as the problem above relates to
calling a custom fuction from the criteria of a query and
Ive installed sp8 as it suggests.
Can someone please tell me if I'm doing something wrong.
If I call the following query it calls test once as it
should.
SELECT test() AS Expr1
FROM KeyTable;
However as soon as I stick a parameter in like below which
I need to do in my real query.
PARAMETERS test Short;
SELECT test() AS Expr1
FROM KeyTable;
It runs the function test 3 times.
Is this a bug in access and can it be fixed or have I done
something wrong?
test is defined as
Function Test()
Debug.Print "Testing the Function."
End Function
Im running Windows 2000 (sp3) and access 2000 (jet 4.0 sp8)
Thanks.