Yes
CLOSE DATABASES ALL
OPEN DATABASE (lcDataPath+'MyDBC')
SET DATABASE TO MyDBC
Regards
Geoff
>Just a thought
>
>Did you check the SET DATABASE TO command ?
>
>
>>Hi
>>
>>Sorry if this gets here twice, got an error.
>>
>>I am wanting to deploy local copies of my executable and am having a bit of trouble opening tables.
>>
>>When I want to use a database that is in a different location to where I developed is do I have to open the tables explicitly rather than use the data environment?
>>
>>Regards
>>Geoff Scott
May all your weeds be wildflowers