Gossamer Forum
Home : Products : DBMan : Installation :

Sort by more than one field?

Quote Reply
Sort by more than one field?
Hi JP

It's me again. I didn't bother you for quite a while. I finally got through to set everyting the way I wanted.

I have a question though:
I am trying to set up a string to serach for records from a html page but how do I configure "sb=1" and also want "sb=3" I tried everything but it doesn't seem to work. Or I can't just do this?

Also I would like to put a title in the table after each search where I include the $rec field name of the search and sorting order.

Thanks again for your help.
Quote Reply
Re: Sort by more than one field? In reply to
At present there is no way to sort by multiple fields. That feature may be coming in a future version of DBMan.

You can print out the search values by using $in{ifield name} for regular fields and $in{'keyword'} for keyword searches. If you want to print out the name of the field that was used for sort, use $db_cols[$in{'sb'}].


------------------
JPD





Quote Reply
Re: Sort by more than one field? In reply to
Thanks again JP.