Link to home
Start Free TrialLog in
Avatar of Wade Knox
Wade KnoxFlag for United States of America

asked on

whats wrong?

I have a button on my form with the following code in it

CN_Web.Status = "complete"
Vessel_Sum_Web.Status = "complete"

I want it to update the currently displayed records status fields to "complete"

Any ideas.

Avatar of Kevin Cross
Kevin Cross
Flag of United States of America image

You would run these sql codes in the command of the button if I understand you correctly:

UPDATE CN_Web
SET Status = "complete"
WHERE ID = Forms!Your_Form_Name!ID 'Key for record

UPDATE Vessel_Sum_Web
SET Status = "complete"
WHERE ID = Forms!Your_Form_Name!ID 'Key for record
ASKER CERTIFIED SOLUTION
Avatar of Chuck Wood
Chuck Wood
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial