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

  • Home
  • SEARCH
  • 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 7944909
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T00:41:35+00:00 2026-06-04T00:41:35+00:00

I have two tables Customer and Contract Table CustomerTable CustID(pk) CustName CompanyName ContractTable ContractID(pk)

  • 0

I have two tables Customer and Contract Table

CustomerTable
    CustID(pk)
    CustName
    CompanyName
ContractTable
    ContractID(pk)
    CustID(fk)
    ContractDate
    ContractDuration
    TotalPayment
    TotalInstallment
    TotalCommission

I’m trying to create a crystal report to display customers of this month like this

    |CustID||CustName||ContractDuration||TotalPayment||TotalCommission|
    |      ||        ||                ||            ||               |
Total |200 ||                          ||  $20,000   ||  $200         |

After installing crystal reports for visual studio2010 from SAP i made crystal report using graphical interface and put this code in form_load event

ReportDocument cryRpt = new ReportDocument();
        cryRpt.Load("C:\\Documents and Settings\\Administrator\\my documents\\visual studio 2010\\Projects\\democrystal1\\democrystal1\\CrystalReport1.rpt");
        crystalReportViewer1.ReportSource = cryRpt;
        crystalReportViewer1.Refresh();

when i run the project it prompt me to enter userid and password but i’m using windows authentication from SSMS what userid and password now i put in? and if i use a view to generate crystal report from it how that view looks like?

  • 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-06-04T00:41:37+00:00Added an answer on June 4, 2026 at 12:41 am

    You may need to tell the report specifically when you load it to use Integrated Security like you want. Here’s a blog post I made a while back, scroll down to where the “ApplyNewServer” method is and that should get you started.

    http://www.blakepell.com/Blog/?p=15

    That method was taken out of a larger class. You’ll see that I was referencing properties for username/password, etc. Using a method like this will loop through your report and all the sub reports and apply the connection info you specify. I should really just turn this into an extension at some point.

    Hope this puts you in the right direction, if not, let me know what additional questions you have.

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

Sidebar

Related Questions

I have two tables in SQL Server: Customer and Address Customer Table : CustomerID
I have two tables as follows: CREATE TABLE customer ( id INT NOT NULL
Ok, so I have two tables in MySQL. One table holds customer information, the
You have two tables named Customer and SalesOrder. In the Customer table you have
I have this following problem: I have two tables 1 table for customer bought
I have two tables Group and Customer and of course two entities Group and
I have the following two tables: Customer { int Id int Name } Bills
I have two tables in my database that look like that: Customer: C_ID city
I have two tables, one with products and a foreign key for the customer.
I have two tables Customer (idCustomer, ecc.. ecc..) Comment (idCustomer, idComment, ecc.. ecc..) obviously

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.