>I can't figure out how to add this define class prg into my memgrid class. I would like to have the memgrid be able to be dropped on the form, fill in the recordsource, and have the builder take care of the rest.
No, it can't be done. Since the header is not definable as a visible class, it can not live at design time. It has to be programmatically added and configured at runtime.
I have sent you the code for my grid and header class. You'll have to sort throught the framework dependent stuff, but 75% of it is relevant.
Erik Moore
Clientelligence