Connecting Tech Pros Worldwide Forums | Help | Site Map

Calculated field based on values of different tables

john
Guest
 
Posts: n/a
#1: Jul 19 '06
With the help of this NG I got the following to work in a calculated field
in a form:

=DCount("*";"MyTable1";"MyField1='abc' AND MyField2='J'")

I would like to make another calculated field one the form with the
difference that MyField2 now comes from another table linked 1x1 to
MyTable1. Is this possible in a calculated field?

Thanks in advance,
john



salad
Guest
 
Posts: n/a
#2: Jul 19 '06

re: Calculated field based on values of different tables


john wrote:
Quote:
With the help of this NG I got the following to work in a calculated field
in a form:
>
=DCount("*";"MyTable1";"MyField1='abc' AND MyField2='J'")
>
I would like to make another calculated field one the form with the
difference that MyField2 now comes from another table linked 1x1 to
MyTable1. Is this possible in a calculated field?
>
Thanks in advance,
john
>
>
Create a query, do the same.
Closed Thread