G
Guest
Hello again,
Yesterday I got some great help on my problem with my query and I would like
to enhance on that a little with your help.
here is the current SQL I'm using...
SELECT tbl_main.cbID, Mid([CBnumRemarks],7,4) AS sort1
FROM tbl_main
GROUP BY tbl_main.cbID, Mid([CBnumRemarks],7,4)
HAVING (((Mid([CBnumRemarks],7,4))>=1))
ORDER BY Mid([CBnumRemarks],7,4);
This takes "CB-01-1101-09-07", breaks it down to just "1101" and sorts it
for me. Which is great, but is there a way to have this "Show" me all the
Missing or out of place data? The data should include all of the nubers from
0001 through ???? and I'm wanting to find out which numbers are missing?
Yesterday I got some great help on my problem with my query and I would like
to enhance on that a little with your help.
here is the current SQL I'm using...
SELECT tbl_main.cbID, Mid([CBnumRemarks],7,4) AS sort1
FROM tbl_main
GROUP BY tbl_main.cbID, Mid([CBnumRemarks],7,4)
HAVING (((Mid([CBnumRemarks],7,4))>=1))
ORDER BY Mid([CBnumRemarks],7,4);
This takes "CB-01-1101-09-07", breaks it down to just "1101" and sorts it
for me. Which is great, but is there a way to have this "Show" me all the
Missing or out of place data? The data should include all of the nubers from
0001 through ???? and I'm wanting to find out which numbers are missing?