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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RDC Text Field Names

Status
Not open for further replies.

jedownsjr

IS-IT--Management
Jun 2, 2003
121
US
I have a complex report with many text fields that I have included in a VB project which uses the RDC. (I am using CR v8.5 Developer edition. )I can access the properties for these many text fields in the drop-down property list, but they are named something like TextField1 ... TextField100 . There is nothing that I can see when looking in the report designer that lets me know which text field is TextField1, which field is TextField2, etc. I need to be able to select the proper text field by name in my code to be able to change it's properties (background color).
Q: Is there a way to tell the name of each text field other than just by trial and error?
 
If you're using the Add-In designer in your VB project, you can specify names for you text objects (click on a Text Object, and look in the Properties window for Name).

If you're talking about the actual Crystal Reports Designer (crw32.exe), then you either have to know what text object Text1 is, or you can set some other property of the text object (like Tool Tip Text) to find a particular text object. Or, you can read the Text of each one to find the one(s) you're looking for.

-dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top