>I incurred the strangest error when I tried to create a report: Subscript Out of Range. I thought that this error was only if you do not dimension arrays properly. Can someone answer this question???
>
>TIA
I got that when I printed an array member based on an index into it stored in a table, i.e. the report field expression contained something like
SomeArray[alias.field]
Though I made sure the field always contained proper values, there were always some imported, old, or simply bad data with field empty, which evaluates to zero, which can't be an index into an array. I've written a simple function to call instead, and it checked for bounds and returned a proper array element. I think I've posted it already.