Detecting User?

Sep 22, 2006

Hello.

So, I have a logon form with a combo box for user name and a text box for the password. When they hit login, the user is then looked up and the password verified and if it's good they're taken to a specific screen that gives them specific options. What i want to know is how to hold the value of the user throughout their entire session? The reason for this being, to keep track of what data they enter mainly.

Any help would be much appreciated!

Thanks!

View Replies


ADVERTISEMENT

Detecting First And Last Record

May 6, 2005

what is the proper method to check if the current record on a form is the first or last record ?

When i try :

If Me.CurrentRecord = acLast Then .....
it does not seem that it detects the the last record.

Similarly with acFirst

Any ideas ?

Thanks

View 2 Replies View Related

Detecting Data

Nov 14, 2006

I have multiple forms, one of which you can view meeting details (form 1), if a mistake is spotted, there’s an ‘amend’ button which brings up a text field to enter in the description.
Now I have another form (form 2) that you can view the meeting details later on, and I want it to display the amendment description if there’s something typed there.
So on form 2, if there’s no amendment description (from form 1), the field stays hiding, but if there’s an amendment description in the field, the field will be visible.
So is there a way to display a field if there’s data entered, or keep it hidden if no data is present?

Thanks in advance

View 1 Replies View Related

Detecting Consecutive Dates...

Mar 21, 2006

Firstly I have placed this in the general section as I am not quite sure if any vba would need to be created for the following. I would also like to report on the information but the answer may not be done at report level.

Anyway, I have created a very basic database that holds staff attendance and their reason for being absent.

tblattendance:
AttendanceID
AttendanceType
StaffID
AttendanceDate

What i would like to do is group consecutive dates if they are all the same type and show them as DateFrom and DateTo

So for example, for someone who is on holiday between 01/Jan/06 and 06/Jan/06 I could show that as:
DateFrom 01/Jan/06
DateTo 06/Jan/06

I am not sure if that is explained very well but I will try to explain a bit more clearly if needed?

Thanks for any help.

View 1 Replies View Related

Detecting The Current Year?

Sep 22, 2006

Hello.

Just wondering if there was a way to detect the current year? (2006, obviously). Reason being, have an input date of year a block of trees was planted and i want to have an automatic calculation for the 'age of trees'.

Thanks!

View 4 Replies View Related

Detecting Duplicate Entry

May 22, 2006

I have a Form based on a table of current Players in a football league.
The Form is used to edit, but mainly add new registrations. The fields are...

Surname FirstName Address Suburb Age Club YearRegd

Is it possible in some way to have an alert or message come up stating that the Player is already registered if the Table already contains a player with the same Surname and FirstName only. This would need to happen after the FirstName has been entered as it is the second field after 'Surname'. I'm not sure if Access can do this type of function or not.

I've searched the Forums but have had no luck.

Any advice/assistance is greatly appreciated.

Thank-you very much.

View 1 Replies View Related

Detecting A Field Which Cause An Error Message

Jan 21, 2006

I am learning how to create custom error messages.

I know about the "OnError" event of the form, and knows how to replace the standard error message.

I wish access will produce an error message saying something like "You must put a value in field X" (custom made msgbox)

How can I identify this 'field X' which caused the error message to be displayed?

Hope I made myself clear.

Thanks for your comments.

View 6 Replies View Related

Forms :: Detecting Up Or Down Arrow Keys

Jun 4, 2013

Is it possible to detect the Up or Down arrow keys?I've tried using the following in the Form's Key Press event;

Code:
MsgBox "You pressed the " & KeyAscii & " Key"

Which returns the ASCII code for most other key but not the arrow keys

View 12 Replies View Related

Modules & VBA :: Detecting Excel File Is Password Protected

Apr 4, 2014

Any VBA code that would tell me whether an xlsb file is password protected?

View 5 Replies View Related

Forms :: Restrict User Input In Textbox Depending On What Option User Has Selected

May 22, 2013

I am building a form in access and I am trying to find a way where user input isn't possible in the associated textbox when "No" from on option box is selected.

View 3 Replies View Related

Multi-User - Can You Assign Which User Created/amended A Record?

Aug 4, 2007

Hi guys,

I've seen different log in forms and tips on multi-user use but can't seem to find info on the following...

We have 6 people at work and I'd like to assign which user updated a form or created a new record...this would be particularly useful on the sales part of the database to track who made a call to a particular customer...

Best ideas anyone?

dazza61

View 6 Replies View Related

General :: Access Multi User Database - Error On Only One User

Apr 24, 2013

I have a multi user database in Access 2000 that is on a server. The individual users have shortcuts pointing towards the server instance. One user and one user only when opening the shortcut gets the error "you do not have exclusive rights to the database" .

All other users can enter the database with no error box. I have checked the advanced setting under options and they are correct. Ironically if you go to start and open access then navigate to the database shortcut. It opens with no error.

View 1 Replies View Related

Calc User Totals Table 1 And Enter In User Records In Table 2

Oct 28, 2004

I have two tables. The first contains details of a budget holders money allocation for a given period, and the other tracks their spend on products over that period. How can I generate a query to calculate the total running spend for each user from the "budget spend table" that will be written into the users record in the "budget allocation table".

My aim is to show details of budget allocation, total spend to date and remaining budget for each user in an Order form / report.

Can anyone please advise me on how to do this or suggest another way of doing it. Any help would be greatly appreciated.

Thanks in advance.

Regards Peter

View 5 Replies View Related

Forms :: Second User Record Changes When First User Selects Record

Jul 31, 2014

I have a database for mutli users which is split. Front end is available separately for 3 users. These users make data entry in the same form from their front end form. This particular form has combo box that retrieves data based on selection in combo box and the use starts filling the data in the subform. Upto this, form is Ok, no problems seen.

