|
-
Feb 8th, 2010, 05:28 AM
#1
Thread Starter
New Member
Crystal report problem
hi all ,
I am using crystal report in my vb6 application , the cr version is 4.6
what I want is to put a condition if the field = "total " then color all the fields with grey color .
I tried to search in google , I found that I shoud use select records expert
but I didnt know how to use it to color all the fields .
help please
-
Feb 8th, 2010, 07:54 AM
#2
Re: Crystal report problem
-
Feb 8th, 2010, 04:05 PM
#3
Re: Crystal report problem
I'm afraid, AFAIK, that you have to condition every field
-
Feb 9th, 2010, 02:05 AM
#4
Thread Starter
New Member
Re: Crystal report problem
 Originally Posted by jggtz
I'm afraid, AFAIK, that you have to condition every field
hi
how can I assign color to the field whats the function ?
because I search the edit formula but I didnt find the coloring function !
any code may help me ?
-
Feb 9th, 2010, 12:05 PM
#5
Re: Crystal report problem
Click right button over every field that you want to condition (one by one, I never try selecting all the fields)
Select 'Font'
Set desired Color in the Color combobox
Click over 'x-2' button at the right side
In the formula Editor window, write your condition as (is an example, write your real table an field names):
Code:
If {Table1.Field1]="total" then crRed
Save the formula
And that's it
JG
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
|