Results 1 to 2 of 2

Thread: Filter Data For Cyrstal Report

  1. #1
    girldemsuga Guest

    Question Filter Data For Cyrstal Report

    I created a Cystal Report in VS.NET 2005 and i did as the example showed me but i notice that the report is not being filtered for example, if i create a Dataset with the data from this SQL String
    SELECT * FROM Customer WHERE City = 'Kingston'
    It still returns all the data from the customers table (even those who's city is not 'Kingston')

    Could come one help me out.

    The last example i tried is in the link below

    FreeVBCode.com

  2. #2
    Join Date
    Dec 2002
    Posts
    500
    Rep Power
    0

    Default

    are u sure u are populating the dataset with that query...
    if so make sure u have the report setting its datasource to the dataset

    Code:
    reportObject.SetDataSource(customerDataSet)
    Cultured in Aggression and Koding like a Warrior!!
    “Common sense is instinct. Enough of it is genius.” - George Bernard Shaw.
    "The significant problems we face cannot be solved by the same level of thinking that created them." - Albert Einstein

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •