hi all
please see attached word doc.
im not very familiar with SQL and am having difficulty writing the code which includes a nested / sub query to access data from a previous record.
i did get it working ok when all the data is in one table however im stumped when the criteria and sub queries relate to different queries (i think lol)
i have been tearing whats left out of my hair for a couple of days now therefore any help would be most appreciated.
kind regards
michael