How To Generate Employee Code

Oct 12, 2006

I have to generate unique code for each person in an Employee table. This code will not be the primary key for this table. Primary key is an auto number. This Unique code is for refering to each person in all the correspondence/document/everywhere and every person will know his code and refer in all the correspondance.

I want to make a column in this table for this code. There can be two criteria for this code generation--

1. The code will be First alphabet of first name followed by sr no for that letter in 4 digits. Say Mr. Andrew is 99th person with alphbet A then his code will be A0099. Or Miss Jany is first person with letter J, her code will be J0001.

OR

2. The code will be a five digit 7 digit number--of which the first 4 digits are year of joining in organisation and remaining 3 digits are joining serial number of this person in that year.Say Mr. Andrew is 12th person who joined in 1996 then his code will be 1996012. Or Miss Jany is 118th person who joined in 2000, her code will be 2000118. For this I will add two columns namely Joining Year and SrNo in this Table.

I want the Access, by some means to generate this code based on the above critaria in one table.Can you people help me with the ideas about achieving this task. Presently we are manually assigning these codes.

View Replies


ADVERTISEMENT

Forms :: Employee Training Database - Generate A Class Roster?

Jul 3, 2013

I am building a database for employee training. In the FrmNewTrainingGroup I am trying to create a form that will allow selection of a single class, a completion date, one or more instructors (or none at all) and a list of students by LName, FName, MI, EMP#. in my latest attempt, I have tried using a query of the TblEmployee to act as a go between, and dropped a subform into the FrmNewTrainingGroup, and that is not working.

Trying to get the student roster to work has been frustrating. I have been attempting to make it a check box select list that is also searchable by LName and FName [which would perhaps display a reduced list of names, as the name was typed?. This list would update a class roster text box to reflect all the selected employees for training so far, prior to the class being committed (I am planning on a button on the form).

View 2 Replies View Related

Modules & VBA :: Generate Scannable Bar Code

Jul 23, 2014

I is it possible to generate a bar-code that which is a path to a file name on my server from access 2010? if so here is what i would like to do:

- for each expense i enter in my application i'd like to generate and print a bar-code

- scan bar-code on copy machine (which is path and file name of document to be scanned)

- scan my expense receipt (copy machine now knows where to send the receipt and how to name the file ala the bar-code that was scanned)

I'm not sure if this is at all possible using only access and vba.

View 2 Replies View Related

Access Employee DB

Oct 15, 2005

Is anybody out there kind enough to post a good head start sample db for managing employees with photo included in form and in report.

Would appreciate any help and thanks,
cagay

View 8 Replies View Related

Employee Record

Feb 4, 2008

Hi all, I am looking for an employee record template for data including sickness, vacation, skills, CVs etc. I would have thought there would be loads available but alas, I can find none

Can anybody point me in the right direction please.

Thanks in advance
Rob

View 4 Replies View Related

Employee Compensation

Aug 9, 2005

Trying to setup a database to track employee compensation and need some advise on the setup. I was told in a previous post to normalize my tables which I think I've done. I would just like some other input on this to know if I've done it right.

I created a table called Employees with the following fields: autonumber id field, firstname, lastname, department, position, hiredate.

Next I am creating a new table for each year which will contain the following tables: autonumber id, base, bonus, addbonus, overtimecomm, car, 401kcon.

The autonumber ID fields in each table have been set as the primary keys and I've setup a relationship between Employees and each of the compensation tables.

Does this sound like it will work? Or do I need to go back and rethink some of the process?

View 6 Replies View Related

Employee Quit?

Dec 15, 2005

I have a form which has a drop down box which links to a table with Employee names. One employee quit and I want to delete her name from the table. But... if I do that, I will delete her entirely from all previous records. Is there a way to keep all previous records, but take her out of the drop down choices?

View 2 Replies View Related

Employee Payroll

Oct 28, 2005

I'm trying to use a query to calculate the payroll for all the employees but it won't work. The two tables I have are 'Employees' and 'Employee Payroll'. In the 'Employee Payroll' table there are three fields- Employee ID, Days worked and Earnings. I need to calculate the sum of the earnings field but it just displays a blank list of records when I try it.
Can anyone help?
Thanks

View 6 Replies View Related

Employee Database

Sep 22, 2006

I'm trying to create a database in Access to track various employee data for the company I work for. We have about 44 employees. There are about 7 different groups of data our poor secretary now has to keep up with. These include: a list of the employees, with name, address, phone, etc. A handmade form with salary information like current wage, raises and when they were given, etc. A bonus section, how much and when. A list with attendance information including tracking missed days and tardies. A list of temporary employees and when their incremental reviews are due. There are other lists we use and others we are thinking of starting having to do with training, etc. It’s too much to keep up with manually now.
One of my questions is: can there be one table with the basic employee information that other tables can access without having to enter the same names again into other tables? (Why enter all those names more than once)? My other question has to do with linking tables together, I just can’t seem to grasp the concept even after reading two Access training books on the subject. I made a simpler database for another project and gave up on linking tables and the database seems to work just fine.
Any help is appreciated and sorry for the long post.

View 3 Replies View Related

Add Employee Form

Apr 29, 2007

I have an Employees table. I have a form to Add Employee and a form to Remove Employee. Remove Employee works great. It's a drop down box, they select the employee and click on remove. With Add Employee, I have a textbox where they enter the name and a button to add that employee to the database. I setup a VBA script to take the value in the textbox labled "empname" and insert it into the Employees table when the button is clicked through the onClick event.

Is there an easy way to do this? I need the UI to be simple. I know you can bound the textbox to the employee name, but then when they open up the form it will show all the records and they have to click the new record button to add someone. I know this question was asked very recently, but it wasn't answered very well.

I have the db attached. It's in Access 2003 format. The macro in there is the VBA script that I wrote, so don't worry, it's not harmful. I'm very good with SQL, and I would've chosen to use ASP for the user interface, but the people that need this don't want to run any servers (IIS). They just need a file they can double click on and work from there.

Thanks

View 3 Replies View Related

Multiple Users And Employee ID's

Jun 6, 2005

I am nearly ready to release my ACCESS 2000 database to 150 employees in our office (client/server network). However I have two problems, I have looked through countless posts and cant find exacly what Im looking for.

ACCESS automatically defaults to each individuals network ID when it is opened, so I have set that as UserName for each user, I have created a UserDetails table with this netowrk ID as a primary key, linking that as a foreign key to various OrderDetails tables. My question is how on earth can I get ACCESS to automatically enter this UserName onto each order a particular user makes? to be able to run queries for specific users etc? I dont want the user to be able to manually type in this because it can compromise the integrity of our data.

secondly, what is the best way to set up the FE, BE situation on our network? I tried the wizard and it gets a bit technical

Cheers for the help and congrats to a very helpful site,
Russ :)

