473,804 Members | 2,715 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Multiuser access and storing user objects

Hello all,

I am working on a multiuser access db. I want to have people login and
then store their user information in an object. I want to store the
information because it will be used in every form along with selections
made on the forms in the database.

The db will be stored on a file server and the users will access it
through their desktop version of Access 2003.

The db is a time card project. Since all projects and time entered are
specific to one user, I wanted to store their information for various
queries from different forms. I wanted to know if this senario will
store the login information of the user as a temp object in the local
copy of the opened db. I am thinking that Access 2003 will store the
temp object like a session variable while the user is connected and
then it will just be destroyed on closing their connection.

Is this a good way of solving this problem or is there better design
practices for Access?

Thanks in advance.

May 16 '06 #1
3 1557
"jofo" <jo********@gma il.com> wrote in message
news:11******** **************@ v46g2000cwv.goo glegroups.com.. .
Hello all,

I am working on a multiuser access db. I want to have people login and
then store their user information in an object. I want to store the
information because it will be used in every form along with selections
made on the forms in the database.

The db will be stored on a file server and the users will access it
through their desktop version of Access 2003.

The db is a time card project. Since all projects and time entered are
specific to one user, I wanted to store their information for various
queries from different forms. I wanted to know if this senario will
store the login information of the user as a temp object in the local
copy of the opened db. I am thinking that Access 2003 will store the
temp object like a session variable while the user is connected and
then it will just be destroyed on closing their connection.

Is this a good way of solving this problem or is there better design
practices for Access?

Thanks in advance.


If your app suffers an error of any kind then your variables will likely be
reset and therefore emptied. Better to get the user info each time it's
required at run-time.

Keith.
www.keithwilby.com
May 16 '06 #2
Check out the code here on how to call the username
http://www.mvps.org/access/api/api0008.htm

May 16 '06 #3
Thanks guys.

May 16 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
334
by: Ketchup Kerry | last post by:
I wrote a multithreaded windows service that has read/write access to an XML file using a mutex. I started wondering -- a multiuser XML file could be really useful in cases where a small, one-table, database is needed. Then, I am wondering how to implement in a web service. For example, when a user consumes a web service, is each user on a single thread on the server?
4
2362
by: Pablo | last post by:
At my current job I've been tasked with maintaining a very old C++ application written largely in ANSI c++ in what I believe to be with an old DOS based Borland compiler. I'm trying to add a simple event logging component to the application. Initially I began with a simple: fstream dumpfile dumpfile.open(fname,std::ios_base::out | std::ios_base::app); //Event log occurs
6
4260
by: Mike Wiseley | last post by:
We recently converted our department wide shared Access97 database to Access2K. We used to be able to open various reports in design mode and make changes to the design (or create new reports) even while other users in this shared database might be using other, unrelated reports. Now, in Access2k, it appears that whenever you do not have exclusive access, you cannot make any design changes to reports. It seems that the presence of any...
5
1667
by: Pachydermitis | last post by:
Hi all I have 3 horrible questions: I am using an Access 2000 frontend with an Access 2000 db as the backend. I have built an automatic update feature that checks the front version against the backend version and updates if needed. Q1: I'm using TransferDatabase to import or link the forms, tables, etc. I can't figure out the locking. I can't Dfirst or query a table in one db that is being linked or imported by another db. This means...
2
1774
by: marifusman | last post by:
Acees 2.0 application when user run application it give following error. The database is opened by user "Admin" on machine "abc". you can not open this database exclusively. Please help me usman
49
14364
by: Yannick Turgeon | last post by:
Hello, We are in the process of examining our current main application. We have to do some major changes and, in the process, are questionning/validating the use of MS Access as front-end. The application is relatively big: around 200 tables, 200 forms and sub-forms, 150 queries and 150 repports, 5GB of data (SQL Server 2000), 40 users. I'm wondering what are the disadvantages of using Access as front-end? Other that it's not...
16
4884
by: Rob Geraghty | last post by:
I've just spent some time looking through FAQ sites and searching the google archives of this newsgroup, but I still haven't been able to find a clear explanation of an issue with multi-user databases. Essentially I have two questions; 1) Does the system.mdw file have any significance to multi-user sharing of an Access 97 database other than security? 2) Can any number of users open an Access 97 database using the same
0
1722
by: s | last post by:
I need to develop a multiuser database application to be used by four people(The number of users are not likely to increase). It is for storing records of different versions of particular papers. I am new to building such an application. I would like to know what would the requirements be for using Access as the means for building the multiuser database. Two of the four use Access 2000(running Windows 98) and other two use Access...
4
3929
by: lorirobn | last post by:
Hi, I need to add photos to my database. Back End is on MS SQL Server (I believe 2000), and Front End is on MS Access. I have read about storing the photos as BLOBS, but I am not sure how to do this with SQL Server. Does this mean store the photo as OLE image, but do something else to it to make it a "Blob"? I have also read about linking to the photo rather than storing it on
0
9704
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
9571
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10318
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
10302
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,...
1
7608
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
5505
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...
0
5639
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3803
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2976
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.