>this what i did
>i set the form's dataenvironment auto-open files = .f.
>if the forms load event
> thisform.dataenvironment.cursor[n].database = "g:\test\test.dbc"
> thisform.dataenvironment.opentables()
----------------
Thanks Rajatkanti... I will try your code ... :)