A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Limiting Dat base usage



 
 
Thread Tools Display Modes
  #1  
Old June 24th, 2008, 01:30 AM posted to microsoft.public.access.tablesdbdesign
Armon
external usenet poster
 
Posts: 1
Default Limiting Dat base usage

Hi
Can I limit the datbase usage to a CD by using a serial number or something
like it?

Thanks

Armon

  #2  
Old June 24th, 2008, 12:59 PM posted to microsoft.public.access.tablesdbdesign
bhicks11 via AccessMonster.com
external usenet poster
 
Posts: 529
Default Limiting Dat base usage

Don't understand the question.

Bonnie

http://www.dataplus-svc.com

Armon wrote:
Hi
Can I limit the datbase usage to a CD by using a serial number or something
like it?

Thanks

Armon


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...esign/200806/1

  #3  
Old June 24th, 2008, 07:55 PM posted to microsoft.public.access.tablesdbdesign
Klatuu
external usenet poster
 
Posts: 7,074
Default Limiting Dat base usage

Copy the code from this site into it's own module:
http://www.mvps.org/access/api/api0003.htm

Now you can use the fDriveType() function to determine what kind of drive
you mdb file is on.

If fDriveType(Left(CurrentProject.Path,2)) "CD Rom" Then
Docmd.Quit
End If

CurrentProject.Path will tell you where the mdb file is located.

--
Dave Hargis, Microsoft Access MVP


"Armon" wrote:

Hi
Can I limit the datbase usage to a CD by using a serial number or something
like it?

Thanks

Armon


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:06 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.