Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 410
  • Last Modified:

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
0
Anthony Matovu
Asked:
Anthony Matovu
1 Solution
 
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now