+ Reply to Thread
Results 1 to 5 of 5

MS Access: Remove row if all fields are empty expect first

  1. #1
    Registered User
    Join Date
    11-10-2020
    Location
    London
    MS-Off Ver
    365
    Posts
    11

    MS Access: Remove row if all fields are empty expect first

    Hello,

    I would like to remove all rows from a table there all fields are empty expect the first.

    Like this, but I do not want to add all fields. Is it possible to fill in all fields by auto?

    DELETE *
    from table1
    where myfield is null

    /P

  2. #2
    Banned User!
    Join Date
    02-06-2020
    Location
    Iowa City, IA, USA
    MS-Off Ver
    2016 - 365 / 2007
    Posts
    2,014

    Re: MS Access: Remove row if all fields are empty expect first

    fill in all fields by auto? what do you mean by that? if you want an automatic process of writing the fields into the query statement, no you can't do that. unless you want to code it in. the easiest way to do it would be this:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    11-10-2020
    Location
    London
    MS-Off Ver
    365
    Posts
    11

    Re: MS Access: Remove row if all fields are empty expect first

    Yes Thanks!

  4. #4
    Banned User!
    Join Date
    02-06-2020
    Location
    Iowa City, IA, USA
    MS-Off Ver
    2016 - 365 / 2007
    Posts
    2,014

    Re: MS Access: Remove row if all fields are empty expect first

    okay then!

  5. #5
    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,418

    Re: MS Access: Remove row if all fields are empty expect first

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
    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.

+ 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. Remove or hide two null/empty fields in a row
    By m5russell6 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-07-2016, 05:00 PM
  2. [SOLVED] Fill or empty fields
    By DTEInc in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-30-2015, 06:37 PM
  3. Not Allow Empty Userform Fields
    By Will_P in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 04-16-2013, 06:29 PM
  4. Replies: 1
    Last Post: 04-25-2011, 01:17 PM
  5. Sum Fields if Cell is Empty
    By fpmsi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-20-2009, 04:29 PM
  6. How to hide '0' shown in empty fields (Access form)
    By WillysK5 in forum Access Programming / VBA / Macros
    Replies: 5
    Last Post: 05-22-2009, 10:16 AM
  7. Merging Vertical fields up if fields to either side are empty
    By SuperMykEl in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-09-2008, 11:25 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