Hi.
I've made a copy of an Access 2.0 database and converted it to Access 97. A particular report now refuses to run - the offending lines are the following...
ReDim Preserve li_PAmount(li_POS) As Double
ReDim Preserve li_AAmount(li_POS) As Double
...and further down...
li_PAmount(li_POS) = 0
li_AAmount(li_POS) = 0
When I try to run the report, it dumps me into code with the error: "Compile Error: Variable not defined". When I comment out the particular lines, the report runs however I'm concerned that something will potentially go wrong in the future. After all, those lines are there for a reason!
I assume I'm missing a library - how do I fix this?
I've made a copy of an Access 2.0 database and converted it to Access 97. A particular report now refuses to run - the offending lines are the following...
ReDim Preserve li_PAmount(li_POS) As Double
ReDim Preserve li_AAmount(li_POS) As Double
...and further down...
li_PAmount(li_POS) = 0
li_AAmount(li_POS) = 0
When I try to run the report, it dumps me into code with the error: "Compile Error: Variable not defined". When I comment out the particular lines, the report runs however I'm concerned that something will potentially go wrong in the future. After all, those lines are there for a reason!
I assume I'm missing a library - how do I fix this?