|
-
Jul 4th, 2008, 02:07 PM
#1
Thread Starter
Hyperactive Member
crystal report font change at run time
hi guys....i am using vb.net 2003 and crystal reports.....and am very new to both the things...
i would like to know that is there any way that we can change the fonts of the crystal reports as per the choice ofthe unser.
i have developed a prog. in a regional language ...and have even given the user the option to select the font he / she likes...its working fine with vb.net 2003 but how do i make the effect in crystal....
can some pls. pls. help me out...
thankx a lot in advance
-
Jul 4th, 2008, 08:23 PM
#2
Hyperactive Member
Re: crystal report font change at run time
You can use the conditional formatting using the X+2 buttons and parameters to pass the correct information in at runtime using an If statement. My suggestion would be to also set a default.
-
Jul 6th, 2008, 09:30 AM
#3
Thread Starter
Hyperactive Member
Re: crystal report font change at run time
 Originally Posted by rasinc
You can use the conditional formatting using the X+2 buttons and parameters to pass the correct information in at runtime using an If statement. My suggestion would be to also set a default.
thankx for ur reply ...but whats X+2 buttons...and i know how to pass a parameter...which i use for report headings and company names...but how do i use the parameter for fonts....can u pls. guide me more pls...
thankx a lot...
-
Jul 7th, 2008, 09:57 PM
#4
Hyperactive Member
Re: crystal report font change at run time
In the Crystal designer, right-click a field object, select Font. Then the button to the right of the font, X+2, click on it (it's the blue one in my Crystal). Then enter a formula like
Code:
If {?NewFont} <> "" then
{?NewFont}
else
DefaultAttribute
This assumes the parameter {?NewFont} contains the actual name of the new font.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|