Populating the crystal report labels from using code behing

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
LVL 1
Anthony MatovuBusiness Analyst, MTN UgandaAsked:
Who is Participating?
 
mlmccCommented:
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
 
Anthony MatovuBusiness Analyst, MTN UgandaAuthor Commented:
No comment
0
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.

All Courses

From novice to tech pro — start learning today.