Results 1 to 2 of 2

Thread: I created data report,but i want to access it from vbforms by using select statement

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Dec 2002
    Location
    hyderabad
    Posts
    18

    Thumbs up I created data report,but i want to access it from vbforms by using select statement

    i created data report for all employees information.In report i am getting all the employees information.actually i want particular employee info... so that i want to acces report from form by placing text box in form and entering empid after that only i want to call the report for particular employee.
    give info regarding that.

  2. #2
    Hyperactive Member buddu's Avatar
    Join Date
    Jul 2001
    Location
    India
    Posts
    446

    Hope to understand the code

    hi ksraju
    VB Code:
    1. Private Sub Command1_Click()
    2. DataEnvironment1.rsCommand1.Open ("select * from Employees
    3. Where EmployeeID=2")
    4. DataReport1.Show
    5. End Sub

    Cheers
    prasad

Posting Permissions

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



Click Here to Expand Forum to Full Width