S
Steven K
Hello,
I have the following that needs to be migrated to ADO. Any assistance would
be appreciated. Thanks, Steven
Sub DAO_ADO()
Dim dbMarket As Database, rsMarket As DAO.Recordset, qdMarket As
QueryDef
Set dbMarket = CurrentDb
Set qdMarket = dbMarket.CreateQueryDef("", strSQL)
qdMarket.Execute
Set rsMarket = CurrentDb.OpenRecordset("tblManager_List")
With rsMarket
Do Until .EOF
strChain = rsMarket!PrintRange
ctrLen = Len(strChain)
rsMarket.Edit
rsMarket!PrintRange = "NoType"
rsMarket.Update
.MoveNext
Loop
.Close
End With
I have the following that needs to be migrated to ADO. Any assistance would
be appreciated. Thanks, Steven
Sub DAO_ADO()
Dim dbMarket As Database, rsMarket As DAO.Recordset, qdMarket As
QueryDef
Set dbMarket = CurrentDb
Set qdMarket = dbMarket.CreateQueryDef("", strSQL)
qdMarket.Execute
Set rsMarket = CurrentDb.OpenRecordset("tblManager_List")
With rsMarket
Do Until .EOF
strChain = rsMarket!PrintRange
ctrLen = Len(strChain)
rsMarket.Edit
rsMarket!PrintRange = "NoType"
rsMarket.Update
.MoveNext
Loop
.Close
End With