Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Populating the crystal report labels from using code behing

Posted on 2012-03-23
2
Medium Priority
?
400 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 101

Accepted Solution

by:
mlmcc earned 2000 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

Use Filtering Commands to Process Files in Linux

Learn how to manipulate data with the help of various filtering commands such as `cat`, `fmt`, `pr`, and others in Linux.

Question has a verified solution.

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

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

730 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