🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: microsoft.public.access
Article #6

Re: access 95/97 get dbName

#6
From: 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
> 
> 
Technical Details
Message-ID: <01bd02e1$20479060$LocalHost@terry>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <66d5ve$7g5$1@usenet47.supernews.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1029b6,f0cb71707bb7daa6
X-Google-Attributes: gid1029b6,public
X-Google-Thread: 10779a,f0cb71707bb7daa6
X-Google-Attributes: gid10779a,public
X-Google-Thread: 10a93f,f0cb71707bb7daa6
X-Google-Attributes: gid10a93f,public
X-Google-Thread: 102675,f0cb71707bb7daa6
X-Google-Attributes: gid102675,public
X-Google-Thread: 109eae,f0cb71707bb7daa6
X-Google-Attributes: gid109eae,public
From: "Terry Wickenden" <tkwickenden@clara.net>
Subject: Re: access 95/97 get dbName
Date: 1997/12/07
Message-ID: <01bd02e1$20479060$LocalHost@terry>
X-Deja-AN: 295955561
References: <66d5ve$7g5$1@usenet47.supernews.com>
Newsgroups: microsoft.public.access,microsoft.public.access.3rdpartyusergroups,microsoft.public.access.3rdpartyusrgrp,microsoft.public.access.about,3dfx.game.discussion