NBVC
Only trying to help
- Local time
- Today, 14:48
- Joined
- Apr 25, 2008
- Messages
- 317
Update Query saying 0 Records will be updated
Hi Guys,
Not sure what I am missing here.
I have a simple Select Query based on one table.
In SQL View, the query is:
so basically getting all records in the CUSTOMER_ORDER table that have ID beginning with Q and the STATUS is H (on hold).
I want to simply update these to change the STATUS to C (closed).
I converted the SELECT Query to an UPDATE Query and added a "C" in the Update To Field.
The SQL View is now:
But for some reason Access is telling me that it will update 0 records. There are over 2500 records to update.
Any ideas on what I am missing?
Hi Guys,
Not sure what I am missing here.
I have a simple Select Query based on one table.
In SQL View, the query is:
Code:
SELECT SYSADM_CUSTOMER_ORDER.ID, SYSADM_CUSTOMER_ORDER.STATUS
FROM SYSADM_CUSTOMER_ORDER
WHERE (((SYSADM_CUSTOMER_ORDER.ID) Like 'Q%') AND ((SYSADM_CUSTOMER_ORDER.STATUS)="H"));
I want to simply update these to change the STATUS to C (closed).
I converted the SELECT Query to an UPDATE Query and added a "C" in the Update To Field.
The SQL View is now:
Code:
UPDATE SYSADM_CUSTOMER_ORDER SET SYSADM_CUSTOMER_ORDER.STATUS = "C"
WHERE (((SYSADM_CUSTOMER_ORDER.ID) Like 'Q%') AND ((SYSADM_CUSTOMER_ORDER.STATUS)="H"));
Any ideas on what I am missing?
Last edited: