guillermo21 de Noviembre del 2004
PreguntaAlguien podria decirme que estoy haciendo mal al consultar con el distinct este es mi codigo.
Set rdc1 = New Recordset
With rdc1
.Source = "SELECT DISTINCT Spc_Acct FROM Emporio1 '%" & Text1.Text & "%'"
.ActiveConnection = cnEmporio
.CursorType = adOpenStati
.CursorLocation = adUseClient
.LockType = adLockOptimistic
.Bookmark = .LastModified
End With
rdc1.Open
Al cargar los datos me manda error no que stoy haciendo mal si alguien seria tan amable de ayudarme se lo agradeceria mucho.
Set rdc1 = New Recordset
With rdc1
.Source = "SELECT DISTINCT Spc_Acct FROM Emporio1 '%" & Text1.Text & "%'"
.ActiveConnection = cnEmporio
.CursorType = adOpenStati
.CursorLocation = adUseClient
.LockType = adLockOptimistic
.Bookmark = .LastModified
End With
rdc1.Open
Al cargar los datos me manda error no que stoy haciendo mal si alguien seria tan amable de ayudarme se lo agradeceria mucho.
