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 4013154
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T09:20:09+00:00 2026-05-20T09:20:09+00:00

Edit 4: I was finally able to solve my own issue. See checkmark answer

  • 0

Edit 4:

I was finally able to solve my own issue. See checkmark answer below.

Edit 3:
I feel like I’m really close to solving this, just one hurdle remains in my way. Filters can only be applied in list boxes, combo boxes, or drop down list boxes. I am able to get my information filtered, but I need to get a MAX value for the information I’ve filtered and I have no idea how to do this. I’ve tried the max function and all I’m getting is NaN.

See screenshot.

You’ll notice my “Current Year #s +1 defaults to NaN. But when I select a number from the filtered drop down, it works. I need to be able to default to the max number in my list.
See another screenshot. I can’t seem to figure out how to default to the max report number. Any suggestions or ideas?

Edit 2:
Question still remains unanswered. Going to move most recent edits to the top.

Edit 1:
It seems like we are going with Ktharsis approach. He suggested using a filter for the year before we get the MAX(@ID) +1. I’m not sure how to implement this yet. Is there a formula to filter for the year in Sharepoint before getting the MAX(@ID) +1 so that our sequential IDs will reset for each year? I will post another update once this is answered.

I am trying to create a unique number counter ID that will reset on the new year. I have the number counter part down, but I have no idea how to make it reset when a new year begins.

Example: 2010-0057, 2010-0058, 2010-0059….. 2011-0001, 2011-0002 etc.

Instead it’s just continuing the sequence. Any ideas on how to implement this? The preferred method is without the use of programming. On a side note, I am integrating this with a SharePoint site and I am actually getting my sequential number from SharePoint’s ID field. I am using a MAX(ID) formula for my number sequence.

** First time using this site so I am sorry if this question doesn’t belong here.

  • 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-20T09:20:10+00:00Added an answer on May 20, 2026 at 9:20 am

    I’ve finally figured it out! Although Ktharsis did give me several tips, he did not answer my question to where I actually had something that worked. Therefore (not to be a prick), I am answering my own question and showing you guys what I did.

    How I reset the autogenerating number at every new year:
    Ignore all my previous edits about using drop box filters. None of that works. This what you need. On your submit rules, add a rule to query data from your sharepoint location (not entirely sure if this step is necessary, but it doesn’t hurt). Add another rule below to “Set a fields value”. Select your “Number Counter Field” under the “Field” option.

    Under the “Value” option, enter this:

    max(@Report_Number[@Year = substring-before(today(), “-“)]) + 1

    This will get the max report number for the CURRENT year and add 1 to it. So if report number 20 is your highest report number in your sharepoint database, it will now make this report you are submitting number 21. This will start over each year.

    For my form, my “Number Counter Field” basically feeds my “Report Number Field” and adds zeros when necessary. For example if I’m on report number 2, it will post Report Number 0002.

    I haven’t tried seeing what happens if there aren’t any reports for the new year. But you can add a rule right before this to find the max report number and if it is zero, make this report number 1.

    If you have any questions on my solution. Please let me know. I’ve spent months on this problem before I posted the question. Thanks to everyone that helped.

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

Sidebar

Related Questions

EDIT: See my answer below--> I am wanting to have a view that when
EDIT I have finally figured out the problem i have been having on my
EDIT : I believe its safe to say that Flash is finally being discontinued.
EDIT: I used, finally, inotify. As stefanB says, inotify is the thing to use.
EDIT : As of 2012-06-11 this bug has been finally fixed! https://bugs.webkit.org/show_bug.cgi?id=35981#c1 I have
EDIT 07/14 As Bill Burgess mentionned in a comment of his answer, this question
Edit : Note that, as Daniel and latkin noted in an answer and a
I'm finally set up to be able to work from home via VPN (using
Finally here is the edit: I am synchronizing two different processes with a semaphore:
I'm using wordpress to host a website for work, and I was finally able

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.