Running Variable-Named Functions with Arguments

L

LA Lawyer

I am trying to use a variable to run a function, which works fine with the
following command:

Run NameOfFunction

HOWEVER, when I try to add variable-named arguments, Access 2007 reports an
error message and fails.

I have tried:

Run NameOfFunction (Argument1, Argument2)
-- which Access accepts but fails on running

I have tried removing the parens ("(") but Access will not allow that
coding.

What should I be doing?
 
D

Daryl S

LA Lawyer -

If there are items you need to pass in to the function, then you need to do
something like this:

Run NameOfFunction, Argument1, Argument2
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top