View Single Post
  #2  
Old April 12th, 2010, 01:34 AM posted to microsoft.public.access.gettingstarted
John W. Vinson
external usenet poster
 
Posts: 18,261
Default create an update query

On Sun, 11 Apr 2010 17:15:01 -0700, kim wrote:

How do I update the disount field for all customers who do not already have a
discount?


You can see your table structure - we cannot.

Guessing that there is a field in the table Customers named Discount, you can
create an update query with a criterion

Is Null

on the discount field to find all records with blank (empty) discounts. If the
discount defaults to 0 you can use a criteron

=0

Post back if I'm misguessing your table structure!
--

John W. Vinson [MVP]