I had great expectations of you DaveOnly 2641 words that have special meaning, how could I have not known that![]()
Only 2641 words that have special meaning, how could I have not known that
No way you could have, and I don't know them either.
Heres the thing you don't need to remember them, I don't, I use a little trick.
Most of the words you naturally want to use in your database will be reserved words, you already found one:- "Date" the trick is NEVER USE a real word!
So instead of "Date" use myDate or thisDate, or any combination that takes your fancy.
There is a "Naming convention called the Leszynski naming convention which should give you some ideas for prefixes (or a sufix) that will help youn avoid using reseved words.
Heres a better display of the naming convention....
http://access.mvps.org/access/general/gen0012.htm
Yes you're seeing a bright light... don't run towards itGrouped by Entity Number
I'm hoping to be able to get totals for each field for each entity eventually.
I can see it being a query for each field some will have count restrictions like the Date we are working with now, some will be restricted by date and another field.
Is that a light at the end of the tunnel? I hope it doesn't have wheels and carriages.
=DCount("*", "[[COLOR="Blue"]qryDistinctPartList[/COLOR]]", "[Entity Number]=" & [Entity Number])
Yes you're seeing a bright light... don't run towards it
The easiest route is to use a DCount() function to get the count of records per [Entity Number] (by the way which still has a space in its name and the same goes to Participant List - again it's not the end of the world as long as you keep enclosing it in square brackets).
The DCount will look something like this:
Substitute the name of the query you created a few posts ago in the highlighted bit. The whole code will go in the Control Source of your textbox.Code:=DCount("*", "[[COLOR=blue]qryDistinctPartList[/COLOR]]", "[Entity Number]=" & [Entity Number])
Anywhere else you feel the need. Read up the link I sent. There are also other functions you'll find useful on that site.
are you taking the piss