View 10 Replies View Related

Advanced Employee Schedule

Jul 4, 2006

Hello Everyone
I need to make an employee schedule in access. I am not sure if it is possible, but here are my constraints:

20 employees

5-6 different truck locations (sm1, sm2, sm3, sm4, sm5, sm6) These locations are scattered within our service area.

2 employees must meet at the same truck, (each truck has 2 employees working on it)

some employees can only meet at certain locations (ex. paul can meet at either sm2 or sm3)

all employees are PT so they can only work on certain days or a certain amount of days per week. (ex. paul can work up to 4 days a week and jim can work only sat and fri)

I would like to make a program in access that will take all these factors into consideration. EX. if i try to schedule paul on sm4 the program will not let me do it or it will give a warning or if i try to schedule paul for 5 days it will give me a warning.
It would also be great to have a counter that will show how many days each employee has left to be scheduled for, EX: if i scheduled paul for 2 days it will show that he can actually work 2 days more if i need him to.

I know this might be a lot, but i also know there are so many talented people here so i am sure it is feasible. Please let me know if you know how to do this or if you could guide me through it.

or if you know about a different program that can solve this please let me know
Thanks in advance

View 2 Replies View Related

Tracking Employee Training

Aug 18, 2006

I am tracking training for employees. I have a database that keeps track of the dates a particular training was taken. Employee training is ongoing from year to year. I have an Employee Training with a subform showing only the specific employee's training. I need a help with a few things. I need to keep track of training by the year. If I enter 2006 dates it will show in one line, if 2007 dates, another, all the way across the list of training classes for an employee. I also only want to limit a person enter more than one date for a particular class for a calendar year...Are these things possible. I have attached the database. Please help, make changes and suggestions. Thank you so much in advance.:eek:

View 3 Replies View Related

Employee Scheduling Database

Feb 24, 2008

Dear Access Expert.

