J
JohnB
Hi. Can anyone help me put together a Where clause for
the following DLookup please? I will use this in a text
box in a Subform called frmLandladiesSubform.
=DLookup ("[FirstName]","[tblLandladies]","Where Clause")
I want the Where clause to get access to go to
tblLandladies, find the record that has the same value in
field LandladyID as field SecondLandladyID in the record
currently being displayed in frmLandladiesSubform. Then
display the content of the FirstName field.
So, say the current record being displayed in
frmLandladiesSubform has a SecondLandladyID value of 344,
then access would go to tblLandladies, find the record
whose LandladyID value is also 344 and display the value
of field FirstName in the text box.
Thanks in advance for any help.
Cheers, JohnB
the following DLookup please? I will use this in a text
box in a Subform called frmLandladiesSubform.
=DLookup ("[FirstName]","[tblLandladies]","Where Clause")
I want the Where clause to get access to go to
tblLandladies, find the record that has the same value in
field LandladyID as field SecondLandladyID in the record
currently being displayed in frmLandladiesSubform. Then
display the content of the FirstName field.
So, say the current record being displayed in
frmLandladiesSubform has a SecondLandladyID value of 344,
then access would go to tblLandladies, find the record
whose LandladyID value is also 344 and display the value
of field FirstName in the text box.
Thanks in advance for any help.
Cheers, JohnB