I have a BASIC macro that displays a report from a BASE app and reads and writes in some report footer cells.
Macro works OK if page footer contains only “one row” (1 label control and, next to it, 1 numeric textbox containing a “calculated running total” with same height). oData() = tbl.getDataArray()
and oData(0)(1) = "has the value:" & oData(0)(3)
tbl.setDataArray( oData())
work as expected. The label changes to “has the value:XXXX”
If the page contains controls in a second row then oData() = tbl.getDataArray()
crashes the app. I created a simplified odb but I have no points to upload it.
`