I would like to create a Scheduling database for employees. The database would include:

- list all of the employees
-tabs to look at schedule for this week, 1 week from now, 2weeks from now, 3 weeks from now, long term (1-2 months), etc
-small comment section within each day for the guys to enter some comments...e.g. dentist at 10, holidays, etc

There has to be something like this already out there that I can modify and work with. Is there anything like this already in the NorthWind Database that comes with Access? What about some free examples Access developers made?

What about Outlook? Can I modify Outlook and use VBA somehow to accomplish this? Outlook is basically on an account basis so I don't know if I could tailor it to my 30+ employee database.

Thank you very much for your input.

View 2 Replies View Related

Employee Vacation Tracking

Mar 17, 2008

My computer crashed and I lost my employee vacation tracking database.

Does anyone have an Excel spreadsheet or other tracking method they could share please? I really don't have time to build a new database.

Thank you for your help.

View 2 Replies View Related

Employee Tracking Database

Aug 3, 2005

Would like to hear from anyone that has designed a database that can be used to track employee compensation on a year to year basis. I am current designing a database to do just that but I'm having a hard time deciding on how to setup the tables. What they use this for is yearly reviews so I need it to be able to pull data from prior years and the current year. I've designed one but don't think its going to work for me. Just interested to see if and how someone has done the same thing.

Thanks,
Chester

View 4 Replies View Related

Help With Query - Employee Heirarchy

Jul 16, 2007

Hello,

I have an employee table set up like so:

NAME, SALRY, SUPERVISOR_NAME

This table contains a large group of employees, and every employee has a Name, Salary and Supervisor. Some of these employees are also Supervisors, and hence they are in the table once as an employee but also have their name multipe times under the SUPERVISOR_NAME field. But not all employees are Supervisors. So if "Joe" is a Supervisor a section of the table would look something like:

Alan $12,000 Joe
Sue $14,000 Joe
Rob $19,000 Joe

"Joe" would also have his own record in the table somewhere else and have a Supervisor of his own.

Joe $22,000 Fred
Rex $48,000 Fred
Sam $12,000 Sue

The top-level person in the table has themself listed as their Supervisor. There are a large number of employees who are not Supervisors, and I need to do some data manipulation on these employees (and be able to check whether or not any employee is a Supervisor or not). So these "subordinate-only" employees have a record for their Name, Salary and Supervisor, but nowhere else in the table are they listed as anyone else's Supervisor.

I would like to set up a query that, in English, says: Show me all of the names of the employees who are NOT supervisors. Or (maybe using parameters), is this particular employee a Supervisor?

Any ideas?

Thanks,

Scott

View 3 Replies View Related

Running Total Per Employee

Sep 16, 2007

I've been tasked to create a report that shows the date an employee hit a loss of $200.00 or greater for the company. Each day they work, they will either have an overage or a shortage in their till fund. They start out each day with a set amount of money in their till and at the end of the day they are expected to turn in that same amount; the tills are used for making change. If they are short, and the amount is fairly large, hence the $200.00 mark, then it becomes an issue that needs investigating.

I need to total these amounts up and when the total hits a negative $200.00 or greater, I need to display the date it occurred and then display the amount the company would have saved if the employee had been either terminated or transferred to a non-revenue department.

Getting the "saved" amount should not be a problem once I figure out how to get the above indicated loss amount.

Any ideas?

Kevin

View 3 Replies View Related

Autofill Field With Employee

Dec 23, 2005

Hello all!

Ok, lets get down straight to the point.

What i want to achieve is that when i login that automaticly the name has been filled in on every form.

I have a login form. I put my name in there like "Michiel" and ofcourse the password. After that its going automaticly to the mainpage. In that mainpage i want to create a field that automaticly filles in my name (so if somebody else log in that their name will be filled in). After that i want when i go the incident form that automaticly the employee form has been filled in. (The person that at the moment is logged in that his name automaticly been filled in) Ive tried various ways to achieve this goal but nothing worked.

Im not that very expert in Access but im trying to understand and learning pieces by pieces the Access world. So if somebody could help me because im getting desperate! Thanks in advance all! :D

Greetz.

Creegfire

View 4 Replies View Related

Filtering Employee Name From Combo Box.

Oct 9, 2006

Hi all,

My database is like 1 Training course with many of the employee. My Training course are using the reference no. as the ID of my training.

Now I have a form that have a reference no. as my first combo box and all the employee name are in my second combo box to let the user select and add employee to the training.

