View Full Version : Setvalue macro


SENT
10-25-2005, 04:16 PM
Hello i wonder if you could help me
I have a table called MAIN in this table are yes/no fields called "contacted" and "missed"

I am trying to write a macro that finds all the records that are ticked yes in contacted and missed and then untick all those records to have "no" in those fields

I have made a query that finds the records I would like to change but I cannot seem to get it to set the yes values to no values on all the filtered records

i get an error on the setvalue line saying it cant find the [main]![contacted] which i am trying to set to no instead of yes


any help would be appreciated



Thanks Paul

reclusivemonkey
10-26-2005, 02:56 AM
Why not use an update query? That will do everything you have asked for.

SENT
10-26-2005, 01:11 PM
fantastic i tried and found that super easy and works superb

thanks a lot fella :)