Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

crviewer

Status
Not open for further replies.

nnco

Programmer
Jun 11, 2002
3
LB
Hy,
I am working with crystal report 8.5, I want to be able to catch the field I am working with.
I am beeing able to catch the name of the field and the text in side, but what I want is to catch the field its's self.
Because what I want is to be able to change the fon in the minner way possible, what I mean is the following.
Suppose in a report I have the field fbname.

I have the opporunity to do the following:
report.fbname.font.italic = true and so on.
this is great for a particular case whae I know the field.

If I want to generalize, I want to catch the field, I am beiing able to catch the field name, at the click in the crviewer as follow:
Report.Database.Tables(1).Fields(Field).DatabaseFieldName
but this return the field name, not the field itself, and it's not logic to check for the field name, and sent the corresponding field each time.

I hope I was clear, sorry if it was long, but trying to be as much clear as possible.

Thanks for your help.

 
Try creating a formula field on the report. Use the IIF(<expr>,<true>,<False>) to change the font. Thanks and Good Luck!

zemp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top