I have recently taken over a database...and I am very new to this.
I am trying to run a report that is already built and it seems like the command that retrieves the information is not working properly.
the command that is not working:
strQuery = ba(1) & "'" & strProgram & "*'" & ba(3) & "'" & strProgram & "*'" & ba(5)
When I move my cursor over all of the commands it gives me a description of where the information is coming from...except for the ba(5): it says "subscript out of range"
Could this be my problem...or does anyone have any ideas???
I am trying to run a report that is already built and it seems like the command that retrieves the information is not working properly.
the command that is not working:
strQuery = ba(1) & "'" & strProgram & "*'" & ba(3) & "'" & strProgram & "*'" & ba(5)
When I move my cursor over all of the commands it gives me a description of where the information is coming from...except for the ba(5): it says "subscript out of range"
Could this be my problem...or does anyone have any ideas???