Results 1 to 2 of 2
  1. #1
    Siobhan is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Apr 2011
    Posts
    4

    Question Update Query

    Please can any of you help me?



    My database is for a local garage and I have a booking table.
    My booking table has the following fields;
    Booking ID
    Customer ID
    Service Items ID
    Booking Date - Long date format
    Booking Time
    Booking Duration
    Total Booking Cost
    Payment Due By

    I am trying to create an update query which will update the "Payment Due By" from adding 7 days to the "Booking Date" however, when I try to update by doing [Booking Date] +7 nothing happens?

    Please can you help me to complete this update query

    This is the SQL that I have tried to use but with no luck.... UPDATE tblBooking SET tblBooking.[Payment Due By] = [tblBooking]![Booking Date]=DateAdd("d",7,[tblBooking]![Booking Date]);


  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Please don't post the same question twice:

    https://www.accessforums.net/queries...ded-13001.html
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Select Query > Update Query > Table Field
    By tuggleport in forum Queries
    Replies: 2
    Last Post: 08-09-2012, 07:04 AM
  2. Update 2 tables with one Update Query
    By Douglasrac in forum Queries
    Replies: 4
    Last Post: 04-14-2011, 08:33 AM
  3. Replies: 1
    Last Post: 04-14-2011, 07:19 AM
  4. Replies: 2
    Last Post: 01-31-2011, 08:31 AM
  5. Update Query- selective update?
    By stephenaa5 in forum Queries
    Replies: 1
    Last Post: 10-29-2009, 11:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums