Tenta assim, mudando o format da data, conforme disse o Shel, mas coloque em uma variavel string
Dim sINICIO As String
Dim sFINAL As String
Dim srDTA As String
Dim sSQL As String
Private sub cmdprocessa_Click(Index As Integer)
srDTA = txtINICIO.Text
sINICIO = INVERDATA(srDTA)
srDTA = txtFINAL.Text
sFINAL = INVERDATA(srDTA)
sSQL = "select * CPAGAR where [Data Solicitação] Between " & sINICIO & " and " & sFINAL
dtaconsulta.RecordSource = sSQL
dtaconsulta.Refresh
End Sub
Função para inverter a Data e colocar "#", pode ser em um módulo, ou private no Form.
Public Function INVERDATA(tDATA As String) As String
Dim tDIA As String
Dim tMES As String
Dim tANO As String
tDIA = Format(Day(tDATA), "00")
tMES = Format(Month(tDATA), "00")
tANO = Format(tDATA, "yyyy")
INVERDATA = "#" + tMES + "/" + tDIA + "/" + tANO + "#"
End Function
vlu//