G
Guest
I am trying to create a query that will take a user entered number, add it to an existing number and update the field where the latter number is held. When the query is run, it takes the first number (user-entered) and adds it twice. Ex: 2+6=10. Following is the SQL.
UPDATE Performance INNER JOIN [Performance Reservation] ON Performance.[Performance Name]=[Performance Reservation].[Performance Name] SET Performance.[Number Currently in Attendance] = Forms![Performance Reservation]![Number Attending]+Performance![Number Currently in Attendance]
WHERE (((Performance![Performance Name])=Forms![Performance Reservation]![Performance Name]));
Thanks for any help you can offer!
UPDATE Performance INNER JOIN [Performance Reservation] ON Performance.[Performance Name]=[Performance Reservation].[Performance Name] SET Performance.[Number Currently in Attendance] = Forms![Performance Reservation]![Number Attending]+Performance![Number Currently in Attendance]
WHERE (((Performance![Performance Name])=Forms![Performance Reservation]![Performance Name]));
Thanks for any help you can offer!