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.
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.
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.