Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm trying to get the value of column "Version" in a calculated column. I'm not sure if it's a bug with SharePoint 2007 but every time a document is updated, the version number shown in the calculated column gets reset to "0" even if the formula is as simple as "=version".

I can see this question has already been asked on two other forums but so far there's no answer given:

http://social.msdn.microsoft.com/Forums/en-CA/sharepoint2010general/thread/61e0bfb6-63d4-4e39-9ef1-2dc2ed910cf2

http://www.tek-tips.com/viewthread.cfm?qid=1635126

Any suggestion?

share|improve this question
add comment

2 Answers 2

up vote 1 down vote accepted

This is very similar to the problem with using =ID on item creation.

In short, the version number doesn't exist yet when the formula's result is being recalculated (during the update). It's added to the item after the update has completed successfully.

share|improve this answer
add comment

Unless you have versioning enabled, that will always return 0. On the other hand, updates are handled automatically, i assume via Event Handlers.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.