CHMlib Logo Leading Translation Management System for Translation Agencies, Top Translation Management Software for Freelance Translators, Time Tracking Software, Word Count, Character Count and Line Count Software, Computer Assisted Translation Tool for Easy Word Count, Clipboard Character Count Software, User-Friendly Translation Memory Software, Terminology Management Software, Terminology Management Server, Microsoft Glossary Software, Dictionary of Acronyms, Social Network for Translators and Translation Agencies, Acronyms and Abbreviations Search Engine, Russian Translation Lab, Ukrainian Translation Lab.
You are reading help file online using chmlib.com
CrisisHelper - First Aid in Tough Times of World Economic Crisis


_bm0 Rave Reports Developer Reference

TBaseReport. PIVar property

Top  Previous  Next
Declaration
function PIVar(PIVarName: String): String;

 

Category

 

Description
This method allows you to initialize the value of a PIVar (Post Initialize Variable). Any PIVars of the same name that were previously printed will show this value. PIVars will use the value that is set after it is printed. A common use for PIVars is to print a total in a header band that would be initialized later in the footer band. This works even across multiple pages. TRvSystem.SystemOptions.soUseFiler must be true if you are using PIVars in your report.

 

See also

 

Example (Delphi)
with Sender as TBaseReport do begin
Print('SubTotal:' + PIVar('SubTotal'));
// Other print statements including new pages
SetPIVar('SubTotal',FormatFloat(SubTotal));
end; {with}

 

Example (C++Builder)
rp1->Print("SubTotal:" + PIVar("SubTotal"));
// Other print statements including new pages
rp1->SetPIVar("SubTotal",FormatFloat(SubTotal));



You are reading help file online using chmlib.com

If you want your help file to be removed or added please send e-mail to chmlibcom@gmail.com