Guelfi/Uruguay/Contr/IBM@IBMUY, [EMAIL PROTECTED]
Subject: Re: Looping
through recordset twice
01/11/2001
16:13
Please respond
to Don
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 .
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 this:
]
llcom.com cc: Marcelo
Guelfi/Uruguay/Contr/IBM@IBMUY, [EMAIL PROTECTED]
Subject: Re: Looping
through recordset twice
01/11/2001
16:13
Please respond
Seiler
Don.Seiler@Ce To: Michael Peppler
[EMAIL PROTECTED]
llcom.com cc: Marcelo
Guelfi/Uruguay/Contr/IBM@IBMUY, [EMAIL PROTECTED]
Subject: Re: Looping
through recordset
@IBMUY, [EMAIL PROTECTED]
Subject: Re: Looping
through recordset twice
01/11/2001
16:13
Please respond
to Don
Seiler
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]]
I
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
:
Subject: Looping through recordset twice
01/11/2001
:
Subject: Looping through recordset twice
01/11/2001
15:34
Please respond
to Don
Seiler
Is there a way to back through a recordset after I've already
: 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
Don.Seiler@Ce To: [EMAIL
Don.Seiler@Ce To: [EMAIL PROTECTED]
llcom.com cc:
Subject: Looping through recordset twice
01/11/2001
15:34
Please respond
to Don
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 consider,
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
[EMAIL PROTECTED]
llcom.com cc: Marcelo
Guelfi/Uruguay/Contr/IBM@IBMUY, [EMAIL PROTECTED]
Subject: Re: Looping through recordset
twice
01/11/2001
16:13
/Contr/IBM@IBMUY, [EMAIL PROTECTED]
Subject: Re: Looping
through recordset twice
01/11/2001
16:13
Please respond
to Don
Seiler
Seiler
Don.Seiler@Ce To: Michael Peppler
[EMAIL PROTECTED]
llcom.com cc: Marcelo
Guelfi/Uruguay/Contr/IBM@IBMUY, [EMAIL PROTECTED]
Subject: Re: Looping
through recordset twice
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 a new
18 matches
Mail list logo