R
Ralph
I am trying to set up a module that lets the operator
enter a month as a text variable in order to run a query
that gets data from an annual budget table where the
columns in the table are
named "July", "August", "September" etc. Each month they
would enter the month needed and the query would process.
I tried building the query and using the "var" function
for the column name, then I built a module and defined the
variable to the name in the query but I get the error "too
few paramters. Expected 1" I am using QUERYdefs to assign
and run the query. It works fine if I don't try to use a
variable. Any ideas (besides 'give-up)(Ha!) would be
appreciated. Many thanks!!!!!!!!!
enter a month as a text variable in order to run a query
that gets data from an annual budget table where the
columns in the table are
named "July", "August", "September" etc. Each month they
would enter the month needed and the query would process.
I tried building the query and using the "var" function
for the column name, then I built a module and defined the
variable to the name in the query but I get the error "too
few paramters. Expected 1" I am using QUERYdefs to assign
and run the query. It works fine if I don't try to use a
variable. Any ideas (besides 'give-up)(Ha!) would be
appreciated. Many thanks!!!!!!!!!