Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. failed to open a rowset

failed to open a rowset

Scheduled Pinned Locked Moved C#
databasequestion
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    haleemasher
    wrote on last edited by
    #1

    i m new to work with crystal reports i write a query in sqlcommand which is an option in addcommand DATA BASE EXPERT. i have two parameter Date and Date2 i want the ouput between these parameter but it show errors when i finished it. **"failed to open a rowset"**plz chk and reply

    SELECT Sum(b.TotalSale*b.Price) AS total, a.Category , a.[Transaction]
    FROM TransactionType AS a INNER JOIN CouponTransaction AS b ON a.TransactionTypeID = b.TransactionTypeID
    where b.TransactionDate BETWEEN ({?DATE}) AND ({?DATE2})
    GROUP BY a.Category,a.[Transaction];

    C 1 Reply Last reply
    0
    • H haleemasher

      i m new to work with crystal reports i write a query in sqlcommand which is an option in addcommand DATA BASE EXPERT. i have two parameter Date and Date2 i want the ouput between these parameter but it show errors when i finished it. **"failed to open a rowset"**plz chk and reply

      SELECT Sum(b.TotalSale*b.Price) AS total, a.Category , a.[Transaction]
      FROM TransactionType AS a INNER JOIN CouponTransaction AS b ON a.TransactionTypeID = b.TransactionTypeID
      where b.TransactionDate BETWEEN ({?DATE}) AND ({?DATE2})
      GROUP BY a.Category,a.[Transaction];

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      How is this a C# question ?

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      H 1 Reply Last reply
      0
      • C Christian Graus

        How is this a C# question ?

        Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

        H Offline
        H Offline
        haleemasher
        wrote on last edited by
        #3

        sorry i can't find a forum for crystal reports so i send my query in this forum plz help

        C 1 Reply Last reply
        0
        • H haleemasher

          sorry i can't find a forum for crystal reports so i send my query in this forum plz help

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          I'd guess the SQL or database forums are appropriate, you posted SQL.

          Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups