djtony
asked on
Question about dynamic photo showed in Crystal report 9 prof
hi all,
i have a question about dynamic photo showed in Crystal report 9 prof,
in my case,
i am using CR9's database expert to connect to sybase directly without any VB or VB.code
and
i want to show a boy photo when get a value from database is "Male",
if get a "Female" value then show a girl photo.
for example
if TABLE.Gender = "Male"
SHOW boy picture
else if TABLE.Gender ="Female"
SHOW girl picture
should i use the formula to fulfill this task
and how to do that ?
thanks
tony
i have a question about dynamic photo showed in Crystal report 9 prof,
in my case,
i am using CR9's database expert to connect to sybase directly without any VB or VB.code
and
i want to show a boy photo when get a value from database is "Male",
if get a "Female" value then show a girl photo.
for example
if TABLE.Gender = "Male"
SHOW boy picture
else if TABLE.Gender ="Female"
SHOW girl picture
should i use the formula to fulfill this task
and how to do that ?
thanks
tony
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks a lot !
it's worked !
it's worked !
Thanks.
Glad I could help.
Glad I could help.
TABLE
ID GENDER BLOB/IMAGE
1 Female girl
2 Male boy
//Your New Formula Field (@ShowPicture)
if {TABLE.Gender} = "Male" then
{Table.boy}
else if {TABLE.Gender} ="Female"
{Table.girl}