473,785 Members | 2,443 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Hiding the Access 2013 Application during database use...

49 New Member
how in the world do i hide the database window? The thing takes up the whole screen, all my users need are the forms I created... used to be a check box that would let you not display the application... that feature seems to be gone in 2013 =/
Dec 30 '14
23 11023
Brilstern
208 New Member
sooli,

Assuming you login with a unique username you can set form properties on load.

Example: (pseudo code)
Expand|Select|Wrap|Line Numbers
  1. If Me.Username = "Admin" Then
  2. Me.Control.Visible = true
  3. Else
  4. Me.Control.Visible = False
  5. End If
This button could allow for a close option for you.

To answer your other question:
Set the On Close Event to quit the database. This would force the database to close if a user uses the close in the navigation.

Another option would be to disable the close in the navigation altogether in the form properties. This would force the user to log out.
Mar 6 '15 #11
twinnyfo
3,653 Recognized Expert Moderator Specialist
@sooli,

When I create my DBs, I always do this:
  1. There is always a Front-End/Back-End structure, so the DATA is always separated from the CODE. If your Front-End (the Code) crashes, then you don't lose your data. The data side very seldom (if ever) crashes.
  2. When the Front end if opened, it checks to see how long it has been since the DB has been updated. My schedule is every six hours. If it has been six hours, the DATA is backed up again (just in case the data does crash).
  3. My shortcut does not point to the DB itself, but to a MS Scripting file, which copies the DB to the local user's machine. If the local version crashes, it does not corrupt the master copy of the front-end.
  4. My Front-End is ALWAYS compiled (.accde or .mde file), so no one can access the code or modify any of the objects.
  5. All navigation controls are disabled in the DB (including the Nav pane, shortcut menus, etc.). I have not found an effective method for bypassing the "Shift-Key" method. Any experts out there know a simple way to do this?
  6. My DBs log who has accessed the DB and assigns permissions to the user that I establish. Each user can only see what I let them see.
  7. All forms are locked down (no built in controls, like Minimize, maximize and close). My users can only do what I want them to do with the forms. Navigation ultimately leads them to either do their job or exit the DB.

I use these principles because people are inherently inquisitive and like to snoop around DBs. I do everything I can to prevent this.

Here are some links to a couple articles that may assist in these tasks:

Working with Front-Ends and Back-Ends

MS Access User Permissions
Mar 6 '15 #12
Brilstern
208 New Member
Nice business rules twinnyfo. Going to have to put those in the toolbox for future projects.
Mar 6 '15 #13
twinnyfo
3,653 Recognized Expert Moderator Specialist
@Stevan,

I have been DBasing for about 20 years, and, unfortunately, I learned just about everything I know via bad experience. Up until maybe 5-6 years ago, I did not know what DB normalization was. I practiced those principles almost exclusively, but it was not because I was taught the principles. I learned--by creating poorly designed DBs--that there were certain principles that made for a better design. Now I am able to talk intelligently about those principles.

Thanks to this site, primarily, I have learned much more about good design and programming concepts that have both re-inforced many practices and corrected some others. I want to spare others my bad experiences by guiding these young Jedis in the good ways of the Force.

I don't know what experience you have, but thanks for joining us!
Mar 6 '15 #14
Brilstern
208 New Member
@twinnyfo,

Now that we have successfully hijacked sooli's thread (hah just joking!) we appreciate the willingness of those that know to pass on the information.

I built my first database in 2011 and have found myself building one here and there ever since. My goal is always to make my next DB better than my last. Bytes has truly helped me do that!
Mar 6 '15 #15
sooli
49 New Member
@twinnyfo,

I would love to create the .accde! but it seems access 2013 doesn't afford that luxury. Or I need an addin that I don't know about. I guess when they took away the ability to hide the database with a check box in the database properties, they also removed that feature. The .accde is the one that actually keeps the users from being able to get to the database itself, or make changes to the forms.. i have all that locked down to an extent - but as you are aware... curiosity can lead to sneaky back door access... My boss didn't want the database to have a password to access it, so I was careful to create my own switch with nothing other than what the users are supposed to be able to do, and a password protected menu for administration which is reached thru a cmd button. The database is split so the user only has the front end, and so far I have only had one nosey nelly that has found the tables, and he actually went on the server and opened the database directly... he has been reprimanded for this, and everyone was made very aware that the database itself is not for their use EVER.

