slow select distinct jet access and vb6 classic
my code for sql:
Public Function ExecuteSQL(SQL)
CLEAN_UP
Set RST0 = New ADODB.Recordset
With RST0
.CursorLocation = adUseServer
DoEvents
.Open SQL, CONN3, adOpenForwardOnly, adLockReadOnly, adCmdText
'.Source = SQL
'.CursorLocation = adUseServer
'.ActiveConnection = CONN3
'.CursorType = adOpenForwardOnly
'.LockType = adLockReadOnly
'DoEvents
'.Open Options:=adCmdText
End With
End Function
my conn:
Public Sub APRI_CONNESSIONE3()
On Error GoTo Err_SomeName
If Not CONN3 Is Nothing Then
- Read more about slow select distinct jet access and vb6 classic
- Log in or register to post comments
- 37 views