Hi.
I am trying to add a Macro that sets the value of one field based on the value of another field. The field with the value already exists in the database. I added the new field that I want populated. For example.
CONDITION ACTION
[TYPE] IN ("ALDERMAN","CHA",VFC") SETVALUE
ITEM: [CATEGORY]
EXPRESSION: "COMMUNITY"
when I attach this macro to the TYPE field (in the event tab,"On Exit") and attempt to run, I get an error message saying that Access can't find the field "TYPE". I don't understand this since TYPE was already in the database (in the table and form). Does anyone know what I am missing or doing wrong?
Thanks
Enrique Ramirez[/code]
I am trying to add a Macro that sets the value of one field based on the value of another field. The field with the value already exists in the database. I added the new field that I want populated. For example.
CONDITION ACTION
[TYPE] IN ("ALDERMAN","CHA",VFC") SETVALUE
ITEM: [CATEGORY]
EXPRESSION: "COMMUNITY"
when I attach this macro to the TYPE field (in the event tab,"On Exit") and attempt to run, I get an error message saying that Access can't find the field "TYPE". I don't understand this since TYPE was already in the database (in the table and form). Does anyone know what I am missing or doing wrong?
Thanks
Enrique Ramirez[/code]