I tried to eliminate the upper right controls, but to my dismay, when I used a cmd button to minimize the form, the user was not able to bring it back, so I had to leave those on the screen because the user wants to be able to minimize the data base when not actively using it, and the general consensus was to leave the database open/available for the whole shift, rather than open it every time they needed to enter something.

I have a script on my system that runs a backup of the database every hour, since we have it residing on a san server, and have already experienced the "reason for having a san" fallacy... my database in its entirety just up and vanished one night, thankfully I was in it just as it happened and i was able to contact my server admin immediately and he was able to recover it, though we lost 6 hours worth of data, since his back up only runs every 8 hours. we are a 24x7 operation...

I too try to follow the same guidelines you posted, these came about, fortunately when i learned how to design in Access, eon's ago... in school. That was part of my Office training when Windows 95 was still around... over the years, as MS has made changes to the product itself, I was able to continue manipulating things to my personal whim, until 2013 came out... now I am finding the basic things that made Access a great "small" customizable database have abruptly become extinct.

Anyway... the code you posted previously works great, except that windows aero peek allows you to bring it back.. useless but back none the less... so I will just let my crew know, not to click the aero peek unless they want to restart the database.

I greatly appreciate your assistance!
Mar 9 '15 #16
sooli
49 New Member
@ Stevan Bias - I actually have something like your code for my admin functions. =) I am using it for subforms that only the admin can get to, and he loves it.

I do have the X on the switch set to close and compact the database, on all other forms the X takes the user back to the switch, as people are creatures of habit and love that red X, but hate to have to keep re-opening the database... lol
Mar 9 '15 #17
twinnyfo
3,653 Recognized Expert Moderator Specialist
sooli,

I use Access 2010 at work, and did some research and found nothing about 2013 that says you can't create .accde files. Are you perhaps looking in the wrong places?

In 2010, go to File, Save & Publish, Make ACCDE. 2013 should have a similar enough interface that it should be there, unless you have some form of limited version of Access 2013....
Mar 9 '15 #18
sooli
49 New Member
I tried to save as accde and ran into issues... i'll try to work them out, but in the meantime...

I still need a work around for using the icon in the task bar to bring the database back on the screen when it is minimized... it brings the application window back too. Boss is now wanting to eliminate the possibility of anyone trying to access the tables and making their own updates. I have the database itself password protected, so if a user attempts to open the mdb file, it prompts for password and if you get it wrong 3 times, the application just closes... I used a form inside the database to do this... was quick and simple way - without affecting the users ability to still update tables using the accdb file.

Trying to encrypt a sample now... to test that out... but fear that will require a password for the users to enter... and he doesn't want that. (we have too many passwords to remember as it is...)

Currently I have the properties set so navigation and menus are disabled, which for most of my users is sufficient. However... the shift button over-rides this...

I was thinking maybe I could Hide the list of tables? this way if someone were to gain access to the navigation field, they wouldn't be able to see them? but I wasn't sure what this would do to usability? Will the tables still be linked?

I tried it earlier today, bringing them back was a little tricky cause I didn't know how... I had done it in separate groups... so when i tried to bring them all back at once... I couldn't... there wasn't even an option... imagine my panic! lol.

If I hide them, will it stay hidden when the user copies the front end to the desktop - and will they stay linked? I am brain storming... so sorry if this seems to be something I should be able to test on my own... i cannot exactly use my users as guinea pig...
Mar 20 '15 #19
jforbes
1,107 Recognized Expert Top Contributor
I think the root of the problem here has to do with storing sensitive information in a place where people that should not have permission can get to it. This really isn't so much an MS-Access problem that you are running into, but a Permission/Security issue. Access wasn't really created to address permissions... well it dabbled in it for a while early on and then backed off.

There are a few common ways to address permissions/security when it comes to data, there are more, but I'm only gonna touch on three:
  • File System permissions is a very effective method by keeping sensitive information on a FileShare and then either allowing or taking away permissions based on the users Windows login. It is a much better way at securing data than attempting to lock down MS-Access because the permission are managed and enforced by a Server on the Network vs embedding security in a file.
  • Encryption is handy and sometimes the best way depending on the applications needs, but I really wouldn't think this would be an option for you as it tends to take a considerable amount of development and overhead when running.
  • Network Security can be a great way to lockdown data as that is one of its primary functions. Doing this would take either a custom application or use of an application that provides this for you. One application that is often used for this is MS-SQL Server.

