Sounds a little pompous and condescending to me.
I certainly didn't mean to be pompous or condescending.
I actually began writing with something like this:
There are times when the easy path is to answer the question rather than try to reinvent the database.
By this I meant much the same as ChrisO posted. We all gave a shot at doing what Lala asked.
Or do we ‘give it a shot’ based only on the information given and a bit of guess work?
I say we give it a shot because, even if it’s wrong, we are not left standing flat footed but can hit the ground running.
So, until we do know, I think a lecture on the finer points of normalisation and programming is somewhat pompous and condescending.
Not intended as a lecture. These forums have an audience far beyond the the posters and to some extent I write to that audience. I know that I am not the only one with this perspective on our postings.
I thought the discussion of the reasons behind the task were completely relevant and then we provided three quite different ways to "skin the cat" (even if perhaps it looked like a stray cat).
My intention was to round out the discussion for those who find themselves reading this thread in isolation from the original discussion by summarising the what those who asked about the structure were implying. Data structure is the key to efficient data manipulation.
Combined with your statement in post #19 of >>My query is better<< I have to ask…Better than what?
Better then the vba in whynot.mdb
My query was quite tidy I thought. However I knew it would get messy for n columns. But since met lala's specification I posted it.
Stopher's is truly elegant though I admit I still don't fully grasp it. But I do know it is something with potential worth of study.
Since today is Sunday I may have a go at charting it.
Even if I’m wrong, and I probably am, then at least I will learn something and that makes any day a good day to me.
It’s just recreational programming; and why not?
If something does the job then it is a valid solution. Comparing totally different aproaches to a problem is stimulating which is why you called it recreational.
However to some extent by refering to it in this way you implied that the question was not as valid as any other. I was agreeing with lala's decision to go with something they knew even if it was technically a kludge.
FWIW I always took the opening post as a valid question. In fact I think the posters who had a problem with a requirement to denormalise the data were not exactly on the mark. Denormalisation is an intrinsic part of the reporting process as we convert the structures that work best in the machine to those suited to human interpretation. Simply the reverse of the familiar normalisation as data in imported from a spreadsheet.
If it was for a report then perhaps there would be other ways to use Access's reporting which I think some posters pointed out.
However using the query would be the shortest path to Excel rather than having to design a report to export the denormalised information.