marcioe Posted November 4, 2014 Report Share Posted November 4, 2014 Olá aos Amigos PRECISO IMPRIMIR EM FAST, POREM A numeração da pagina, precisa inciar com um X mumero eXEMPLO Preciso Emitir um Livro Caixa mes 01 teve 10 folhas mes 02 teve 20 folhas quando for fazer o mes 03 eu Informo o numero da primeira pagina sacou 30 ai ele imprime 30, 31, 32,33,34, etc.. até terminar o mes O padrão dele é Iniciar com 01 Quote Link to comment Share on other sites More sharing options...
kapiaba Posted November 4, 2014 Report Share Posted November 4, 2014 Talvez um destes comandos resolva: NewReport(cPageName) AddPage(cPageName) AddBand(cBandName, cParentPage, nBandType) //look FastRepH.ch for band-types AddGlobalDsToReport(cDataSetName) GetGlobalDSList() AddMemo(cParent, cName, cStr, nLeft, nTop, nWidth, nHeight) AddLine(cParent, cName, nLeft, nTop, nWidth, nHeight) AddPicture(cParent, cName, cFileName, nLeft, nTop, nWidth, nHeight) * example of using: FrPrn:NewReport("MyPage") FrPrn:AddPage("MyPage2") FrPrn:AddBand("MyTittle", "MyPage", frxReportTitle) FrPrn:AddBand("MyData", "MyPage", frxMasterData) FrPrn:AddBand("MyFooter", "MyPage", frxPageFooter) FrPrn:AddGlobalDsToReport("Customers") FrPrn:SetObjProperty("MyData", "DataSet", "Customers") FrPrn:SetProperty("MyPage", "TopMargin", 5) FrPrn:AddMemo("MyData", "MyMemo", '[Customers."Company"]', 30, 0, 200, 24) FrPrn:AddLine("MyTittle", "MyLINE", 30, 0, 200, 24) FrPrn:ShowReport() abs Quote Link to comment Share on other sites More sharing options...
Theotokos Posted November 5, 2014 Report Share Posted November 5, 2014 Existe esta função no fast: SetPageNumbers(cParam) mas testei não consegui mudar o numero da página, mas tenta ai, quem sabe é o modo que estou fazendo, sei lá... FrPrn:SetPageNumbers( 31 ) Quote Link to comment Share on other sites More sharing options...
marcioe Posted November 13, 2014 Author Report Share Posted November 13, 2014 obrigado a todos comandos do kapiaba, e do amigo Theotokosnao esta setando a pagina nao esta funcionando Quote Link to comment Share on other sites More sharing options...
kapiaba Posted November 13, 2014 Report Share Posted November 13, 2014 Tente: coloca um GroupHeader e configura as propriedades StartNewPage (Iniciar Nova Página), RePrintOnNewPage (Reimprimir na nova pagina) e ResetPageNumber (Reiniciar numeracao de pagina) para True Quote Link to comment Share on other sites More sharing options...
kapiaba Posted November 13, 2014 Report Share Posted November 13, 2014 irrccccccc... kkkkkkkkkkkkk http://www.activedelphi.com.br/forum/viewtopic.php?t=69484 abs. Quote Link to comment Share on other sites More sharing options...
kapiaba Posted November 13, 2014 Report Share Posted November 13, 2014 http://www.fast-report.com/documentation/UserMan/index.html?using_the_engine_object.htm Quote Link to comment Share on other sites More sharing options...
kapiaba Posted November 13, 2014 Report Share Posted November 13, 2014 http://www.fast-report.com/en/forum/index.php?showtopic=8494 Quote Link to comment Share on other sites More sharing options...
marcioe Posted November 18, 2014 Author Report Share Posted November 18, 2014 Evendo será que tem alguma luz. Amigos nao consegui fazer. Quote Link to comment Share on other sites More sharing options...
marcioe Posted November 18, 2014 Author Report Share Posted November 18, 2014 Estou precisando demais disso amigos, desculpa a minha burrice Quote Link to comment Share on other sites More sharing options...
alex2002 Posted November 18, 2014 Report Share Posted November 18, 2014 Amigo, Edite o seu FR3 e no designer, coloque o campo page + uma variável que vc definir antes de chamar o FAST. Assim o Fast irá interpretar que a página será sempre o contador + a variável que vc definiu antes. Tenta ai. Qualquer coisa se não der certo, chame o patrão (Evandro). rsrsrsrsrs Quote Link to comment Share on other sites More sharing options...
marcioe Posted November 18, 2014 Author Report Share Posted November 18, 2014 amigos, resolvi assim T_PAGINA_INICIAL := numero da pagina que quero Iniciar. [(<Page#>)+ GetHbVar('T_PAGINA_INICIAL')] Obrigado aos amigos que empenharam em me ajudar. mas está ai para quem precisar Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.