Solved

Can a Field Grow Horizontally?

Posted on 2006-10-29
4
2,038 Views
Last Modified: 2008-02-01
I am writing a Crystal Report using the VS.NET 2005 embedded version, trying to make a field that can grow horizontally. I have a numeric % value for each record, and want to display visually the value in horizontal bar chart fashion. I want to have a blank text field with red background, and set the width of the field using a formula based on the % value. Or, create an invisible string of X's whose length is the % value, and allow the field to grow wider. Is either of these methods possible?
0
Comment
Question by:alfer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 42

Expert Comment

by:frodoman
ID: 17833434
No, Crystal will only grow fields vertically, not horizontally.  This is because a report itself can grow vertically by adding pages but cannot grow horizontally.

Why not just use a chart to display the data?  Otherwise, you can accomplish this using a vertical approach instead but not horizontal.

frodoman
0
 
LVL 7

Accepted Solution

by:
ast2550 earned 125 total points
ID: 17834653
I can imagine that you could trick it up to work, but it isn't very pretty or configurable.

If you have finite choices for variations of bar length (say 0-10), then you could create 10 text objects, for example, with a background color to show each a portion of the line.  So, if you wanted to show 3, then you'd make the first three text objects visible by your criteria(each of which are only 1/10 of the total space)
[ ][ ][ ] for 3/10
So, the suppress formula for the the other seven bars would make them not visable.
0
 
LVL 42

Expert Comment

by:frodoman
ID: 17834677
Interesting idea - that might work as long as you can come up with a finite limit.

frodoman
0
 
LVL 7

Expert Comment

by:ast2550
ID: 17858242
Any update?
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question