Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » Bazaar » Very Simple Report Generator (Use QTF format)
Re: Very Simple Report Generator (Use QTF format) [message #40978 is a reply to message #24050] Thu, 17 October 2013 02:52 Go to previous messageGo to previous message
wimpie is currently offline  wimpie
Messages: 32
Registered: March 2013
Location: holland
Member
Hello,

Thanks for this software, simplifies life a lot Smile

For my need of a preview of the report I modified the source and added this:
String RepGen::GetResult() {
	String res;
	
	RepGenReportStart();
	RepGenReportVar();
	if (RepGenCalculateBody) {
		PerformLoopTable("##BT","##ET",tpl);
		PerformLoopPlain("##BP","##EP",tpl);
	}
	RepGenReportFinish.Execute();
	
	res = tpl;
	return res;	
}

with borrowed code from ::Perform()
This returns the QTF of the report which I feed to a RichTextView
Maybe you can add it to the source

regards

edit: it can probably work without variable "res"
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: BarCode128: string to image (Candidate for upload to Bazaar)
Next Topic: Simple INI parser (15 mb in 4 s, DualCore 2500 Mhz)
Goto Forum:
  


Current Time: Mon Feb 17 08:28:47 CET 2020

Total time taken to generate the page: 0.01557 seconds