🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: microsoft.public.access
2 messages
2 total messages Started by Mark Davis Sun, 07 Dec 1997 00:00
access 95/97 get dbName
#5
Author: Mark Davis
Date: Sun, 07 Dec 1997 00:00
6 lines
1014 bytes
I am looking for a way to acquire the name of the active database for use in 
queries and reports. Can any one help please? Thanks!

Mark Davis
midiot@portup.com
Re: access 95/97 get dbName
#6
Author: Terry Wickenden
Date: Sun, 07 Dec 1997 00:00
26 lines
1296 bytes
Mark

Create the following function and it should do what you want.

Function GetName() 

	GetName = CurrentDB().Name

End Function

Hope this helps

Terry


Mark Davis <midiot@portup.com> wrote in article
<66d5ve$7g5$1@usenet47.supernews.com>...
> I am looking for a way to acquire the name of the active database for use
in 
> queries and reports. Can any one help please? Thanks!
> 
> Mark Davis
> midiot@portup.com
> 
> 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads