PDA

Click to See Complete Forum and Search --> : Method or data member not found


Feras
Nov 13th, 2000, 07:56 AM
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:
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]

paulw
Nov 13th, 2000, 08:03 AM
Spelling? DateReport1 = DataReport1 perhaps?

Paul.