|
-
Oct 9th, 2000, 06:06 AM
#1
Thread Starter
Lively Member
I have an ADODC control on the form and I want to pass the strSQL string that you helped me write to sequal. When I was using the Data Enviroment I used the following code:
Set MAXData = DataEnviroment.Connection.Execute(strSQL, , adCmdText)
Which worked but how do I pass the same command to the ADODC control in order to recieve the same result?
Thanks for your help
Simon
-
Oct 9th, 2000, 10:04 AM
#2
Lively Member
To use a sql string with the data control do this.
Right click on the control, go to ADODC Properties. Click RecordSource. Set CommandType to adCmdText and enter the SQL string in the Command Text box.
Dr_Evil
Senior Programmer
VS6 EE
VS.NET EA
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
|