Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7503593
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T21:16:42+00:00 2026-05-29T21:16:42+00:00

i am new to crystal report. I now facing a problem. How can i

  • 0

i am new to crystal report. I now facing a problem. How can i pass multiple formula field to my crystal report?
Here is my coding

   private void ConfigureCrystalReports()
    {
        ReportDocument  RepDoc = new ReportDocument();

        nsFilterData.Report report = (nsFilterData.Report)Session["report"];
        RepDoc.Load(Server.MapPath(report.reportPath));

        CrystalReportViewer1.SelectionFormula = report.selectForumula;
        RepDoc.DataDefinition.FormulaFields["test1"].Text = "2";
        RepDoc.DataDefinition.FormulaFields["test2"].Text = "abc";
         CrystalReportViewer1.ReportSource = RepDoc;

    }

In my crystal report , i got two formula field which name “test1” and “test2”. How do i pass the value to crystal report? Thanks you

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T21:16:45+00:00Added an answer on May 29, 2026 at 9:16 pm

    If you want to pass values to your Crystal Report, use Parameters, and then use those parameters values in formula fields…

    If you get me your requirements clearly, I can help u more on this !

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was just wondering how to pass SQL to crystal report. Right now I
I am facing a problem with Crystal Report, in the deployment Server (i.e Windows
I am new to Crystal Report and I have a problem I cannot figure
I am new to making reports and so far I can make crystal report
New day, new problem :-) Code: Client Side: void abw_Closed(object sender, EventArgs e) {
I'm quiet new to Crystal report but expert with SSRS. I'm trying to load
I work with Crystal Report 2008 sp2, and during creation of a new report
Problem in crystal report After excecuting the bellow code,In my report page it ask
I developed a Crystal report on my local machine and I can render the
I have to make a new report using crystal report8.5 . I have created

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.