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

  • SEARCH
  • Home
  • 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 6886565
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T05:46:31+00:00 2026-05-27T05:46:31+00:00

I have a client that allows users to specify a particular format for records.

  • 0

I have a client that allows users to specify a particular format for records. Not the id, but as good as.

So the user can select a format of say

  • yyyy-1st 3 chrs of client name-next available file number

or

  • file manager initials, next file number, yy

or

  • next file number, yyyy, file manager initials

they can also add more items so you might get

  • next file number-yyyy-client initials-managers initials-yy

Having difficulty visualising the solution on this and how to store the format in a table, pull it out and generate the required number.

Especially given that the client can

  • change format at any time
  • the next file number needs to be the next one.

I guess the important piece i am missing here is to generate a query giving me the “next file number” if there are already records.

edit

not limited to sql. I just can’t think of a solution that will allow me to store a number in a custom format and then generate the next number based on that format.

  • 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-27T05:46:31+00:00Added an answer on May 27, 2026 at 5:46 am

    What we require our users to do is to reformat the existing records when they change the format. When the format is changed, we know the old format and the new format, so we can update the existing records.

    If the visual record number is integral to your operations and needs to be retained, I would then keep a shadow copy in the record that contains the record number formatted according to the current format. You can update this in all records when the format is changed and finding the next available number is now a simple select statement.

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

Sidebar

Related Questions

I have a Silveright app that allows users to specify filters on a few
I have a client who would like an iphone app that allows users to
I have a simple chat client set up that allows users to login with
I have a website that allows a functionality for any user but each user
I have written an ASP.NET MVC application that allows the user to specify their
I have a client that wants audio to play while the user is browsing
I have an Outlook 2007 Add-in in VSTO 2005 SE that allows users to
We have a desktop app that allows users to fill in a questionnaire. For
I have a system that builds up reports on incedents. This allows the users
I have designed a shopping cart that allows both login and non-login users to

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.