I have another somewhat related problem that I have immediately run into. I am creating my grid from the cursors field list. I am assigining all the grid and column properties in a loop through the fieldlist, which is working very well. Now I am trying to assign logic to the header click method (first time I have tried this).
My problem is that I am unsure how to populate the 'Click' method with the code I want to have executed. I have tried:
scan
.
.
thisform.grid1.column1.header.click = 'thisform.gridorder(this.parent.controlsource)'
.
.
endscan
This is causing an error telling me that 'Click is a method, event, or object.' I understand why I am getting this, but how do I get around it?
Thanks very much.