Solved

Populating the crystal report labels from using code behing

Posted on 2012-03-23
2
378 Views
Last Modified: 2012-04-16
My database is running on two languages, I used a table from the database to select the label to put on the form if a table field value is equal to the form control name.

I use me.controls(controlname).name = mmmm then me.controls(controlname).text = bra bra.

I want to apply the same technique on the crystal reports.

I am using VB.NET

Thanks

Anthony
0
Comment
Question by:Anthony Matovu
[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 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 37757584
I don't know if you can do it from the application but assuming you have the table available in the report, the report can use it to change the labels.  Use a formula for the labels.

If {Language} = 'English' then
   'Name'
Else
   'Nom'

mlmcc
0
 
LVL 1

Author Comment

by:Anthony Matovu
ID: 37850865
No comment
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

762 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