posted 12 years ago
Thanks Bear, Sorry for the trouble!
@ Vijitha
I give you an example - I have 4 fields say date, name, age and marks.
now i have combinations to give me desired results for example:
Only date [gives a longer search result]
date + name
date + age
date + marks
date + name + age
date + name + marks
.................
I have one single query to get the desired search result!
What I am doing is extracting the complete result once which is say will get on the date search criteria a bigger chunk.
now, for other combinations I am currently maintaining one list in which i have the search result [bigger chunk] and then I am removing elements not needed with other combinations
for example:
I have got this list
name - a, b, c,d, e ,f
age - 12,13, 12,, 13, 14
marks- 78, 78, 78 ,78 ,78
so above is one complete list when i say on date say 10 oct 2010 and search only by age which is 12 so my result set should be:
name - a, d
age -12,12
marks-78,78
for this i am removing unwanted items
Any help in this regard will be helpful for me!
Please, Its urgent for me ...
Regards,
Ankit Mishra (SCJP 5.0 93%), (SCWCD 5.0 97%)