Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6647227
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:30:44+00:00 2026-05-26T00:30:44+00:00

Brief Description: I have a table that stores articles. Articles are listed on table

  • 0

Brief Description:

I have a table that stores articles. Articles are listed on table and sorted – DESC – by dateCreated.

dateCreated column represents the date and time user has posted/created the article. It is fixed and must not be changed.

Problem:

By the days, old articles usually ends up in far pages. However, the user has the chance of bumping his article back to the top of the table on first page. Since i’m ordering the articles by dateCreated, which mustn’t be changed, how can i bump the article without changing dateCreated?

My Solution – I’m not sure if its a good one or not (i need suggestions):

Create another column called bumpDate. When user posts an article, date/time will be inserted into dateCreated and bumpDate. The articles on the gridview will be sorted by bumpDate. When user bumps his article, i only update bumpDate. Therefore, user’s article ,regardless of dateCreated date, will be on top. Gradually, the article will go down by the days depending how many new articles posted by other users.

Do you see any glitches in this design/solution?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T00:30:45+00:00Added an answer on May 26, 2026 at 12:30 am

    What you have outlined is how those things are typically done. While BumpDate might not be the best name (does this truly represent the action of “bumping”, or did they do something else like modifying it?), that’s what you should use.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Brief Description of the app: I have written a Delphi application that allows a
I have product website. On one page I show thumbnails and a brief description
A brief description... I have 4 tables. contacts (a list of each person, unique
I have a table that displays cell using UITableViewCellStyleSubtitle: ============================================================= Title:This is the title
Uhm I'm not sure if anyone has encountered this problem a brief description is
In brief: Is it ever excusable to have assembly names and class names stored
Brief description of requirements (Lots of good answers here, thanks to all, I'll update
I am on a tight schedule with my project so don't have time to
I have a problem. I have an XML file that contains information about 100
Firstly, let me give a brief description of the scenario. I'm writing a simple

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.