Visual Basic - POR FAVOR AYUDARME IMPRESIONEl Jose donde estas

Life is soft - evento anual de software empresarial
 
Vista:

POR FAVOR AYUDARME IMPRESIONEl Jose donde estas

Publicado por sagra (17 intervenciones) el 12/03/2002 13:09:49
POR FAVOR QUE ALGUIEN ME DIGA COMO IMPRIMO LOS DATOS DE UN GRID
PUES ME LO SACA PERO LOS CAMPOS EN NEGRO
POR FAVOR
AYUDARME
Private Sub Imprimir_Click()
\' cmdaceptar.Visible = False
\' cmdcancelar.Visible = False
\' Printer.Orientation = 2
\'Me.PrintForm
\'cmdaceptar.Visible = True
\'cmdcancelar.Visible = True
\'Unload Me

\'End Sub
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

RE:POR FAVOR AYUDARME IMPRESIONEl Jose donde estas

Publicado por jos carlos (243 intervenciones) el 12/03/2002 20:05:15
Con lo que has expuesto consigues imprimir un formulario no el contenido de un GRID, puedes usar lo siguiente:

FOR X=0 TO GRID.LISTCOUNT-1
GRID.ROW=X
GRID.COL=0
PRINTER.PRINT GRID
NEXT

cON ESTO IMPRIMIRÁS EL CONTENIDO DE LA COLUMNA 0 INTEGRA.
SI TIENES MAS COLUMNAS AÑADE MAS LINEAS CAMBIANDO EL VALOR

GRID.COL=1
GRID.COL=2
....

Por supuesto con las demas lineas que te he escrito

Saludos

Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar