This is an example of the report that working with DBF files. What should I change to work with DBF but via ODBC (dBase) connection?
Regards,
Miloš
DEFINE WINDOW oWndCry ICON oIco TITLE "IZVEÅ TAJ"
 oCrys:=tOleAuto():New("CrystalRunTime.Application")
 oRpt:=oCrys:OpenReport("Test.rpt")
 oRpt:Database:Tables(1):Location:=cOsnDir+'/TempFakt.dbf'
 oCrRpt:=tActiveX():New(oWndCry,"CrystalReports11.ActiveXReportViewer.1")
 oCrRpt:SetProp("ReportSource",oRpt)
 oCrRpt:SetProp("DisplayGroupTree",.F.)
 oCrRpt:SetProp( "EnableExportButton", 1 )
 oCrRpt:DO("ViewReport")
 oWndCry:oClient:=oCrRpt
 Â
ACTIVATE WINDOW oWndCry MAXIMIZEDRegards,
Miloš
Best regards
Milos
[ FWH 21.11 ] [ xHarbour 1.2.3 Intl. (SimpLex) (Build 20150603) ]
Milos
[ FWH 21.11 ] [ xHarbour 1.2.3 Intl. (SimpLex) (Build 20150603) ]