i'm sorting records by date so i have a heading that is the date and then list the records matching that date, then on to the next date. now what i would like to do is list missing dates that fall on a certain day of the week. here's what it looks like now
unless ($last_category eq $rec{'Vol_date'}) {
print qq|<td colspan=$numcols><h2>$dow $rec{'Vol_date'}</h2></td></tr><tr>|;
$last_category = $rec{'Vol_date'};
}
now it prints the record
gets another record and starts over (compares last category to vol_date)
i want it to print all fridays and saturdays whether there's a record or not. if there's no record for a friday or saturday, i want it to print "no record" and then go on to the next friday or saturday.
my code is so messed up i don't even want to post what i have. pls help! tks
unless ($last_category eq $rec{'Vol_date'}) {
print qq|<td colspan=$numcols><h2>$dow $rec{'Vol_date'}</h2></td></tr><tr>|;
$last_category = $rec{'Vol_date'};
}
now it prints the record
gets another record and starts over (compares last category to vol_date)
i want it to print all fridays and saturdays whether there's a record or not. if there's no record for a friday or saturday, i want it to print "no record" and then go on to the next friday or saturday.
my code is so messed up i don't even want to post what i have. pls help! tks