IMPRESSAO NO CRYSTAL REPORT
To fazendo essa pesquisa e ta dando erro: Alguem pode me ajudar
Report1.ReportFileName = App.Path & [Ô]CADPROD.rpt[Ô]
[ô] Report1.Connect = [Ô];PWD=pwd;[Ô]
Report1.DataFiles(0) = App.Path & [Ô]TTT.mdb[Ô]
Report1.WindowTitle = [Ô]Vendas por datas[Ô]
Report1.SelectionFormula = [Ô]{TBprod.codigo} > =[Ô] & TextInicial.Text & [Ô] and {TBprod.codigo} < = [Ô] & TextFinal.Text & [Ô] [Ô]
Report1.WindowState = crptMaximized
Report1.Action = 1 [ô] ta o seguinte erro nessa linha
run timer error 20515
Report1.ReportFileName = App.Path & [Ô]CADPROD.rpt[Ô]
[ô] Report1.Connect = [Ô];PWD=pwd;[Ô]
Report1.DataFiles(0) = App.Path & [Ô]TTT.mdb[Ô]
Report1.WindowTitle = [Ô]Vendas por datas[Ô]
Report1.SelectionFormula = [Ô]{TBprod.codigo} > =[Ô] & TextInicial.Text & [Ô] and {TBprod.codigo} < = [Ô] & TextFinal.Text & [Ô] [Ô]
Report1.WindowState = crptMaximized
Report1.Action = 1 [ô] ta o seguinte erro nessa linha
run timer error 20515
Acho que o problema tá aqui:
coloque a barra:
Report1.ReportFileName = App.Path & [Ô]CADPROD.rpt[Ô]
coloque a barra:
Report1.ReportFileName = App.Path & [Ô]\CADPROD.rpt[Ô]
Faça seu login para responder