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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|