Combining two Queries

woknick

Registered User.
Local time
Today, 09:49
Joined
Sep 25, 2004
Messages
85
I have a query.

UPDATE Product SET Product.[In Stock] = ([Product].[In Stock]+1)
WHERE ((([Product]![ProductId])=[Forms]![Main Menu]![txtBarcode]));


What I want to do is use the 1st query but I want to use the Left$([txtBarcode],3) to substitue [txtBarcode]

Thanks in advance
 
UPDATE Product SET Product.[In Stock] = ([Product].[In Stock]+1)
WHERE ((([Product]![ProductId])=left$([Forms]![Main Menu]![txtBarcode],3)));

Thats all there is to it.

Greetz
 

Users who are viewing this thread

Back
Top Bottom