Visual Basic - ayuda por favor

Life is soft - evento anual de software empresarial
 
Vista:

ayuda por favor

Publicado por mati (10 intervenciones) el 16/05/2005 17:52:36
Hola a tod@s estoy haciendo un reports y le llamo desde vsual basic 6 donde pongo:
CryReport.SelectionFormula = "{Maquinas.Cod}>=" & "'" & TxtTexto(1).Text & "'" & " and {Maquinas.Cod}<=" & "'" & TxtTexto(2).Text & "'"
CryReport.PrintReport
mi problema es que me pone en total de registros todos aunque los que recupere la formula sean dos el pone el maximo que puede recuperar no se si me explique bien espero que me entendais y me podais ayudar os lo agradeceria muxisimo.
Tambien probe con esto cryReport.SQLQuery = "select * from maquinas where {Maquinas.Cod}>=" & "'" & txtTexto(1).Text & "'" & "and {Maquinas.Cod}<=" & "'" & txtTexto(2).Text & "'"
cryReport.PrintReport
cryReport.Action = 1
pero tampoco me funciono porque se cierra muy rapido no da tiempo a ver lo que abre

Un saludo muxas gracias

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