So now what i need to do is how to filter out the employee that had already been added to the specify training? For example now user want to select a training 'A' from combo box with only 10 employees (out of 50) are involve in the training.

And now when user select a employee and click save then the employee name will be disappear from the combo box when the second time user want to select another name. So do someone know how to do the filtering of the existing employee in the training?

Thanks alot@@!!

Regard,
alex

View 5 Replies View Related

Employee Absence Tracking DB

Mar 23, 2005

Hello everyone, I'm fairly new to access and I’m learning as I go. I just manage to create an simple employee DB that keeps track of their salaries, position, training, dependents and so on. Now I want to be able to keep track of their absences and vacation & sick leave accruals but I’m stuck. I don’t know how to go about doing this as the design of the table(s). Any help will be highly appreciated.


Thank you in advance.

View 6 Replies View Related

Employee Punch Clock

Jun 13, 2007

The company I work for has a central office and out employees work at different locations around the city. I have setup a database so that reports and requests made by employees are put into the database and sent to our office and clients office, instead of the tri copy forms we have been using. One thing that we were interested in doing was setting up a punch clock in the database so when employees come and go they punch in and out and there is a report that can be printed weekly or biweekly. Unfortunately I have no idea how to start making that feature, I would appreciate any help or advice on what direction to go...

View 1 Replies View Related

General :: First Appointment Of The Day For Each Employee

Feb 12, 2015

its been a while since i was last on here but i have run into some difficulty with a query

i would like to append some data to a tmp tbl.

i want to get the first appointment of the day for each employee. i have attached the relevant tables and a query that shows the information i need but it also shows more information. i have tried the nim function on the time and was successfull when i only had a few columns but when i added the colum [Items].[tblItems] it showed all the appointments for the day.

what i want to show is the first appointment for each employee.

View 7 Replies View Related

Forms :: CarryOver New Employee Only

Feb 15, 2015

1. Select Employee form combo.
2. Enter Hours
3. Finish

Next:
1. Enter New Employee ONLY, not Previous Employee
2. Combo is named EmployeeTime
3. PK is EmployeeID

Code: for Combo

SELECT tblEmployees.Employee, tblEmployees.EmployeeID, TEmpOrCon.EmpOrConText, TEmpOrCon.EmpOrCon
FROM tblEmployees LEFT JOIN TEmpOrCon ON tblEmployees.EmpOrCon = TEmpOrCon.EmpOrConID
WHERE (((TEmpOrCon.EmpOrCon)=1 Or (TEmpOrCon.EmpOrCon)=3))
ORDER BY TEmpOrCon.EmpOrConText DESC;

View 7 Replies View Related

HireDate With Different Dates In Employee

Jan 29, 2014

Count the Employee having different hire date and show the lastest hire date to a new column.

My table below:

EmployeeNo HireDate TerminationDate

11 1/1/2009 6/5/2009
12 5/5/2009
13 6/2/2009
14 6/15/2009 11/1/2009
15 7/1/2009
11 9/8/2009
14 2/5/2010

The output should be like this:

EmployeeNo-------- HireDate --------- TerminationDate-------------- RehireDate-(New Column)

11 ------------------- 1/1/2009 ---------- 6/5/2009
12 ------------------- 5/5/2009
13 ------------------- 6/2/2009
14 ------------------- 6/15/2009 ---------11/1/2009
15 ------------------- 7/1/2009
11------------------- 9/8/2009------------------------------------------------9/8/2009
14 ------------------ 2/5/2010-------------------------------------------------2/5/2010

View 6 Replies View Related

Employee Absense/Holidays Database

Aug 11, 2005

Hi all,

I am stuck where to start and wanted some advise. I want to create a database that captures whether employees are late, sick, holidays etc.

So i would have a list of employees, then create a new records in another table to store what type of reason it is, (late, sick, holidays etc.), and then the directors can monitor employee sickness. But what i would to do is to be a bit clever about it though in 2 ways.

Against the employee they would have a number of allocated holidays against them, but i just wanted the user to enter the start and end date, and then get access to work out how many holidays days need to be taken off, i.e. it does not included weekends or bank holidays....

Also in the sickness report, work out how many single days where taken on either a Monday or Friday....

Has anyone done or seen an access database that can do this already.

I know there is a calendar addin, but i've not used it...

View 3 Replies View Related







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