DeBiese
New member
- Joined
- Apr 24, 2005
- Messages
- 4
- Programming Experience
- Beginner
Hi,
Is there anyone who knows how to do a replace (Replace(string, string)) on a databasefield in crystal reports when the report is being made?
The databasefield contains a string value that needs to be replaced by another value of a databasefield depending on which fields are queried...
Example:
Field 1: "This is just an example of {something}"
Field 2: "my problem"
{something} needs to be replaced with the value in field 2.
I'm looking to do this on the vb.net side.
I've read somewhere there is a format event of each section in crystal reports that should be accessible in vb. I haven't found though how to do it.
Example:
Private Sub DetailSection1_Format(ByVal pFormattingInfo as Object)
<code>
End Sub
Anyone an idea?
Is there anyone who knows how to do a replace (Replace(string, string)) on a databasefield in crystal reports when the report is being made?
The databasefield contains a string value that needs to be replaced by another value of a databasefield depending on which fields are queried...
Example:
Field 1: "This is just an example of {something}"
Field 2: "my problem"
{something} needs to be replaced with the value in field 2.
I'm looking to do this on the vb.net side.
I've read somewhere there is a format event of each section in crystal reports that should be accessible in vb. I haven't found though how to do it.
Example:
Private Sub DetailSection1_Format(ByVal pFormattingInfo as Object)
<code>
End Sub
Anyone an idea?