PC Review


Reply
Thread Tools Rate Thread

Creating Multiple records in a table at once

 
 
=?Utf-8?B?UGVsZQ==?=
Guest
Posts: n/a
 
      3rd Jun 2005
I have created a form (ADD RECORD) that will be used for doing 2 things when
a command button is pressed. The fields on the form are:

Job Title, Schedule, Shift, Start Week, End Week, Head Count#, ST, OT and DT

The two things the command button will do are:
1) Creating one record in one table (HEADCOUNT) and enter values from
textboxes into the table. The fields needed by the table are Job Title,
Schedule, Shift, Start Week, End Week, Head Count#.
2) The command button should also immediately create multiple records in
another table (HEADCOUNT_EXTRA). The required textboxes by this table (from
the form) are ST, DT and OT. The table Headcount_extra has only 3 fields ST,
OT and DT.

Note that the number of multiple records required to be added to the table,
HEADCOUNT_EXTRA, will depend on the equation below:

[END WEEK] - [START WEEK] +1

e.g. 52 records will be created if you evaluate 52-1+1

Can anybody help develop an event procedure that will do this. I only use
macros in access and I am not savvy enough to write event procedures from
scratch.

Pele
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple records in table to display single records Hurrikane4 Microsoft Access Queries 7 10th Dec 2009 06:34 PM
Creating Multiple Records in a Table =?Utf-8?B?UGVsZQ==?= Microsoft Access Macros 2 7th Jun 2005 03:55 PM
Creating multiple records in a make table Query OR Create Multiple lables Joe Microsoft Access Queries 5 15th Nov 2003 12:50 PM
Automatically creating records in one table based on values in another table wslayton Microsoft Access Database Table Design 1 1st Nov 2003 08:47 PM
Re: creating a summarized (grouped) table from a table with similar records. Van T. Dinh Microsoft Access 0 1st Aug 2003 01:22 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:21 AM.