Hi All,
I have a button that runs a line of UPDATE SQL, but I want it to update the last record. How would I go about this?
I assume it's part of the where condition but I'm not sure how I'd achieve it. The code I have so far is this;
Thanks all!
I have a button that runs a line of UPDATE SQL, but I want it to update the last record. How would I go about this?
I assume it's part of the where condition but I'm not sure how I'd achieve it. The code I have so far is this;
Code:
DoCmd.RunSQL "UPDATE [MASTER PLANNER] SET [MASTER PLANNER].[USER] = Forms!frmLogin!cboUser.Column(0) WHERE (last record)"
Thanks all!