Hi,
went through JPDeni's FAQ and this forum as well, can't seem to find any data on sorting on a dynamically generated field. should be easy, but it's eluding me due to the "sb=" system which is not going to work since the field doesn't actually exist. here's the concept:
$rec{'students'};
$rec{'seats'};
$openseats=$rec{'seats'}-$rec{'students'};
$openseats is a column of numbers in the output table. I would like to be able to sort on that with a link, so students can see the classes that are wide open, and those that are filling up.
how can I sort on that column?
went through JPDeni's FAQ and this forum as well, can't seem to find any data on sorting on a dynamically generated field. should be easy, but it's eluding me due to the "sb=" system which is not going to work since the field doesn't actually exist. here's the concept:
$rec{'students'};
$rec{'seats'};
$openseats=$rec{'seats'}-$rec{'students'};
$openseats is a column of numbers in the output table. I would like to be able to sort on that with a link, so students can see the classes that are wide open, and those that are filling up.
how can I sort on that column?