A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Global entry of records



 
 
Thread Tools Display Modes
  #1  
Old May 30th, 2010, 10:35 PM posted to microsoft.public.access
Tim
external usenet poster
 
Posts: 780
Default Global entry of records

I have a training database where I keep track of training for employees. If
I want to update 10 of those records with the same information, how would I
go about doing this instead of updating each individual record?

I have tried tagging those records that needed to be updated and used an
append query but that didn't work.

--
ts
  #2  
Old May 31st, 2010, 08:09 PM posted to microsoft.public.access
Tim
external usenet poster
 
Posts: 780
Default Global entry of records

That will not work in my database. I know how to update records using a
query but I want to add a new record for each employee who took a training as
a global procedure so I will not have to go to each employee and add the new
training.
--
ts


"Tim" wrote:

I have a training database where I keep track of training for employees. If
I want to update 10 of those records with the same information, how would I
go about doing this instead of updating each individual record?

I have tried tagging those records that needed to be updated and used an
append query but that didn't work.

--
ts

  #3  
Old May 31st, 2010, 09:15 PM posted to microsoft.public.access
John Spencer
external usenet poster
 
Posts: 7,815
Default Global entry of records

Do you have a table of employees? Can you identify (in a query) the employees
you want to add a new training record to? What is the structure of your tables?

Generically, you might have a query like the following.

INSERT INTO EmployeeTrainingSessions (EmployeeID, TrainingID, TrainingDate)
SELECT EmployeeID, 1233, Date()
FROM Employees
WHERE EmployeeName like "S*"

John Spencer
Access MVP 2002-2005, 2007-2010
The Hilltop Institute
University of Maryland Baltimore County

Tim wrote:
That will not work in my database. I know how to update records using a
query but I want to add a new record for each employee who took a training as
a global procedure so I will not have to go to each employee and add the new
training.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:42 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.