Compile error, when using debug window

Transentient

Registered User.
Local time
Today, 14:59
Joined
Sep 25, 2007
Messages
31
Hi

Not sure if this has been covered elsewhere, I have a functuion which generates a query to filter a table down to a specific record. Works fine.

However when I test the code in the debug window, including the two arguements to the function I get a message saying "Compile Error, Expected: =". If I limit the call in the debug window to one argument, no problems. Syntax for the call in the debug window is correct, i.e.

Function Name ("Arguement1", "Arguement2")

Arguements 1 & 2 are strings past by the calling code.

As mentioned, when run from the calling code, works fine, when from debug window get error. i have tested other functions I have with two past arguements, same error, although code work fine at run-time.

Any ideas?

Many thanx
 

Users who are viewing this thread

Back
Top Bottom