oCommand.CommandText = <sp_name>
Where <sp_name> is like some of the following. They're being seen as
whatever is read up to the non [A-Z/0-9] character, like "rptCost" fo rthe
first three and "rptCost2006" for the last.
rptCost Summary
rptCost - Total
rptCost North & South
rptCost2006/2007
My question would be is there a way in which I can use the stored
procedures, as they are? This would save renaming them all and recoding the
content of the Access application and as there are literally hundreds of
them in many applications would save an inordinate amount of time.
Many thanks.
I have no idea if this will work but you could try enclosing your
stored procedure names in brackets, [ ], as is done with reserved words.
Tried that and it made no difference.
:o(
q = "EXEC [My query name] " & ID & ";"
...perhaps it's only the sprocs with characters like the ampersand that are
still problematic for you after using the brackets....and wouldbe less work
to just change them?
Steve
"McKirahan" <Ne...@McKirahan.com> wrote in message
news:m9Odna66sJEM4BrY...@comcast.com...