Results 1 to 2 of 2

Thread: Method or data member not found

  1. #1

    Thread Starter
    Lively Member Feras's Avatar
    Join Date
    Sep 2000
    Location
    Homs, Syria
    Posts
    85

    Thumbs down

    My program worked well for long time, but today and somehow with no changes I get the Compile error "Method or data member not found" at the line:
    Code:
    DataReport1.Orientation = rptOrientPortrait
    I have about 4 Reports all works fine without this line.
    The referance of which this method and constant comes with "Microsoft Data Report Designer 6.0 (SP4)" exists in my project references and I found it in the Object Browser, I unchecked then rechecked the referance, reload VB, restarted windows, I tried almost every thing but no use.
    The only thing I did before the problem is removing the last report control (5th) I insert (I don't need it).
    I added a new Data Report control to my project and it worked for this report only!!!

    So, What is my problem here?

    [Edited by Feras on 11-13-2000 at 09:06 AM]
    Yesterday is history ... Tomorrow is mistry .. Today is a gift.

    VB6 , intermidiat

  2. #2
    Fanatic Member
    Join Date
    Oct 2000
    Location
    London
    Posts
    1,008
    Spelling? DateReport1 = DataReport1 perhaps?

    Paul.
    Not nearly so tired now...

    Haven't been around much so be gentle...

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