Make the Database name part of the DATABASE functions class.
HTH
Jimmy Willett wrote:
>
> I have a new vb project which uses a global.bas which contains the
> database name. The project has a class which defines all common
> references to the database functions.
> There are 2 forms, one for detail and one for searches, each has a data
> control with no reference to the database.
> The global.bas controls the database name.
>
> Whenever I run the project, it references a database that I cannot find
> anywhere in the project. I use the "Find" against all code.
> Any help????
> thanks
> jimmy w.
>