Visual Basic - NECESITO AYUDA CON CR URGENTE ... !!!!

Life is soft - evento anual de software empresarial
 
Vista:

NECESITO AYUDA CON CR URGENTE ... !!!!

Publicado por Roberto (22 intervenciones) el 11/06/2003 21:06:33
NECESITO FILTRAR UN RANGO DE NUMEROS PARA PASAR A CRYSTAL REPORTS, ESE RANGO, ESTOY PONIENDO:

MiConsulta = "{Recibos.RecNro} >= " & primerrecibo
MiConsulta2 = " and {Recibos.RecNro} <= " & SaberUltimoNroRecibo

CR.SelectionFormula = "{Recibos.RecNro} >= " & primerrecibo & " and {Recibos.RecNro} <= " & SaberUltimoNroRecibo
CR.WindowState = crptMaximized
CR.Destination = crptToWindow
CR.Action = 1

Y ME DÁ EL SIGUIENTE ERROR:
ERROR 20515:
"Error in file C:\pp.rpt:
Error in Formula <Record_Selection>.
'
'
The remaining text does not appear to be a part of the formula "

AGRADEZCO MUCHO AL QUE ME PUEDA AYUDAR,
SALU2, ROBERTO
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder