-
ADO connection at run time
I have created a ADODC in a form(frmABC). I have specified the connection
string and record source at design time.
When I'm trying to change it run time, it accepts the command still gives
the old results.
Also, When I tried to take the connection string and record source, it is
giving an error at run time
*************************************************************
frmABC.Adodc1.ConnectionString = ""
frmABC.Adodc1.ConnectionString = gConnection
frmABC.Adodc1.RecordSource = " "
frmDBrowse.Adodc1.RecordSource = str_select_statement
With frmDBrowse.Adodc1.Recordset
.Open
End With
**************************************************************
Is there any way to programatically change the parameters in an ADODC?
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
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks