CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2001
    Location
    MH, IN
    Posts
    47

    DataReport Problem

    Hello,


    The contents of the details section of the data report can not seen when report is running.

    Report Header/Footer, Page Header/Footer & it's contents can be seen when report is running & prints fine too. But does not show anything in Details section of the report when running. Design time all textboxes, labels can be seen but not at runtime.


    Following steps i used to create data report. - I created data report & select the sql command as it's data member & then i use retrive structure to it, then drag-drop the sql command to the details section of the data report & run the program & it worked perfectly fine. But when i arranged (customize) the lebels & textboxes of details section then it stopped showing any records which are their in table on screen & in print too.

    How to show the contents of the details section of the data report.

    Thanking in anticipation.


    Regards.
    From Manoj's Desk

  2. #2
    Join Date
    Jan 2004
    Location
    Noida,India
    Posts
    96

    may be it works

    dear friend ,

    i look at ur problem.

    if it was working earlier it will definately work after customization.
    check the properties of the controls out there may be u slipped somewhere.



    Good luck
    A small First step is the begining of any giant leap

  3. #3
    Join Date
    Jan 2001
    Location
    MH, IN
    Posts
    47
    while debugging i saw the contents of the detail section. So i used msgbox for checking the details & it worked. so i used msgbox "Report generated" funtion before datareport1.show & report is working fine.

    I don't know what's the problem with vb but whenever i comment the msgbox it does not work & whenever i uncomment the msgbox report works fine.


    Regards.
    Last edited by Manojvb; February 19th, 2004 at 05:02 AM.
    From Manoj's Desk

  4. #4
    Join Date
    Jun 2002
    Location
    Clane, Ireland
    Posts
    766
    I had a similar problem, and got round it by coding the DOEVENTS command. This may work for you?
    JP

    Please remember to rate all postings.

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

Featured