-
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.
-
Re: DataReport
-
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.
-
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..
-
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.
-
1 Attachment(s)
Re: DataReport
-
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.