JanHumanitas
Technical User
Hello,
We have a table with name, address, zipcode and country. We have a report that generates addresslabels. The question from the user was to show the country only when it is outside the netherlands ("LandID<>132"). Because not all LandID fields are filled, I made the following formula:
if (isnull({tblContactpersoon.Land_ID})) or {tblContactpersoon.Land_ID} = 132
then ''
else '' & {nslZorgIsGBAlandenlijst.omschrijving}
NB: "nslZorgIsGBAlandenlijst.omschrijving" returns the country (not the ID..that would be stupid)
The problem now is that if LandID IS NULL, the entire record wont be displayed. If LandID = 132 the record will be displayed (without landdescription "Nederland" as I intented).
Because the users find it obvious that a person lives in the netherlands, they leave this field empty.
Can someone help me to return the records also when LandID is NULL?
Thanx!
Jan
We have a table with name, address, zipcode and country. We have a report that generates addresslabels. The question from the user was to show the country only when it is outside the netherlands ("LandID<>132"). Because not all LandID fields are filled, I made the following formula:
if (isnull({tblContactpersoon.Land_ID})) or {tblContactpersoon.Land_ID} = 132
then ''
else '' & {nslZorgIsGBAlandenlijst.omschrijving}
NB: "nslZorgIsGBAlandenlijst.omschrijving" returns the country (not the ID..that would be stupid)
The problem now is that if LandID IS NULL, the entire record wont be displayed. If LandID = 132 the record will be displayed (without landdescription "Nederland" as I intented).
Because the users find it obvious that a person lives in the netherlands, they leave this field empty.
Can someone help me to return the records also when LandID is NULL?
Thanx!
Jan