473,407 Members | 2,306 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Actually running a form at the start of a database

Hi, I understand the concept of Splash Forms and AutoExec macro's but I am confused as to how to actually get the form running when a user with limited privileges opens the Access database.
I kept myself with Admin privileges and set up another user with limited privileges. However, when trying to view the database with that user's profile, it didn't enforce the form upon them when opening the database. I will update this post with code and screenshots shortly.
Jul 13 '17 #1
6 864
Petrol
204 128KB
Before you save the copy for the other user go to File - Options - Current Database and set the name of desired form into the "Display Form" box. That should do it.
Jul 13 '17 #2
Petrol,

When you say save the copy for the other user, you mean a copy of the database with a different extension correct? e.g. laccdb? I haven't done this previously, pardon the beginner questions.
Jul 13 '17 #3
Petrol
204 128KB
No, I was assuming the other user had their own copy of the DB on their own computer. If you mean they are using the same computer but logged in with restricted privileges, this may be possible but the only way I know to do this would be by making them another copy with the "Display Form" set as above.

Incidentally I don't think you should touch the .laccdb extension. That's just used for a small system file which shows who has the database open, to prevent conflicting updates. (The "l" stands for Lock).
Jul 13 '17 #4
Petrol
204 128KB
In other words, I am suggesting you make them another copy, but still with the extension .accdb (or perhaps a compiled copy, with the extension .accde, which can be done from File - Save As - Make ACCDE - Save As).
Jul 13 '17 #5
Understood, however I was just going to have this database on the shared Microsoft OneDrive. At the moment the form is able to distinguish the user's ID from the OS. I am building off of the structure provided by twinnyfo in this post.

https://bytes.com/topic/access/insig...ss#post3788008
Jul 13 '17 #6
Petrol
204 128KB
So can you use ab Autoexec macro to open whichever form is appropriate, based on the userID?
(Sorry, I'll be away for the rest of the day. If this doesn't help maybe somebody else can jump in?)
Jul 13 '17 #7

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

Similar topics

3
by: alan_sec | last post by:
Hi everybody, i need some help please. I have installed DB2 UDB 7.2 on Windows and created database and it worked fine (i could access it from control centar nad using eclipse plug-in...
6
by: Ted | last post by:
I am construvcting a number of databases, some of which contain sensitive data and most of which do not. I am attempting to handle the security issues involved in protecting sensitive data in part...
2
by: anujs | last post by:
Hi members, Please let me know how to solve the problem while initializing the DB2. the message is - IBM] SQL1032N No start database manager command was issued. SQLSTATE=57019.
0
by: kally | last post by:
Hi, I tried to do ML_upgradation for aix server...but when db2 guys tried to start the service its ending up with error...i have pasted the error below..could anybody suggest me on this..pls ...
6
by: maharajannn | last post by:
How To Insert Detailsfrom Form To Database ? I Need Code For That
1
by: flUXY | last post by:
How do i Insert Detailsfrom Form To Database ? pls I Need Code For That.
2
by: Eng Teng | last post by:
How do I set my form start at the right bottom site in any monitor resolution? Regards, Tee
0
by: zacks | last post by:
On May 2, 11:37 am, "Eng Teng" <engt...@gmail.comwrote: System.Windows.Forms.Screen.PrimaryScreen
3
by: Ivan Delic | last post by:
Hi all! This is my first email message about DB2 Universal database so don't mind if it looks like confusion. Recently I have installed DB2 UDB (Try and by Version) on my OS. It is, as follows ...
1
by: puneetmca | last post by:
hi i m facing problem while m trying to insert a record from form into database..the empty records will be inserted.values are not inserted in it....no error is shown.. here is the html...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...
0
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...
0
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...

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.