xcessminds
New member
- Local time
- Today, 12:33
- Joined
- Dec 19, 2007
- Messages
- 8
Hi All,
I am getting problem "Error: too few parameters. Expected 1" when following Query is executed to updated a Flag Value in a table on Click event of a Submit button.
CurrentDb.Execute "UPDATE Scheduled_Appointment SET Is_Taken = 1 WHERE Scheduled_Appointment_ID LIKE Me.Sch_P_ID"
Where:
Table: Scheduled_Appointment
Column: Scheduled_Appointment_ID [Primary Key]
Column: Is_Taken [ColumnType = Number ]
Text Field: Me.Sch_P_ID [contains the Scheduled_Appointment_ID value for the selected Record on the Form]
Thanks in Advance.
I am getting problem "Error: too few parameters. Expected 1" when following Query is executed to updated a Flag Value in a table on Click event of a Submit button.
CurrentDb.Execute "UPDATE Scheduled_Appointment SET Is_Taken = 1 WHERE Scheduled_Appointment_ID LIKE Me.Sch_P_ID"
Where:
Table: Scheduled_Appointment
Column: Scheduled_Appointment_ID [Primary Key]
Column: Is_Taken [ColumnType = Number ]
Text Field: Me.Sch_P_ID [contains the Scheduled_Appointment_ID value for the selected Record on the Form]
Thanks in Advance.