Re: Looping through recordset twice

2001-11-02 Thread Don Seiler
Guelfi/Uruguay/Contr/IBM@IBMUY, [EMAIL PROTECTED] Subject: Re: Looping through recordset twice 01/11/2001 16:13 Please respond to Don

Re: Looping through recordset twice

2001-11-02 Thread Ronald J Kimball
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 .

Re: Looping through recordset twice

2001-11-02 Thread Don Seiler
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:

Re: Looping through recordset twice

2001-11-02 Thread Don Seiler
] llcom.com cc: Marcelo Guelfi/Uruguay/Contr/IBM@IBMUY, [EMAIL PROTECTED] Subject: Re: Looping through recordset twice 01/11/2001 16:13 Please respond

Re: Looping through recordset twice

2001-11-02 Thread Etienne Marcotte
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

Re: Looping through recordset twice

2001-11-02 Thread David Marshall
@IBMUY, [EMAIL PROTECTED] Subject: Re: Looping through recordset twice 01/11/2001 16:13 Please respond to Don Seiler

RE: Looping through recordset twice

2001-11-02 Thread 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

Looping through recordset twice

2001-11-01 Thread Don Seiler
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

Re: Looping through recordset twice

2001-11-01 Thread Marcelo Guelfi
: Subject: Looping through recordset twice 01/11/2001

Re: Looping through recordset twice

2001-11-01 Thread Don Seiler
: 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

RE: Looping through recordset twice

2001-11-01 Thread Kong, Alan
: 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

Re: Looping through recordset twice

2001-11-01 Thread Don Seiler
Don.Seiler@Ce To: [EMAIL PROTECTED] llcom.com cc: Subject: Looping through recordset twice 01/11/2001 15:34 Please respond to Don

Re: Looping through recordset twice

2001-11-01 Thread Michael Peppler
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,

Re: Looping through recordset twice

2001-11-01 Thread Don Seiler
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

Re: Looping through recordset twice

2001-11-01 Thread Don Seiler
[EMAIL PROTECTED] llcom.com cc: Marcelo Guelfi/Uruguay/Contr/IBM@IBMUY, [EMAIL PROTECTED] Subject: Re: Looping through recordset twice 01/11/2001 16:13

Re: Looping through recordset twice

2001-11-01 Thread David Marshall
/Contr/IBM@IBMUY, [EMAIL PROTECTED] Subject: Re: Looping through recordset twice 01/11/2001 16:13 Please respond to Don Seiler

Re: Looping through recordset twice

2001-11-01 Thread 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

RE: Looping through recordset twice

2001-11-01 Thread Wilson, Doug
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