Results 1 to 7 of 7

Thread: DataReport

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2007
    Posts
    10

    DataReport

    I am using DataReport in vb6.0 and i made connection using DataEnvironment add added one Command(for sql query).. but when my DataReport shows(DataReport.Show) it gives error "Invalid DataSource"

    I have checked connection n other things but still i m getting this error...
    plz tell me why i m getting this error.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: DataReport

    Moved from FAQ Section

  3. #3
    PowerPoster
    Join Date
    Sep 2005
    Location
    Modesto, Ca.
    Posts
    5,513

    Re: DataReport

    Check the datafield and datamember properties of all the text boxes on your report. Make sure they are all listed in the Dataenvironment.

  4. #4

    Thread Starter
    New Member
    Join Date
    Nov 2007
    Posts
    10

    Re: DataReport

    I have checked still I m getting that error..even if i m trying to show blank datareport that time also i m getting "Invalid DataSource" error..

  5. #5
    PowerPoster
    Join Date
    Sep 2005
    Location
    Modesto, Ca.
    Posts
    5,513

    Re: DataReport

    Sounds like either an invalid Datasource or Datamember setting in the datareport properties. If not, then if you attach the dataenvironment and datareport to your post, it would make it simplier to debug.

  6. #6

    Thread Starter
    New Member
    Join Date
    Nov 2007
    Posts
    10

    Re: DataReport

    P.f.a
    Attached Files Attached Files

  7. #7
    PowerPoster
    Join Date
    Sep 2005
    Location
    Modesto, Ca.
    Posts
    5,513

    Re: DataReport

    The datareport3 Datasource property is not set. Are you doing it at runtime? If so post the code, because the report ran fine after I set the datasource.

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