Kevin Field
Registered User.
- Local time
- Today, 00:07
- Joined
- May 26, 2010
- Messages
- 35
Is have a two fields which take thier value from a table.
The first is [ClientID]
The second is [Joint Owner ID]
Basically, on my report i want to do the following.
If [Joint Owner ID] has a value then i want it to show "Joint"
If [Joint Owner ID] doesnt have a value then i want it to show "Client"
If neither of the fields contain any data i want the box to be empty.
I currently have this code:
=IIf([Joint Owner ID] Is Not Null,"Joint") Or IIf([Joint Owner ID] Is Null,"") Or IIf([Joint Owner ID] & [ClientID] Is Null,"")
I know this is wrong. Can someone help? Ive been racking my brain for hours and hours.
The first is [ClientID]
The second is [Joint Owner ID]
Basically, on my report i want to do the following.
If [Joint Owner ID] has a value then i want it to show "Joint"
If [Joint Owner ID] doesnt have a value then i want it to show "Client"
If neither of the fields contain any data i want the box to be empty.
I currently have this code:
=IIf([Joint Owner ID] Is Not Null,"Joint") Or IIf([Joint Owner ID] Is Null,"") Or IIf([Joint Owner ID] & [ClientID] Is Null,"")
I know this is wrong. Can someone help? Ive been racking my brain for hours and hours.