Data Environment / Data Report / Changing database file at run time
Hi,
You can use the following command :
Private Sub DataEnvironment_Initialize()
Me.Name accessdb.ConnectionString = App.Path & "\Data\name.mdb"
End sub
Hope this helps you.
Bjorn van den Brink
If you ain't dutch, you ain't much. ;-)
Steve Jeffels heeft geschreven in bericht
Quote:
>Doe anyone know of anyway to chase the underlying access database at run
>time? I have built a data report using a data environment and would like
the
>report to be used by a number of different Acces .mdb files at run time. Is
>there anyway that I can do this?
>Many thanks for your help.