I feel I have a good grip of the basics of SQL and I am trying to grip the more complex. I just wrote a query that starts with one query which grabs the selection criteria from a form. I then bring that into a second query which using totals counts the number of time a field occurs. I then bring that into a third query to count how many instances I have where the field occurs once, twice etc.
This works but has limitations.
My question is should I have been able to write this as one query instead of three and is there be a simple way to loop through several selection criteria (I am looking to loop through the whole set of data seperating it by Right([field),2)
Thanks Jane
This works but has limitations.
My question is should I have been able to write this as one query instead of three and is there be a simple way to loop through several selection criteria (I am looking to loop through the whole set of data seperating it by Right([field),2)
Thanks Jane