dcount from two tables.

prabhus

Registered User.
Local time
Today, 15:54
Joined
Mar 14, 2012
Messages
67
In my form, i would like to sum and dispay the values of datas from two different tables.
Table1: MasterTable1
Table2: MasterTable2
I use the below code for one table and its working.

Text15 = DCount("[client]", "[MasterTable1]", "[Confirmed]=Yes and [Assigned]=No")
But i want to sum the same criteria from MAstertable1 & Mastertable2 and display the data.
Please help.
 
What about the below?
Text15 = DCount("[client]", "[MasterTable1]", "[Confirmed]=Yes and [Assigned]=No")+DCount("[client]", "[MasterTable2]", "[Confirmed]=Yes and [Assigned]=No")
 
Thank you Sir, Perfect!!!
 

Users who are viewing this thread

Back
Top Bottom