QUICK REPLY PLEASE!!!Crystal Report-sql Server-VB

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vbbeginner07
    New Member
    • Dec 2007
    • 103

    QUICK REPLY PLEASE!!!Crystal Report-sql Server-VB

    Hi all,

    I have an issue with Crystal report ,i have a sql db connected with the crystal report in vb.....in a list of 100 employees where i want the report to contain only those list of employees say id #.10- id #.15 by presing the report button.....

    .........I would like to make my code (vb) simple and precise...I would appreciate suggestions tooo....

    SQL SERVER-
    VB 6.0
    crystalviewer(c rx8)

    .....Thank you. in Advance.....


    Regards
    NIKHITA
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    You can do that by filtering the records in SQL query itself.

    Comment

    • Vbbeginner07
      New Member
      • Dec 2007
      • 103

      #3
      Originally posted by debasisdas
      You can do that by filtering the records in SQL query itself.
      but im taking the values while runtime....how can i tbe like?

      Comment

      • debasisdas
        Recognized Expert Expert
        • Dec 2006
        • 8119

        #4
        you need to frame the query dynamically at run time and pass to the report.

        Comment

        Working...