Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,446

    If the query fails, it has to move onto the next sequence automatically. It isn't that the numbers aren't in order.
    not sure what you mean by that. suggest provide examples.

  2. #17
    AccessPower's Avatar
    AccessPower is offline Competent Performer
    Windows 10 Access 2013 64bit
    Join Date
    Oct 2016
    Posts
    165
    Quote Originally Posted by Ajax View Post
    not sure what you mean by that. suggest provide examples.
    Yeah. That doesn't really make sense.

    What I mean is if this is my list, everything would pull correctly using that query:

    H1110
    H1112
    H1113
    H1114
    H1115 <--The query should pull this
    H1116 <--The query should pull this
    H1117 <--The query should pull this
    H1118
    H1119 <--The query should pull this
    H1120
    H1121
    H1122
    H1123
    H1124
    H1125
    H1126
    H1127
    H1128
    H1129

    By my list looks more like the one below, so the query is pulling the wrong set of numbers:

    H1110
    H1112
    H1114
    H1115 <-- The query will pull this. The query needs to skip this since there are no numbers ending in 7 or 9 that have all other characters the same as the 5 and 6.
    H1116 <-- The query will pull this. The query needs to skip this since there are no numbers ending in 7 or 9 that have all other characters the same as the 5 and 6.
    H1118
    H1121
    H1123
    H1124
    H1125 <-- The query will pull this.
    H1126 <-- The query will pull this.
    H1127 <-- The query should but won't pull this.
    H1128
    H1129 <-- The query should but won't pull this.

    That's the issue.

  3. #18
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,446
    suggest upload a db with some sample data - both tables. I can't see anything wrong with the logic at the moment. compact the db and zip it

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

Similar Threads

  1. Copied Report Malfunctioning
    By DragonTech in forum Reports
    Replies: 2
    Last Post: 06-23-2014, 10:12 AM
  2. Malfunctioning forms when loaded from switchboard
    By justphilip2003 in forum Access
    Replies: 4
    Last Post: 04-26-2013, 07:43 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