>I have a grid that I want to set the columns based off the table fields programmatically. Anyone know how I can do that?
In addition to Wilfreds offer, you can create a "generic" cursor prior to the grids init event. Define the cursor as required for the specific process it requires. The grid's recordsource would always reference that cursors name. The fields and column count would be automatically mananged by the grid. Of course, if specific things (like formats, etc) are required for specific column, then detailing would be required.
Imagination is more important than knowledge