Solved

Format Crystal Fields through VB.NET

Posted on 2008-10-01
4
230 Views
Last Modified: 2013-11-07
I am trying to change the formatting of fields based upon selection in a VB .NET program.  How can I do this?  The version of VB .NET is 2003.
0
Comment
Question by:jdonaghe
  • 2
4 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 250 total points
ID: 22618087
0
 
LVL 100

Assisted Solution

by:mlmcc
mlmcc earned 250 total points
ID: 22618385
Parameters are one way to do it.

What is you want to change.

mlmcc
0
 

Author Comment

by:jdonaghe
ID: 22662124
The format of a field.  Like changing the decimal points or the negative sign for a formatted number.  Things like that.
0
 
LVL 100

Assisted Solution

by:mlmcc
mlmcc earned 250 total points
ID: 22662911
You can pass a parameter in and use it in the formula that sets the format.

Right click the field
Find the format you want to change
If there is a formula button to the right of the format name you can control it through the formula

For example the decimal points you use something like

If {?Param} = 2 then
    2
else
    4

mlmcc
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB.NET 1 22
Reading the web config for a running service on Windows 10 16 41
Need to learn more about SecurityProtocolType.Tls12 3 29
parsing JSON help 1 9
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
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 …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

777 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