dotnetCharting Data Access Problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • enreil
    New Member
    • Jan 2007
    • 86

    dotnetCharting Data Access Problem

    Hello everyone,

    I am working on a VB.NET project in VS 2003. I am utilizing dotnetCharting for my graphing and charting needs. I have hit something a little goofy and I'm wondering if one of you can help.

    dotnetCharting seems to have difficulty with SQL that is slightly more advanced that the basic SELECT * FROM Products. Here's my query:

    Code:
    SELECT     exQuarter + ' ' + exYear AS Qtr, SUM(QNumEx - QMultNum) AS QNumEx
    FROM         v_AggregateExTypes
    WHERE     (isWholesale = 1) OR
                          (isRetail = 1) OR
                          (isFinancial = 1)
    GROUP BY exQuarter, exYear
    When I run the app, dotnetCharting fails to find any data. However, when I debug and grap the SQL command right before it is executed and run it in SQL Server myself, it returns exactly what I want. What is going on here?

    I didn't know where else to ask this question. If there is a better forum, let me know. Thanks!
Working...