Doggie08 de Julio del 2004
Preguntahola quieira saber como puedo contan lo nombre que tengo en una tabla de tal fecha a tal fecha por ejemplo yo estoy poniendo esto pero no sale correcto
Private Sub XPButton1_Click()
Dim tb As New Recordset
tb.Open "select Count(Nombre) from Bd where FechaInicio Between '" + CStr(Me.dInicio.value) + "' and '" + CStr(Me.dFinal.value) + "'", cn, adOpenStatic
txtCantidad.Text = tb(0)
Private Sub XPButton1_Click()
Dim tb As New Recordset
tb.Open "select Count(Nombre) from Bd where FechaInicio Between '" + CStr(Me.dInicio.value) + "' and '" + CStr(Me.dFinal.value) + "'", cn, adOpenStatic
txtCantidad.Text = tb(0)
