Brilliant Fred your a mind reader too. Worked perfectly. Just did not
want
to show Direct Banking details if there was no Bank listed in
tbDirectBanking
So with any other text boxes relevant I just have to add ,
IIf(IsNull([tbDirectBank]),"", to the start and and ) at the finish?
On Wed, 6 Dec 2006 11:13:26 +1300, Bob wrote:
I want this text box not to show this unless tbDirectBank has data in
it!
=UCase(Left(Nz(DLookUp("[OwnerLastName]","tblOwnerInfo","[OwnerID] = "
&
[tbOwnerID] & ""),""),3)) if tbDirectBank is Null show ""+
What is 'tbDirectBank'? Is it a field in the form's record source?
What is the datatype of [OwnerID]? I suspect it's a Number datatype,
not
text.
You wish to show just the first 3 characters of [OwnerLastName] in
Upper
Case.
Is this all correct?
=IIf(IsNull([tbDirectBank]),"",UCase(Left(DLookUp("[OwnerLastName]",
"tblOwnerInfo","[OwnerID] = " & [tbOwnerID]),3)))