• Martes 16 de Abril de 2024, 17:39

Autor Tema:  Datareport-refresh  (Leído 1004 veces)

shaman61

  • Nuevo Miembro
  • *
  • Mensajes: 2
    • Ver Perfil
Datareport-refresh
« en: Sábado 20 de Marzo de 2004, 22:00 »
0
por favor alguien que me ayude , el problema es que utilizo un datareport para mandar a imprimir notas de venta pero despues de imprimir la primera la siguiente nota aparese en blanco

el codigo que uso para la impresion es el siguiente

Private Sub Imprimenot(Bandera1 As Boolean)
Dim Qry As String
    If Coneccion1.rsNotaventap_Grouping.State = adStateOpen Then
    Coneccion1.rsNotaventap_Grouping.Close
    End If
        If Coneccion1.rsNotaventa_Grouping.State = adStateOpen Then
    Coneccion1.rsNotaventa_Grouping.Close
    End If
    Qry = "select * from notadeventa where nnota=" & Numnota
If Bandera1 = True Then
Coneccion1.Commands(5).CommandText = " SHAPE {" & Qry & "}  AS Notaventa COMPUTE Notaventa BY 'NNOTA','FECHA','HORA','EMPLEADO','NOMBRE','MAQ'"
NotasV.Title = Label17
'NotasV.PrintReport
'NotasV.Hide
NotasV.Show
Else
Coneccion1.Commands(6).CommandText = " SHAPE {" & Qry & "}  AS Notaventap COMPUTE Notaventap BY 'NNOTA','FECHA','HORA','EMPLEADO','NOMBRE'"
NotasvP.Title = Label17
'NotasvP.PrintReport
'NotasvP.Hide
NotasvP.Show
End If

End Sub


agradeceria su ayuda bye  :hola:

EL Loco

  • Nuevo Miembro
  • *
  • Mensajes: 11
    • Ver Perfil
Re: Datareport-refresh
« Respuesta #1 en: Martes 30 de Marzo de 2004, 20:19 »
0
Con lo q pones no llego a ver el problema , sorry
 :blink:
El LOcO

Analista Programador
VB 6.0
Clipper
Pascal
SQL Server 2000

A las Ordenes