Crystal 8.5 or 9
Database: SQL Server 2K
I want to change the Font size dynamically in Crystal depending on the length of the string because I want to print the name bigger or smaller depending on the length of the string with in the allotted space. I can not grow the field (no space to wrap).
Example:
Plain logic:
If the length of the Company Name > 30 characters then Font size = Arial 10
Else
If the lenth of the Company Name < 30 characters then Font size = Aial 12.
(If Length{Company.Name)>30 then Fontsize = 10 Else
If Fontsize = 12)
This is pretty much it. Is it possible to achieve this in Crystal 8.5 or 9? What is the correct syntax?
Thanks in advance.
Database: SQL Server 2K
I want to change the Font size dynamically in Crystal depending on the length of the string because I want to print the name bigger or smaller depending on the length of the string with in the allotted space. I can not grow the field (no space to wrap).
Example:
Plain logic:
If the length of the Company Name > 30 characters then Font size = Arial 10
Else
If the lenth of the Company Name < 30 characters then Font size = Aial 12.
(If Length{Company.Name)>30 then Fontsize = 10 Else
If Fontsize = 12)
This is pretty much it. Is it possible to achieve this in Crystal 8.5 or 9? What is the correct syntax?
Thanks in advance.