EDITED BY THE_DOC_MAN to correct the code bracketing. NO edits to the actual content.
I would appreciate advice on updating a table via a select query which has two IIF fields .Query SQL below
The above SQL work well in that the select query up dates when check boxes are ticked,, however the results are not updating the Training Table .
Regards Ypma
I would appreciate advice on updating a table via a select query which has two IIF fields .Query SQL below
Code:
SELECT QueryTraining.ID, QueryTraining.FirstName, QueryTraining.Hampshire, IIf([Hampshire]=True,20,0) AS HampshireFees, QueryTraining.[Cams league], IIf([Cams League]=True,18,0) AS CamsFees, Nz([camsFees])+Nz([hampshirefees]) AS ExtraFees, QueryTraining.Team
FROM QueryTraining
WHERE (((QueryTraining.Team)="Topaz"))
The above SQL work well in that the select query up dates when check boxes are ticked,, however the results are not updating the Training Table .
Regards Ypma
Attachments
Last edited by a moderator: