R
Ryan Johnson
I found out how to display an image that would be associated with a
person in the DRW. After I got this going I noticed that if there is
no value in the Image field of my database it will display a broken
link. Does anyone know how I can maybe say in my query to display the
Image only if it exists?
Here's my query:
SELECT FirstName, LastName, JohnsonBranch, RelationshipToBranch,
Autobiography, Image FROM Registration WHERE (FirstName LIKE
'%::FirstName::%' AND LastName LIKE '%::LastName::%' OR Autobiography
LIKE '%::FirstName::%' AND Autobiography LIKE '%::LastName::%') ORDER
BY FirstName ASC,LastName ASC,JohnsonBranch ASC,RelationshipToBranch
ASC
Thanks,
Ryan
person in the DRW. After I got this going I noticed that if there is
no value in the Image field of my database it will display a broken
link. Does anyone know how I can maybe say in my query to display the
Image only if it exists?
Here's my query:
SELECT FirstName, LastName, JohnsonBranch, RelationshipToBranch,
Autobiography, Image FROM Registration WHERE (FirstName LIKE
'%::FirstName::%' AND LastName LIKE '%::LastName::%' OR Autobiography
LIKE '%::FirstName::%' AND Autobiography LIKE '%::LastName::%') ORDER
BY FirstName ASC,LastName ASC,JohnsonBranch ASC,RelationshipToBranch
ASC
Thanks,
Ryan