Results 1 to 2 of 2
  1. #1
    Jen0dorf is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Jul 2015
    Location
    UK
    Posts
    453

    delete query

    Hi



    I have two tables with some non matching data. Graves and Memorials

    I have created a query to separate the non matching fields as below,

    Code:
    FROM Graves LEFT JOIN Memorials ON Graves.[MLink] = Memorials.[MLink]
    WHERE (((Graves.MLink) Is Not Null) AND ((Memorials.MLink) Is Null));
    I now want to use this query to change the field Mlnik from a text value to Null

    I realise that I am unable to delete the record from the query so is this possible?

    I did think of creating another field in Graves, inputting a standard value using the filter query as criteria to only mark the records I want and then create an update to change all fields with that value to Null

    This seems a bit clumsy is there a better way?

    Thanks

    Ian

  2. #2
    NTC is offline VIP
    Windows 7 64bit Access 2013
    Join Date
    Nov 2009
    Posts
    2,392
    While I don't follow the specifics of what you are doing - one can use an Update query to change values - and that includes updating to "" which will be equivalent to null.

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

Similar Threads

  1. Delete does not delete records in evey table
    By LaughingBull in forum Access
    Replies: 5
    Last Post: 09-01-2015, 04:05 PM
  2. Replies: 6
    Last Post: 12-03-2014, 10:28 PM
  3. Replies: 2
    Last Post: 01-24-2012, 02:16 PM
  4. Trying to Delete record using delete query
    By MooseOTL in forum Access
    Replies: 13
    Last Post: 10-04-2011, 02:30 AM
  5. Replies: 11
    Last Post: 03-30-2011, 01:08 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