In Access 2007 I have a multiple item form that is based on a table query. I have a command button in front of the line so when the form displays each record on the form has a control button. I need to associate the button with the specific record from the query and based on a value in that lines record I need to do an action.
Command1 Query.record1 field flag = 1 send file
Command2 Query.record2 field flag = 0 get file
In the list of records there will be only 1 record with a flag value of 1 all other records will have a flag value of 0.