I know what I want to do, but I don't know the code to do it. I have a function that populates a MSFlexGrid control with data. What I want to do each time that I call the Populate(x as MSFlexGrid) function is to pass it the proper flexgrid to populate.

As you might be able to tell, I have the code already built into the function, but don't know how to pass it a flexgrid.

I tried Populate(my_control) but that didn't seem to work. What do I need to do to call this function?

Thanks!