Results 1 to 3 of 3

Thread: My report just disappears??? why?? can you guys come up with some reasons???

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2001
    Posts
    32

    My report just disappears??? why?? can you guys come up with some reasons???

    ok i call the reports from a folder called reportfolder which is in the folder where my vb application runs from.... heres the coding


    With Crystl_Rpt_Component
    .Connect = "dsn=THEdsnSTR; uid=admin; pwd=myDB; DSQ="
    .ReportFileName = App.Path & "/ReportFolder/TheReport.rpt"
    .WindowState = crptMaximized
    .PrintReport
    End With


    my question is why does the reports frame appear ....and then whole report disappears... weird....
    can you guys come up with any reasons for why is the report just diasappearing...

    by the way i have used the exact coding to call the other reports ... and they appear without a problem... means they dont disappear.

  2. #2
    Hyperactive Member
    Join Date
    Nov 2002
    Location
    india
    Posts
    418
    hi,

    try like this.

    With Crystl_Rpt_Component
    .Connect = "dsn=THEdsnSTR; uid=admin; pwd=myDB; DSQ="
    .ReportFileName = App.Path & "\ReportFolder\TheReport.rpt"
    .WindowState = crptMaximized
    .action=1
    End With

  3. #3

    Thread Starter
    Member
    Join Date
    Nov 2001
    Posts
    32

    Thanx for replying

    i shall try this one...
    but how does
    .action=1
    help in any way... and can you tell me what it means??
    thanx

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