Re: Dynamically adding a runtime generated method to a class.

2007-11-29 Thread Martin v. Löwis
> This would work and not be too terribly inefficient but I was thinking > it would be much better generate the getLine method at runtime and > dynamically add it to the class so I wouldn't have to pass the columns > around and loop through them every time; I would advise against that. Generating

Dynamically adding a runtime generated method to a class.

2007-11-29 Thread Joe Goldthwaite
I'm not sure how to even ask this question. I'm working on a financial reporting application. The current system is very limited in what it can display. You can see reports with columns of Period, Quarter, Year to date or you can see a yearly trend. I'd like for the users to be able to define t