I tried this as a test, and maybe I just had the syntax wrong, but I figured I'd ask instead of going down a dead-end.
When I associate a method to an event with BINDEVENTS, can I set it up to pass a parameter to my custom method?
For instance, I have a grid with 6 columns. I want to run a method when the CLICK event fires for each column header. But I want to pass the controlsource of the column associated with the heading being clicked.
The 'old' snippet code that I had in each column heading CLICK event was...
ThisForm.SortColumnHeading(This.Parent.ControlSource)
When I issue BINDEVENT statements up front for the column headings, can I 'pass ahead' a reference to the column heading's controlsource as a parameter?
Thanks,
Kevin