Click here to Skip to main content
15,898,134 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
QuestionSuggest a desing Pin
ME_Learner27-Aug-09 20:23
ME_Learner27-Aug-09 20:23 
Answercross-post Pin
Luc Pattyn28-Aug-09 1:08
sitebuilderLuc Pattyn28-Aug-09 1:08 
QuestionDesign pattern suggestion Pin
majee26-Aug-09 0:54
majee26-Aug-09 0:54 
AnswerRe: Design pattern suggestion Pin
Eddy Vluggen26-Aug-09 9:24
professionalEddy Vluggen26-Aug-09 9:24 
GeneralRe: Design pattern suggestion Pin
majee26-Aug-09 23:57
majee26-Aug-09 23:57 
QuestionHow to Desing an Extensibile Application Pin
Sling Blade 2225-Aug-09 15:05
professionalSling Blade 2225-Aug-09 15:05 
AnswerRe: How to Desing an Extensibile Application Pin
Eddy Vluggen26-Aug-09 9:44
professionalEddy Vluggen26-Aug-09 9:44 
GeneralGeneric Report Filter Screen Pin
Brady Kelly25-Aug-09 9:41
Brady Kelly25-Aug-09 9:41 
I'm trying to build a generic filter screen for a set of reports with a similar purpose off the same database. Most reports include a CallData table, with filters like DateFrom, DateTo, DurationFrom, DurationTo, etc. So, I use controls for these to build a section of the where clause. When I run the report, I read the query text, build the where clause for the CallRecords filters, and replace a token in the query with this filter text. This works well with most reports, as most only filter on CallRecords.

Some also filter on, say, "Employees.EmployeeId in (1,2,3)", which I also built dynamically using checkbox lists presented to the user in the filter screen. My issue here is how to decide which criteria to insert into which report query. I could use attributes on the report classes, but I think that's clumsy. My currently winning candidate solution is to have a separate token for each filter in the report, so if there is no /*@@Employees@@*/ token in the report query, no employees criteria will be inserted.

Any suggestions of other means of doing this?



GeneralRe: Generic Report Filter Screen Pin
Mycroft Holmes6-Sep-09 16:36
professionalMycroft Holmes6-Sep-09 16:36 
QuestionUML dependency and association Pin
pierpaolo paparo24-Aug-09 3:26
pierpaolo paparo24-Aug-09 3:26 
QuestionDesign auto-XLS editor? Pin
cdietschrun17-Aug-09 5:09
cdietschrun17-Aug-09 5:09 
QuestionRefactoring tools Pin
Chiman115-Aug-09 10:51
Chiman115-Aug-09 10:51 
QuestionDesign mp3 decoder using FPGA (VHDL) Pin
denn1014-Aug-09 8:02
denn1014-Aug-09 8:02 
QuestionExtracting Specific Data From XmlLogEntry Object Problem Pin
malak nour8-Aug-09 1:27
malak nour8-Aug-09 1:27 
AnswerRe: Extracting Specific Data From XmlLogEntry Object Problem Pin
Muhammad Mazhar8-Aug-09 3:39
Muhammad Mazhar8-Aug-09 3:39 
QuestionI2C communication Pin
shakils4-Aug-09 20:38
shakils4-Aug-09 20:38 
QuestionDDD vs CSLA.NET Pin
Brendan Vogt3-Aug-09 3:07
Brendan Vogt3-Aug-09 3:07 
AnswerRe: DDD vs CSLA.NET Pin
Curtis Schlak.11-Aug-09 16:31
Curtis Schlak.11-Aug-09 16:31 
QuestionRe: DDD vs CSLA.NET Pin
Brendan Vogt11-Aug-09 21:12
Brendan Vogt11-Aug-09 21:12 
AnswerRe: DDD vs CSLA.NET Pin
Pete O'Hanlon11-Aug-09 23:20
mvePete O'Hanlon11-Aug-09 23:20 
AnswerRe: DDD vs CSLA.NET Pin
Curtis Schlak.14-Aug-09 11:13
Curtis Schlak.14-Aug-09 11:13 
QuestionCPU and RAM Benchmark Pin
bibincherianv30-Jul-09 18:49
bibincherianv30-Jul-09 18:49 
Questionthree-tier architecture, provider model design pattern and strongly-typed dataset Pin
pierpaolo paparo29-Jul-09 7:56
pierpaolo paparo29-Jul-09 7:56 
QuestionIs two-tier a reason to use stored procedure rather than OOD? Pin
calendarw27-Jul-09 16:18
calendarw27-Jul-09 16:18 
AnswerRe: Is two-tier a reason to use stored procedure rather than OOD? Pin
Robin_Roy27-Jul-09 16:50
Robin_Roy27-Jul-09 16:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.