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 » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Add record(s) automatically



 
 
Thread Tools Display Modes
  #1  
Old March 25th, 2010, 04:40 PM posted to microsoft.public.access.forms
osupratt via AccessMonster.com
external usenet poster
 
Posts: 7
Default Add record(s) automatically

I have a sub-form that we enter employee, employee hours, pay category, etc.
to. On the line that we enter data on there is a check box 'Hazard Pay'. I
would like, if the check box is checked, to add a record for each employee
entered that automatically fills in the same employee, but with a standard
employee hours, and a pay category of HAZ. This does not have to show on the
sub-form, but needs to be added to the table at minimum.

Better yet I would like to have the Hazard Pay check box on the main form and
when selected (after the sub-form) to have each employee have a record added
for his hazard pay. Hope this makes sense and I hope someone can help me a
bit. Thanks.

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/201003/1

  #2  
Old March 26th, 2010, 04:15 AM posted to microsoft.public.access.forms
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default Add record(s) automatically

It sounds like you want to give HazPay for all hours worked, not just those
the employee actuall performed a hazardous task.
Then why not a checkbox in the employee record instead of hours record?

--
Build a little, test a little.


"osupratt via AccessMonster.com" wrote:

I have a sub-form that we enter employee, employee hours, pay category, etc.
to. On the line that we enter data on there is a check box 'Hazard Pay'. I
would like, if the check box is checked, to add a record for each employee
entered that automatically fills in the same employee, but with a standard
employee hours, and a pay category of HAZ. This does not have to show on the
sub-form, but needs to be added to the table at minimum.

Better yet I would like to have the Hazard Pay check box on the main form and
when selected (after the sub-form) to have each employee have a record added
for his hazard pay. Hope this makes sense and I hope someone can help me a
bit. Thanks.

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/201003/1

.

 




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:47 PM.


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