I don't have VFP at hand - does the DBC() function include the path?
>SET DATABASE TO
>SET DATABASE TO MyDBC
>
>and add code in the database activate event.
>
>>Is there a way to determine the path of an open database after it has been opened?
>>
>>regards
>>Geoff Scott
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)