Re: How to summarize recordset...Select Distinct alternative?
- From: "MP" <NoSpam@xxxxxxxxxx>
- Date: Thu, 15 Nov 2007 08:16:58 -0600
Thanks ekkehard,
I'm learning all kinds of things from this thread!
:-)
I don't know how to use scripting but I put in a vb form and tried running
replaced WScript.Echo with Debug.Print for now
(cause I got an Object Required error on WScript)
oRs.Source - now that's really cool, had no idea you could get the sql
string back from the Recordset
Join(Array s, s1 ...
first i've seen that method of concatenation...
is that faster/better than s = s & s1 ???
clever sample of formatting output... thanks
sSQL worked for me
sSQLD gave me an error Wrong numbers of parameters Expected 3
will have to look into that one some more to see what i'm doing wrong..
Thanks for the input
Mark
"ekkehard.horner" <ekkehard.horner@xxxxxxxx> wrote in message
news:473b5b91$0$4362$9b4e6d93@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
MP schrieb:
I have a table with (lets say) 3 fields: fldFile, fldPage, fldItem[...]
I want a summary report of Items/counts on a per file/ per page basis.
Because I like/learned a lot from the ideas/code of Bob Barrows and
Stephen Howe and think it sad that MP feels a bit discouraged:
:-)
no i'm not discouraged, just saying that I haven't seen an sql that
"formats" the output for me...
That code is required to do the "parsing" on the returned rs
I already have code that does what I need,,,using the Select Distinct method
I mentioned originally.
I was just looking to see if there was a "code-less" sql method of reading
recordsets...
:-)
I hope it shows the general strategies - how to get the info and how to
format
it.
Thanks again
Mark
.
- References:
- How to summarize recordset...Select Distinct alternative?
- From: MP
- Re: How to summarize recordset...Select Distinct alternative?
- From: ekkehard.horner
- How to summarize recordset...Select Distinct alternative?
- Prev by Date: Re: How to summarize recordset...Select Distinct alternative?
- Next by Date: Re: How can i get the "true" name of an aliased field?
- Previous by thread: Re: How to summarize recordset...Select Distinct alternative?
- Index(es):
Relevant Pages
|
|