Report Design
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Report Design
Message Icon Topic: Where is DataSourceMember? Post Reply Post New Topic
Author Message
sderrico
Newbie
Newbie
Avatar

Joined: 30 Jul 2010
Online Status: Offline
Posts: 4
Quote sderrico Replybullet Topic: Where is DataSourceMember?
    Posted: 30 Jul 2010 at 10:02am
Hello everyone,

I wonder a small question about Crystal Report.

When I want to display a field from a table, I drag and drop the field from the "fields explorer". When I need to change the created field to another field, I delete it and a drag and drop the new one.

Is there a way like in VB / C# to just change a property, like DataSourceMember? Because I have to reformat the new object everytime and it is time consuming when there is a several fields to change.

Thank you,
Have a nice day!
Sébastien
Sébastien D'Errico
IT Development Consultant
Mobile : (438) 882-8687
Fax : (514) 221-4607
Email : sebastien@hollox.net
IP IP Logged
sderrico
Newbie
Newbie
Avatar

Joined: 30 Jul 2010
Online Status: Offline
Posts: 4
Quote sderrico Replybullet Posted: 30 Jul 2010 at 10:05am

Sébastien D'Errico
IT Development Consultant
Mobile : (438) 882-8687
Fax : (514) 221-4607
Email : sebastien@hollox.net
IP IP Logged
sderrico
Newbie
Newbie
Avatar

Joined: 30 Jul 2010
Online Status: Offline
Posts: 4
Quote sderrico Replybullet Posted: 30 Jul 2010 at 10:06am

Sébastien D'Errico
IT Development Consultant
Mobile : (438) 882-8687
Fax : (514) 221-4607
Email : sebastien@hollox.net
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 01 Aug 2010 at 5:17pm
Hi Sebastien,

You can't change the field and insert a new one without deleting it. However, one trick around this is to use a formula which returns a field's value. Then, if you ever want it to return a different value, you can change the formula. This can also be done in code to make your reports more dynamic. Chapter 16 in the book discusses how to do this.

Brian
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
IP IP Logged
sderrico
Newbie
Newbie
Avatar

Joined: 30 Jul 2010
Online Status: Offline
Posts: 4
Quote sderrico Replybullet Posted: 01 Aug 2010 at 5:29pm
Thank you very much Brian for the fast answer and the workaround.

Have a nice day!
Sébastien

Sébastien D'Errico
IT Development Consultant
Mobile : (438) 882-8687
Fax : (514) 221-4607
Email : sebastien@hollox.net
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.