View Full Version : Change feild value table


marzook
02-12-2009, 03:30 AM
How to change value of records on a designated field,

the table tbleattendance has the fields emplnumber,name,Date,AttendanceType,etc...

the a attendacneType field has the value Present,absent...etc, what i need i want to change the attendaceType value for all employee using form. And form have a commen Combobox for changing the AttendanceType value. once i change the common combobox value its need to be updated on Attendancetype for all records by changing there current values

Form screenshot attached

Please advise............

marzook
02-12-2009, 04:09 AM
Anyone to help please......


How to change value of records on a designated field,

the table tbleattendance has the fields emplnumber,name,Date,AttendanceType,etc...

the a attendacneType field has the value Present,absent...etc, what i need i want to change the attendaceType value for all employee using form. And form have a commen Combobox for changing the AttendanceType value. once i change the common combobox value its need to be updated on Attendancetype for all records by changing there current values

Form screenshot attached

Please advise............

Rabbie
02-12-2009, 04:19 AM
Have you considered using an Update query using parameters from the form?

marzook
02-12-2009, 04:45 AM
No, can you please suggest on how to do

Thanks

Rabbie
02-12-2009, 04:49 AM
Use the information from your form to build an Update query to make the changes you require then run the query from your code.

See Access help for more info on Update queries.