Hi Dika, Sorry I've not explained very well.... The records I want created
relate to the number of hours an employee has worked for a particular week,
e.g. for each emp there is the week end date, the shift they work on (3 shift
patterns) and the breakdown of the hours they have worked, basic hrs,
overtime, holiday hrs etc. We have 300 emps in the dbase, so I would like to
be able to enter the relevant date and shift (as paramters) and have some
function which would enter all basic hours for that shift and week, we could
then go in and amend any emps who were on holiday, worked O/T etc -(this
would save us time). I hope this explains.....
Thanks!
:
Hi Debra - hmm - you wouldn't use an Update Query to add new records, it
would just update existing records. How many records are you creating for the
new date? What do you mean 'and shift' and what do you mean when you say you
want to add new records for the date and then the user would enter? Is it
just that when the user adds a new record there would be data in some of the
fields? Sorry I'm not usderstanding you - Dika
:
Hi Dika,
Thanks for your reply! I have used a couple of update queries which check a
box which locks all records and prevents the current record from being
changed (and this is run from the menu using a macro). The update queries I
have amend existing records - I was looking for some help with the design of
an update query to create new records for a date and shift which would be
entered by the user , the query would need to then update std working hours.
Can you help please?
Thanks!
Debra
:
Hi Debra - if I am understanding you corrently you should be able to create
an Update Query, then create a 1 line macro which runs the query, and attach
the Macro to the button. Does this help? Have you created Update Queries and
Macros? Let us know if you need more help with perhaps a bit clearer
explaination. Yours - Dika
:
I want users to be able to update multiple new records by clicking on a
button on a form. The form in question updates employee weekly hours worked
and as most employees work a standard week I would like the user to be able
to enter the calendar week and shift and and then all the std hours data is
updated (I have 300 emps)- they then only have to amend records of emps who
have worked overtime etc..
Any help would be appreciated!!