Login Form






Lost Password?
No account yet? Register
Freelancer Jobs arrow Freelancer Jobs - Archive 2007
JobId: #836598

ASP and JScript form to assign display order

Categories: Web,Database
Posted By: missenc  (19 ratings)
Source: Rent-a-coder
Job viewed: 278 times
Bids Placed: 7
Start Date: 2007-12-31 16:58:41
End Date: 2008-02-21 12:58:13
Deadline: 7 days.
Auction was Cancelled Job Canceled! Reason:
Current Phase: Cancelled Buyer cancelled on 2/4/2008 9:38:25 AM because: "".
Max Accepted Bid: Bidding is closed
Project Type: Unsure of Project Price or Beginner Assistance
Bid Type: Open Auction
Platform: ASP, FrontPage, MS-SQL 2000
Description:

I need an ASP page that will show a set of records along with a user-editable "SortOrder" field.

Records with a NULL SortOrder will be displayed in alpha order AFTER those with an assigned SortOrder.

Upon opening the page, in the case that some, but not all, of the records have an assigned SortOrder, those with assigned SortOrders should be ranked from 1-X depending on their current rank. (For example, if there are three ranked records with the ranks 1-4-8, they would be assigned 1-2-3, respectively.)

The user should be able to assign a new SortOrder to any record, with the ranks of higher ranked records adjusted to reflect the change. If the number assigned is already assigned to another record, that record will be bumped up to the next number, etc.

Finally, pressing the "Update" (post) button should update the records with their new SortOrder value, converting unranked records to NULL.

If you have SharePoint, you'll see this kind of feature in the list editor, allowing you to set the order of the interface.