|
-
Feb 25th, 2006, 11:11 PM
#1
Thread Starter
Hyperactive Member
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??
-
Feb 26th, 2006, 01:53 AM
#2
Hyperactive Member
Re: Connection/Data Source Problem
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
-
Feb 26th, 2006, 04:04 AM
#3
Fanatic Member
Re: Connection/Data Source Problem
VB Code:
SET DataReport1.Datasource = DataeEnvinoment1.rsCommand1
On Error GoTo Hell
Hell:
Kill Me
Food For Thought:
- Do not judge a book... if you're not a judge!

-
Feb 26th, 2006, 05:07 AM
#4
Hyperactive Member
Re: Connection/Data Source Problem
oops i fotgot the data binding collection "set"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|