Foros del Web » Programación para mayores de 30 ;) » Programación General » Visual Basic clásico »

Filtrar en crystal reports xi y vb6

Estas en el tema de Filtrar en crystal reports xi y vb6 en el foro de Visual Basic clásico en Foros del Web. Private Sub Command2_Click() Dim hoy As String FECHAhoy = Format(Now, "ddmmyyyy") hoy = FECHAhoy FECHADESDE = DTPicker1.Value FECHAASTA = DTPicker2.Value Dim ExportFileName As String Dim ...
  #1 (permalink)  
Antiguo 19/08/2013, 02:45
 
Fecha de Ingreso: mayo-2011
Mensajes: 16
Antigüedad: 12 años, 11 meses
Puntos: 0
Filtrar en crystal reports xi y vb6

Private Sub Command2_Click()
Dim hoy As String
FECHAhoy = Format(Now, "ddmmyyyy")
hoy = FECHAhoy
FECHADESDE = DTPicker1.Value
FECHAASTA = DTPicker2.Value
Dim ExportFileName As String

Dim CRApp As CRAXDRT.Application
Dim CRReport As CRAXDRT.Report

Set CRApp = CreateObject("CrystalRuntime.Application")
Set CRReport = CRApp.OpenReport("C:\Informe1.rpt")

ExportFileName = "C:\reports " & hoy & ".pdf"

CRReport.RecordSelectionFormula = ""'
CRReport.ExportOptions.FormatType = crEFTPortableDocFormat
CRReport.ExportOptions.DestinationType = 1
CRReport.ExportOptions.DiskFileName = ExportFileName

'CRReport.ExportOptions.ExcelTabHasColumnHeadings = True

CRReport.DisplayProgressDialog = False
CRReport.ExportOptions.PDFExportAllPages = True

CRReport.Export (False)
End Sub

en la tabla tendo el campo fecha_salida dd/mm/yyy

ando predido de verdad no se como filtrar esto en el report.

({fecha_salida})=('" & DTPicker1.Value &

si alguien me puede ayudar

Etiquetas: crystal, filtrar, portable, reports, vb6
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 02:18.