Connection/Data Source Problem
I add a command in a connection which is "Command1"
I also add a child command in "Command1" which is "Command2"
Then I add a DataReport1 and set the following:
DataSource = DataEnvironment1
DataMenber = Command1
Now my problem is when im trying to refresh all the data in DataEnvironment1 to view in DataReport
When using the code;
DataReport1.Datasource = DataeEnvinoment1.rsCommand1
DataReport1.Show
this message show;
Arguments are of the wrong type, are out of accetable range, or are in conflict with one another
Kindly help me solve my problem pls??
Re: Connection/Data Source Problem
Quote:
When using the code;
DataReport1.Datasource = DataeEnvinoment1.rsCommand1
DataReport1.Show
this message show;
it should be like this
DataReport1.Datasource = DataeEnvinoment1
datareport1.datamember="command1"
DataReport1.Show
Re: Connection/Data Source Problem
VB Code:
SET DataReport1.Datasource = DataeEnvinoment1.rsCommand1
Re: Connection/Data Source Problem
oops i fotgot the data binding collection "set"