If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Help With Expression Please
On Thu, 1 Dec 2005 16:42:03 +0000 (UTC), Saxman
wrote: =DCount("*","Clients","[Therapy1] = '1'")+DCount("*","Clients","[Therapy2] = '1'")+DCount("*","Clients","[Therapy3] = '1'")+DCount("*","Clients","[Therapy4] = '1'")+DCount("*","Clients","[Therapy5] = '1'")+DCount("*","Clients","[Therapy6] = '1'") I see you got a solution... BUT. Part of the problem is that your table structure is non normalized. If you have six therapies for a client, someday you might need seven. What do you do then? Restructure your table, rewrite all your queries, redesign all your forms? If you have a Many (clients) to Many (therapies) relationship... model it as a many to many relationship, with a ClientTherapy table with one row for each therapy/client combination. John W. Vinson[MVP] |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Query expression criteria- Access can't recognize column as dates | Ken Snell [MVP] | Running & Setting Up Queries | 2 | August 2nd, 2005 01:41 AM |
Problem using Query Criteria with an Expression | Carol | Running & Setting Up Queries | 6 | June 21st, 2005 09:03 PM |
Can Excel represent formula in textural format with values substi. | BoneR | Worksheet Functions | 7 | March 31st, 2005 03:11 PM |
expression builder erased my expression | Stefano | General Discussion | 1 | December 6th, 2004 10:17 PM |
Here's a shocker | Mike Labosh | General Discussion | 2 | October 26th, 2004 05:04 PM |