Visual Basic - Reportes Maestro Detalle Vb6 - URGENTISIMO

Life is soft - evento anual de software empresarial
 
Vista:

Reportes Maestro Detalle Vb6 - URGENTISIMO

Publicado por Paulo Conde (5 intervenciones) el 13/09/2000 00:00:00
Como puedo crear reportes maestro-datelle con el Data Report de VB6, a sea reportes tipo factura, con un encabezado proveniente de una consulta y el cuerpo con totales proveniente de otra.
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:Reportes Maestro Detalle Vb6 - URGENTISIMO

Publicado por Alejandro Tomé (31 intervenciones) el 13/09/2000 00:00:00
Miralo y adaptalo a tu necesidad.
El Señor te bendiga.

Set dB2 = New ADODB.Connection
Set rS2 = New ADODB.Recordset

´Listado de formulas entre fechas **************************************************Finicio = InputBox("Ingrese desde la Fecha que desea Consultar", "LISTADOS")
Ffinal = InputBox("Ingrese hasta que Fecha desea Consultar", "LISTADOS")

With dB2
.Provider = "microsoft.jet.oledb.3.51"
.ConnectionString = "F:\produc\Laborat.mdb"
.Open
End With
StrD = "Select Distinct Codigo,Codigo2,Fecha,Fulon,Turno,Partida,Partida2,ArtColEsp,Estado,Pedido,Cantidad,Kilaje from TBLarmadoFormula where Fecha between ´" & Finicio & "´ and ´" & Ffinal & "´ order by codigo, codigo2;"

With rS2
.ActiveConnection = dB2
.Open StrD
End With

Set RptArmaForm.DataSource = rS2
RptArmaForm.Sections("Sección4").Controls("etiqueta1").Caption = "Listado de Fórmulas entre Fechas"
RptArmaForm.Show
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