Results 1 to 5 of 5
  1. #1
    Refereejohn is offline Novice
    Windows 10 Access 2016
    Join Date
    Feb 2017
    Location
    Glasgow, Scotland
    Posts
    11

    Automatic Deletion of Cells

    I have 11 Columns if I wanted to have three cells automatically delete after three months yet keep the remainder of the row how could I achieve this? I will have a date of birth, first name and last name to remove but keep the rest of the information in the row.

  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
    Sounds odd, but you could run an update query that set the value of those fields to Null or whatever, with the appropriate criteria.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Refereejohn is offline Novice
    Windows 10 Access 2016
    Join Date
    Feb 2017
    Location
    Glasgow, Scotland
    Posts
    11
    Thank you for your welcome reply. The updates to First Name, Last Name & Date of Birth field have to be between dates ordered. When I attempted the Update Query I could not get the data to pull through with the dates I had listed EG Between #1/1/2016# and #31/6/2016#. Does anyone have any suggestions?

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Shot in the dark, but try putting the date in US format.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Odd is an understatement, but Paul's correct about needing dates in US format in Queries. Allen Browne has an excellent article explaining this:

    International Dates in Access

    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

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

Similar Threads

  1. Prevent data entry or deletion
    By mortonsafari in forum Forms
    Replies: 3
    Last Post: 02-01-2016, 01:10 PM
  2. record deletion
    By Me.Howard in forum Access
    Replies: 16
    Last Post: 10-23-2015, 09:48 AM
  3. Replies: 3
    Last Post: 06-20-2014, 07:31 AM
  4. Deletion not done due to Error 3086
    By hklein in forum Access
    Replies: 2
    Last Post: 05-02-2012, 02:46 PM
  5. deletion with join
    By hklein in forum Queries
    Replies: 5
    Last Post: 05-01-2012, 03:41 PM

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