David Schachtler's Website

David Schachtler's Website
FastReports: Expressions in Report Parameters PDF Print E-mail
  
Tuesday, 28 September 2010 13:25

Background

You have a text in your report that consist of some variable part like the current page number embedded in some phrase. You also want to localize that phrase. There are two basic approaches:

Split up the phrase into pieces, supply each piece via parameter and concatenate them in your report. Very simple and straight-forward. But unfortunately no so good for translation if the structure of the phrase changes between languages.

Last Updated ( Tuesday, 28 September 2010 14:10 )
Read more...
 
FastReports: Many to Many Relations PDF Print E-mail
  
Tuesday, 28 September 2010 12:19

While I've come to really like our new reporting tool FastReports, there are a few things that took some creativity to figure out. One of those things were "Many to Many" - or m:n - relations. Here's how it's done.

Background

A typical example would be a list of orders. On one side you've got an "Order" table with general information like customer, date, etc. On the other side you've got your "Products" table with item name, cost per unit, etc. And in between there is your "OrderPositions" table that puts the products into the orders.

Last Updated ( Tuesday, 28 September 2010 14:10 )
Read more...
 
Command Line Argument Parsers PDF Print E-mail
  
Friday, 16 July 2010 07:55

Every now and then I'm faced with the need to have a command line interface in one of my programs. The first time I mashed up a primitive parser myself. The second time I just grabbed the first library off the net but now I finally want to get a good overview. So as a first step I'm going to collect whatever library I can find on the net. The only conditions are: it has to be build for .NET and free to use. For my own use there will be a few more criteria but that can wait for now.

Last Updated ( Friday, 23 December 2011 14:50 )
Read more...
 

Login Form



Copyright © 2014 David Schachtler's Website. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.