Hi All,
Never came across this before:
In the Destroy() event of a grid I have:
WITH THIS
DIME GridLayout(.ColumnCount,2)
ENDWITH
which generated a 'subscript out of range' error. In an attempt to work out what was wrong I changed this to:
LOCAL NoCols
WITH THIS
m.NoCols = .ColumnCount
SET STEP ON
DIME GridLayout(m.NoCols,2)
ENDWITH
At the break the debugger shows:
.ColumnCount = 3
m.NoCols = 0.2
Stepping the dimensioning line, needless to say, produces the same 'out of range' error. I've tried the same thing with a basic new form and grid and don't see this behaviour. Any clues as to what may be happening in this specific case?
TIA,
Viv