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 8182663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T00:55:35+00:00 2026-06-07T00:55:35+00:00

I have a C# 2010 application that uses Crystal Reports for VS 2010. My

  • 0

I have a C# 2010 application that uses Crystal Reports for VS 2010. My report’s purpose is to show where a person should be each day of one or more weeks. The format is this:

enter image description here

Please note that it is displayed in pairs, rather than a table with a general header.

It uses a DataSet that contains two DataTables, one for the header dates and one for the location.

The problem is that if I have n items in each DataTable, the report displays n^2 pairs of header / location instead of just n. The pattern is similar to a Cartesian product of the two tables.

I think it might have something to do with the linking part in the report’s Database Expert but I couldn’t manage to fix it. It contains no links right now.

The DataSet I use looks like this:

enter image description here

  • 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-07T00:55:36+00:00Added an answer on June 7, 2026 at 12:55 am

    Why do you need a table for the headers? What are you trying to accomplish?

    Why not add a date (StartOfWeek) to the WeekTable that represents the starting date of the week? If you have that date, each column header would be a formula field that calculates the day based on the StartOfWeek field. So much easier and it eliminates the Cartesian product that you are experiencing.

    ** edit **

    There would be 7 header formulae (one for each day):

    //{@Sunday}
    DateAdd("d", 0, {WeekTable.StartOfWeek})
    
    ...
    
    //{@Saturday}
    DateAdd("d", 7, {WeekTable.StartOfWeek})
    

    Add each field to the Page Header section and format as desired (they are Date values).

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

Sidebar

Related Questions

I have a C# 2010 application that contains a report created using Crystal Reports
I have a windows forms application that uses excel to generate some reports. Untill
Visual Studio 2010 RC -> Silverlight Application We have a library of images that
I have created a Visual Studio 2010 ASP.NET Web Application. I've noticed that if
I have an application that uses a tab bar and whenever it launches it
I have a Crystal Reports project that I am working on where I need
I am currently working on rails3 application that uses jQuery. I have a javascript
I have to create an application using a Datalogic mobile device that uses Windows
I have an application that uses wxWidgets as a the UI framework and compiled
I have an MVC2 application that uses forms authorization and a session timeout. I

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.