That's a creative solution ... but unfortunately, I need to update 100's of existing reports where the fields are already placed in the reports -- a huge job if done manually. (BTW, our report files are created in CR 8.5 Professional, but I also have CR 8.5 Developer which gives me access to the RDC.) I know how to create a simple report from scratch using the RDC and the designer in VB, but I'm not sure how to save the report I create programmatically to a regular Crystal Report (.rpt) file -- knowing that would be helpful. But I also figured there is some way to replace one field with another, since you can access report objects (including DB fields) to see their value (name of the DB field) -- I just don't know a method to use. Here's what I had in mind, if you have any suggestions or can point me to any specific sample applications that do any of these steps:
1. Loop through the report objects, determine which are DB fields, then identify those DB fields.
2. Replace FieldA with Field1 (or FieldB with Field2, etc.) -- replacing with the new field names.
3. Finish looping through all the DB fields until comlete.
4. Save the updated .rpt file (somehow).
5. Follow a similar approach for DB fields used in select criteria, formulas, etc.
It SOUNDS simple enough ... but are there RDC methods that can accomplish this programmatically? Thanks for any help.