If you can use a SQL Server, I would recommend it as there are a lot of benefits in addition to taking care of the problem you are running into for this post. You can setup the authentication based on the Logged in Windows User so that only people that can login to you network can access data as well as you can give and remove permissions on a user by user basis.

The other option, if you can't talk your Boss into a SQL Server, is to split your backend database based on group roles. You don't have to have only one backend database. You can split it by job function and place data specific for a certain job function into it's own FileShare on your network. Then control users permission on the FileShare. This way Jimmy from out in the shop can enter whatever he needs to enter, but can't see all the interesting comments Mary in HR is entering about him into the same system. SQL Sever would be better, but if your Boss has short arms and deep pockets, this approach may work for you.
Mar 20 '15 #20

Sign in to post your reply or Sign up for a free account.

Similar topics

10
1804
by: skiz | last post by:
I have an application written in ms access 97. Just recently certain queries have been giving various errors -- one of which is "there was an error executing the command". When I ran the application in access 2000, no errors occurred. Any ideas? If I open the database file in 2000 it asks me if I want to convert the database -- so, I know that it is still a 97 database. Thanks! skiz
6
2251
by: SteveS | last post by:
Hello All. I have an asp.net application with 3 different assemblies. They are like this: 1) Assembly: PublicSite (This contains the website UI) Root namespace: PublicSite 2) Assembly: PublicSite.MyProfile.Business (This contains the business rules) Root namespace: PublicSite
3
2124
by: George H. Slamowitz | last post by:
Hello All I am trying to convert a MS Access 2000 application to a VB application (Just Started Yesterday) I am using Visual Studio .NET 2003 utilizing Visual Basic .NET I think I have a good feel to what I have to do, but does anyone know of a GOOD white paper on what is involved, pitfalls, etc?
22
6287
by: Jordan S. | last post by:
SQL Server will be used as the back-end database to a non trivial client application. In question is the choice of client application: I need to be able to speak intelligently about when one client (MS Access vs ..NET Windows Forms) would be preferred over the other. While I have some good arguments on both sides, I would appreciate your points of view on the topic.
5
3210
by: BA | last post by:
Hi there I am trying to write an "application" in Access 2000, that displays a front end and allows the user to interact with the database without seeing Access loaded, in the background, nor on the taskbar. When I click on the generate report button, from the front-end's form, no report/query is displayed. However, if i disable the code that "hides" Access, the reports and queries work perfectly. How do I get this functionality...
1
1450
mikek12004
by: mikek12004 | last post by:
I have a access 2002 application (a file with MDE extension) which when you execute it access 2002 opens and you insert/view/modify data through a series of user-created forms. Assuming that they are stored in a access database I want to get that database in order to create a new application (preferably with php/mysql). So I want to get the application's data. Anyway I could an export or something like that (even getting the data in access...
0
7250
by: steveradaza | last post by:
Sir,Good Day..I am a newbie here and i am just learning the usage of microsoft access..can you help me solve my problem in making a running balance in a query of microsoft access 2013 of my In and Out Investment?here is the attachment of my image for the sample table and the query that i created..please help me...i am doing this table and query for almost 2 months...i beg you all please..thank you in advance...
4
2437
by: nomeepk | last post by:
hi, i am using access 2013, Is there a way i can make this Access Database online, so i can access and use it from anywhere in a Browser? Regards.
5
3409
by: jimatqsi | last post by:
I'm looking for information about compatibility between Access 2013 and Access 2003. I've been approached by a firm that wants to begin upgrading their systems. I want to know if it is reasonable to plan to keep the back-end of an Access database in 2003 format while gradually updating client machines from Office 2003 to Office 2013. The front-end is pretty simplistic. It has about a dozen forms, some or all created in the 90s, no queries...
0
1692
by: LeoVBNET | last post by:
Hi Because VS 2013 dropped SQL COMPACT databases, I need to convert Access 2013 databases into SQL COMPACT in order to be able to use Linq to SQL in VB 2013. Anybody can help me? Thanks
0
9647
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10357
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10162
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10101
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9959
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7509
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6744
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5396
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.