Skip to Content
author's profile photo Former Member
Former Member

Replacing text containing parameters

I am attempting to replace text in various textboxes throughout a report in VB.NET. I am able to do all the text replacement I want, but anytime I pull out text with parameters in it, it seems the parameters are re-inserted as text as opposed to a dynamic parameter value.

For example, if I have a text box with the text "Message 1 - {?MyParam}" and replace it with the text "Message 2 - {?MyParam}", I will always get the literal text of {?MyParam} instead of the parameter's actual value.

Is there some special text I need to insert in order for the text box to act like it contains a parameter?

Thanks,

Chuck

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2008 at 07:40 PM

    Hi Chuck,

    Need more info:-

    -Visual Studio Version?

    -Crystal Report Version?

    -Windows or web application?

    Post your question [here|SAP Crystal Reports, version for Visual Studio;

    If you have code related issue

    Forum: .NET Development - Crystal Reports

    Hope that helps!!

    Regards,

    Shweta

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.