Is there a way to make a procedure just when the form is loaded, something like after_form_load()....????

I use a MSRDC with a MSFlexGrid, and in the form load, the MSRDC connect to the DB, but I can't retrive the data in the grid, some how it don't refresh, so I want to do it just when the form load finished.

Thank you