Results 1 to 2 of 2

Thread: Data Report refresh Problem,Plz Help Me

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Location
    Hyderabad, Andhra Pradesh, India
    Posts
    3

    Question Data Report refresh Problem,Plz Help Me

    I have created Data Report which is linked with SQL Server database. my problem is i want to print this report without showing the report. i succeded some part, it means that the report is printing without showing the report with the follwing code

    datareport1.printreport

    Whenever I do a call from VB with passing parameter it is printing with First parameter value,even iam sending another parameter still it is printing with first one. i used the folwing statement

    Datareport1.refresh
    datareport1.printreport


    Can anyone help me with the command to refresh the Datareport1?
    so,plz help me reg. this asap

    with advance Thanks
    anil
    anil

  2. #2
    New Member
    Join Date
    Nov 2002
    Posts
    14
    Hai,

    Try this one

    if DataEnvironement1.rsCommand1.state=1 then DataEnvironment1.rsCommand1.close
    endif

    datareport1.printreport

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