But when the second user opens the same form from the split database front end stored in his computer, and once the second user selects another record from the combo box, first user's record also changes immediately to the record of Second user. Both users now have the same record even though the form is separately accessed from front end.

View 1 Replies View Related

First User Allow To Read And Write / 2nd User Only Allow To Read?

Sep 2, 2014

Will like to check, i have a access database which can be open up by a few users.

How can i only allow the first user who open up the database to read and write the database and the follow users who open up the access have only read access?

View 4 Replies View Related

A User End?

Jul 26, 2005

I need some help building what I believe is called a user end. I'm done building the tables and forms and all that jazz, now I need an interface that my boss, who knows nothing about access, can easly access and manipulate data. Of course it would be nice if I'd look nice. Is there anybody who can help or can give me link to a decent tutorial.

I already searched these forums and googled for help.

View 13 Replies View Related

User Id

Nov 29, 2005

i plan to use the Group security feature for my DB.... using the user ID and password... i also want to make use of the user ID in the autopopulating of some of the field in my forms.... if for an instance the person logged in is akshal... then the a particular field named "filled in by" is to be autopopulated by the user ID (i.e. akshal)

View 2 Replies View Related

User's Help

Apr 7, 2006

Can someone direct me to help with setting up User rights? I've always been the only user, but now I have multiple people working from my database and want to limit there authorizations. Also, is it possible to have someone actively using the database while I continue to make changes for forms and reports?

Thanks in advance for the help.

View 2 Replies View Related

Help For User

May 9, 2006

hi. i just wanted to know how to get a litle yellow box to appear saying enter text here when the user puts the cursor over a field where hey enter text on a form. thanks

View 2 Replies View Related

New User Needs Help

Aug 31, 2006

Hi I am new to Access and just need some advise.
I currently have 5 different excel spreadsheets that record sales for 4 different state's then another to hold stock items.
I want to make an access database to hold all this info.
Should I make one table to record all information from the 5 spreadsheets or have a seperate table for each.
Any advise would be most appreciated.

Tks

View 4 Replies View Related

New User (Thank You All)

Mar 17, 2007

Hi all
Well ive been using this forum for about a month now, and as an inexperianced user of Access D/B I find this forum is a wealth of information from the cream of Access programers. I have bought DVD courses of ebay in the past but has no comparison to the knowledge on this forum.
Thank you all.
Chris

View 2 Replies View Related

New User - Is This Possible??

Jun 9, 2005

Hi guys,

im a new user of Access and don't really know what im doing.

i need to make a database that will keep track of technical drawings. I need the database to be able to search for a drawing number, we might have a few of these types of equipment, so if i am adding a drawing of a different piece of the same equipment i need it to automatically generate the next number in the sequence.

This is hard to explain...

Ok, i have a load of Drawings, say they are numbered

0010-020-A-001
0020-020-A-001
0030-020-A-001

Right the first part is the type of equipment, the second is the sub-group, the thirs is the drawing type....this will all be entered by the person whois entering it into the register, the 001 at the end means it is the 001 revision of the drawing. If i have made a new revision of the drawing, say 002, i want to be able to use a form to enter the first bit of the serial number, then it will automatically tell me the next number in the sequence, and will let me fill in the other details, then i can click a button "add" or register or something and it will automatically update all the details...

....i would be so grateful if anyone knows a solution to this, or if this is even possible

thanks in advance
Cokes

View 10 Replies View Related

Welcome To User?

Oct 24, 2005

I would like to welcome the users at login on my db,
I have a table that list user details which has the following fields

tblUserDetails
UserID
UserName
Password (encrypted)
UserLevelID
FirstName
LastName
EmailAddress

What I am trying to achieve is after logging in, I would have a welcome $User$ on the splash form/switchboard

So to re-cap, I would like some kinda vba coded example that will ref [FirstName]

Thanks in advance

View 2 Replies View Related

User

Dec 28, 2006

Hi,

I want to write the code to detect that whether or not the administrator assign current user to access the database in SQL Server.

How can i detect it?

Suppose I have a database db1 in SQL Server, we assign the username to specific database. And then I linked tables from SQL Server to MS Access

When the user open the MS Access, I want the program to detect whether or not the current user has his/her name in the database from SQL Server.

How can i do that?

I just know to use is_member function, but this one is detecting user role, I want to detect whether or not administrator assign the username to the specific database from SQL Server.

Please let me know about it.
Thanks.

View 3 Replies View Related

VBA User Permissions

Aug 12, 2005

Is there a way in which to assign user permissions to vba code?
I have some command buttons which run vba code but i only want to allow certain users to use these.

View 7 Replies View Related

Yet Another Request For Help From A New User

Sep 20, 2005

Hello all. This is my first post on here after reading many of the other threads as I try - often in vain - to pick up access.

I am in the process of building a couple of databases, the main one being one that is an amalgamation of 4 other/older mdb's. All tables/queries etc were simply imported from these older defunct mdb's and then are archived off every month so they have 3months data and no more in them. The only thing is when it comes to problem solving and/or new queries, it is impossible to tell which tables/queries relate to which sections of the Db.

So my question to you is can I rename tables and queries in any way so that any queries that are using these tables are updated at the sametime, and if so how is it done? I have asked my colleague who is working with me to develope my understanding of access and he is at a loss. We are in the process of trying the old fashioned way ..... getting a book from the libarary ... but thought I'd try this new fangled internet thingy first :D .
The thought of having to trawl through around 100 tables and queries to rename or even re write the entire query/formulae is so daunting, I simply dont have that amount of time. Im using Access 97 and would greatly appreciate any help on this.
Thanx

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved