>Hi Dragan,
>
>>Gremlins working overtime?
>
>No. Me working overtime :-) :
>
>Discovered that THISFORM.GRID.COLUMNCOUNT was generating a syntax error which was the clue to finding
>
>#DEFINE COLUMNCOUNT 2
>
>in a .H file. Hence
>
>WITH THISFORM.GRID
> nCols = .ColumnCount
>ENWITH
>
>Arrgggh...
:)
A really innovative way of shooting yourself in the foot... we really should take a nap from time to time.