+ Reply to Thread
Results 1 to 5 of 5

Delete Query Formatting

  1. #1
    Registered User
    Join Date
    07-13-2023
    Location
    Houston, TX
    MS-Off Ver
    Office 365
    Posts
    19

    Delete Query Formatting

    Hey all,

    I think I have a simple one, but I'm not really proficient in Access.

    I have a table, where a column could produce "P" or "T" values. I want to run a query that gets rid of all "P" values. I thought I was on to something when the query asked "are you sure you want to delete 2 records?," so I was excited! When I returned to the table, I saw that the 2 rows itself says #Deleted in every cell, and I was hoping it would just remove the rows.

    Is there a way that I can get a query to remove rows with "P" values and keep the Record ID in sequential numbering to identify the row #?

    Thank you!

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,888

    Re: Delete Query Formatting

    Can you post a sample of your Access DB so that we have something to manipulate? You will need to zip your Access file before loading to this site. Read the yellow banner at the top of this page on how to upload a file
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    07-13-2023
    Location
    Houston, TX
    MS-Off Ver
    Office 365
    Posts
    19
    Hey!

    I highly appreciate your reply, but I was able to resolve this. It looks like I took the appropriate steps, but I just needed to reopen the tables. I didn't see a way to [Solved] the thread when resolving, so I just left the thread as is.
    Last edited by AliGW; 08-15-2023 at 11:53 AM. Reason: Please do NOT quote unnecessarily!

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Delete Query Formatting

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    08-25-2023
    Location
    pakistan
    MS-Off Ver
    old
    Posts
    1

    Re: Delete Query Formatting

    can you share a sample of your post so it will be easy to understand your query?
    Last edited by jhoneybairstow; 08-31-2023 at 08:18 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Convert SELECT query to DELETE query
    By Jan7219 in forum Access Tables & Databases
    Replies: 5
    Last Post: 11-16-2020, 11:27 AM
  2. [SOLVED] Delete Query SQL problem
    By sebastienkanj in forum Excel Programming / VBA / Macros
    Replies: 33
    Last Post: 05-17-2013, 10:36 AM
  3. Delete Conditional Formatting conditions but keep cell formatting - Excel 2010
    By tetreama in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-09-2012, 08:28 PM
  4. trying to delete a query
    By mrayray09 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-07-2009, 02:48 PM
  5. Delete Query
    By GeoGreco in forum Access Tables & Databases
    Replies: 1
    Last Post: 03-20-2009, 01:16 AM
  6. delete query
    By JT in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-15-2006, 01:00 PM
  7. Replies: 1
    Last Post: 03-08-2006, 06:10 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1