how to insert a diamond shape in crystal?

how to insert a diamond shape in crystal reports?

thanks in advance,
new_crsytal
new_crystalAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mlmccCommented:
I don't believe you can.

What are you trying to build?

You possibly can use the \ and / to draw one but it won't be able to grow.

mlmcc
0
new_crystalAuthor Commented:
these are few shapes i need to be inserted in my report, these are kind of symbols for some data.
i want to insert a diamond shape, a triangular shape.
0
mlmccCommented:
Do you just need the shape or do you need it to hold information/text?

Will the shape be set in size?

You may be able to create an image and insert the image.

mlmcc
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

new_crystalAuthor Commented:
i just wanna insert the shape, filled with customized color. yeah, it should be set to size.
how do i create an image and insert? from MS Excel??
0
mlmccCommented:
Any program that can save as a jpg.

mlmcc
0
James0628Commented:
As with your question about adding an arrow head to a line, you can insert a diamond shape by using a font that has diamond shapes in it.  "Wingdings 2" has some.

 You could just use a text field and change the font (as I suggested for the arrow head), except that I don't see any diamond shapes in "Wingdings 2" among the "regular" characters.  So, instead you can create a formula and use ChrW to pick the character you want.  For example, 191 in "Wingdings 2" is a solid diamond shape, so create a formula like:

// diamond
ChrW (191)

 Then insert that formula in your report.  You can change the font size and color for that field to change the size and color of the diamond.

 Once again, keep in mind that your printer will have to support the font if you want the diamond to show up on the printed report.

 James
0
new_crystalAuthor Commented:
i tried, it didnt give me the diamond shape. it gave me the upside down question mark (?).
0
new_crystalAuthor Commented:
because the ChrW function is used for converting from the unicode value. Does anybody know how to convert from the ASCII decimal value.
0
James0628Commented:
Did you change the font on that field to "Wingdings 2"?  191 gives me an upside down question mark with the Arial font.  I get a diamond with "Wingdings 2".  If you did change it to "Wingdings 2", then I don't know why 191 didn't give you the diamond.  Maybe it's affected by some regional setting in Windows.  If so, you could try other values.

 If you don't have the Wingdings fonts, maybe one of the fonts that you do have has special symbols like that.

 Of course, whatever font you choose, it would presumably need to be supported by any printer that you were going to print this report on, and I assume that it would need to be installed on any computer that was going to run this report (unless the fonts are stored inside the report).

 James
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
new_crystalAuthor Commented:
yes, i didnt change the field font to Wingdings2...thanks a bunch!!! u made my day!!
0
James0628Commented:
You're welcome.  Glad I could help.

 James
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Crystal Reports

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.