|
-
July 20th, 1999, 11:03 AM
#1
How to pass parameter to a ADODC.Command
I'm using Data Environment to develop my application. In doing some reports, i have to pass parameters to a Commnad object, so that i can specific the range of report. How can i do that ???
-
July 20th, 1999, 11:09 AM
#2
Re: How to pass parameter to a ADODC.Command
let's assume that you have created Command1 based on an SQL statement like "select * from Application where path = ?".
Then, when you execute that command, you write
DataEnvironment1.Command1 "your param goes here"
i.e. you just call your command as if it were a method of the Dataenvironment object and pass the parameters as in any other method call.
-
July 21st, 1999, 05:34 AM
#3
Re: How to pass parameter to a ADODC.Command
I still don't understand. Can you give me a small example ?? Besides, I now, i don't have to do a DataEnvironment.Command1.xxxxx directly. I only do a rptProductionList.Show ( rptProductionList is the datareport ), so how can i pass the parameters ???
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
|