I guess I'm not that concerned with that level of detail. there are a
million different ways to do that part. It was just the part of finding
the groups that I needed help with.
Thanks though.
Don.
On Fri, 2 Nov 2001, Wilson, Doug wrote:
>
> > From: Don Seiler [mailto:[EMAIL PROTECTED]]
> >
hrough the recordset though.
> > > >
> > > >--
> > > >Don Seiler [EMAIL PROTECTED]
> > > >Database Administrator / Sr Software Engineer
> > > >NSightTel Billing LLCPhone: 920.617.7501
> > >
0 Mid Valley DriveFax:920.617.7493
> > >De Pere, WI 54115 Cell: 920.606.3240
> > >Pager: [EMAIL PROTECTED] / 920.613.2000
> > >
> > >
> > >On Thu, 1 Nov 2001, Marcelo Guelfi wrote:
> > >
> > > >
> > > > Are you
t; >
> >
> >On Thu, 1 Nov 2001, Marcelo Guelfi wrote:
> >
> > >
> > > Are you sure that you can't use the GROUP BY clause?
> > >
> > > Saludos,
> > > Marcelo.
> > >
> > >
> > >
> > >
GENIUS! That did the trick.
Thanks much,
Don.
On Fri, 2 Nov 2001, Ronald J Kimball wrote:
> On Fri, Nov 02, 2001 at 08:42:42AM -0600, Don Seiler wrote:
> > Perhaps I wasn't supposed to take it so literally, and my hash handling
> > skillz aren't quite what they should be.
> >
> > When I do thi
On Fri, Nov 02, 2001 at 08:42:42AM -0600, Don Seiler wrote:
> Perhaps I wasn't supposed to take it so literally, and my hash handling
> skillz aren't quite what they should be.
>
> When I do this:
>
> while (my $hashref = $csr->fetchrow_hashref())
> {
> print "Adding record from group " . $has
TED] / 920.613.2000
> >
> >
> >On Thu, 1 Nov 2001, Marcelo Guelfi wrote:
> >
> > >
> > > Are you sure that you can't use the GROUP BY clause?
> > >
> > > Saludos,
> > > Marcelo.
> > >
> > >
&
> From: Don Seiler [mailto:[EMAIL PROTECTED]]
>
> Basically, when I get to a new group number. The record set
> is ordered by
> group number, so all records in a group are together. As I'm looping
> through records in a group, I do some evaluation and add values to
> variables. When I get to
>
> > > Saludos,
> > > Marcelo.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > "Don Seiler&q
>
> >
> >
> >
> >
> >
> >
> >
> >
> > "Don Seiler"
> > <[EMAIL PROTECTED]>
> > llcom.com> cc: Marcelo
> Guelfi/Uruguay/Contr/IBM@IBMUY
"Don Seiler"
> <[EMAIL PROTECTED]>
> llcom.com> cc: Marcelo
>Guelfi/Uruguay/Contr/IBM@IBMUY, <[EMAIL PROTECTED]>
> Subject: Re: Looping through
Don Seiler"
llcom.com> cc: Marcelo
Guelfi/Uruguay/Contr/IBM@IBMUY, <[EMAIL PROTECTED]>
Subject: Re: Looping
Basically, when I get to a new group number. The record set is ordered by
group number, so all records in a group are together. As I'm looping
through records in a group, I do some evaluation and add values to
variables. When I get to a new group number, I look at the values. If
they meet my c
Don Seiler writes:
> Actually the nature of the problem is what stopped me from doing this.
>
> I won't know which records I want until I look at the group of them.
>
> Example: I have a table of records. There is a "groupnum" column. Many
> records have the same "groupnum", i.e. they a
Don Seiler writes:
> I was considering this, but just thought it would be easier to just set
> the flag in an aux structure and loop through my original recordset again,
> checking the flag each time.
>
> Anyone know if there is a definitive yes/no on this?
There are various issues to consi
arcelo.
>
>
>
>
>
>
>
>
>
>
> "Don Seiler"
> llcom.com> cc:
> Subject: Looping through recordset twice
>
ubject: Re: Looping through recordset twice
I don't think so. Why don't you put the selected records in an auxiliary
structure (hash, array) and then go through that structure?
Saludos,
Marcelo.
"Don Seiler"
r"
> llcom.com> cc:
> Subject: Looping through recordset twice
> 01/11/2001
> 15:34
> Please respond
> to "Don
>
Marcelo.
"Don Seiler"
cc:
Subject:
Is there a way to back through a recordset after I've already gone through
it?
I want to go through the recordset, determining if certain groups of
records meet my criteria. Then I want to go through again and print the
groups that qualify. Since I have to deal with groups of records, I
couldn'
20 matches
Mail list logo