Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    ssanfu is offline Master of Nothing
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    That happens when you create a query in the query designer, then switch to SQL view. Usually doesn't hurt anything if you want to edit the SQL and remove the "extra parentheses".



    Code:
    SELECT TableGroup.GroupName AS EmptyGroupFROM TableGroup
    GROUP BY TableGroup.GroupName
    HAVING Sum([Administrator]) = 0;

  2. #17
    accesstos's Avatar
    accesstos is offline Expert
    Windows XP Access 2007
    Join Date
    Dec 2018
    Location
    Greece
    Posts
    551
    Quote Originally Posted by VAer View Post
    Does below code missing dbs.Execute "qryEmptyGroups" for the first line?
    No, it's not needed in this code. qryEmptyGroups is part (subquery) of AppendQuery and DeleteQuery.

    P.S.
    I see that the EmptyGroupFROM is one word. You have to separate them with a space: EmptyGroup FROM

  3. #18
    VAer's Avatar
    VAer is offline Competent Performer
    Windows 10 Access 2013 32bit
    Join Date
    Sep 2016
    Location
    USA
    Posts
    163
    Thanks so much!

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 14
    Last Post: 09-04-2020, 01:24 PM
  2. Replies: 10
    Last Post: 10-03-2018, 01:14 PM
  3. Replies: 5
    Last Post: 05-29-2018, 04:50 AM
  4. Replies: 1
    Last Post: 10-10-2014, 05:58 AM
  5. code to delete rows based of empty cells
    By jcbrackett in forum Programming
    Replies: 3
    Last Post: 03-05-2012, 02:27 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