Be aware that this stuff is way over my pay-grade, so any dumbing down of replies is appreciated 
I was happy to get one of my SQL statements expressed well enough to actually generate usable results. Except i wanted them in order of last date worn (maxofdateworn).
SQL = "SELECT TOP 4 MAX(tblDatesWorn.[DateWorn]) AS MaxofDateWorn, tblOutfits.[ID], tblOutfits.[similar], tblImage.[txtImageName] FROM (tblImage INNER JOIN tblOutfits ON tblImage.ID = tblOutfits.Image) INNER JOIN tblDatesWorn ON tblOutfits.ID = tblDatesWorn.Outfit WHERE ((tblOutfits.[similar])=" & Me.[Similar] & ") GROUP BY tblOutfits.ID, tblOutfits.similar, tblImage.txtImageName ORDER BY MaxofDateWorn;"
So when I add the ORDER BY statement at the end ... the script chokes and errors:
Code:
Run Time error 3061
Too Few parameters. Expected 1
I'm stumped ? *
* not that that is terribly difficult to do.