And before anyone suggests we should be using an Asset Inventory tool, I am "working" as a volunteer for a local charitable organisation that has limited budget and is not currently in a position to invest in such a tool!
I have a Workbook that is an Asset Inventory (1000+ rows, 30 columns) which is driven by two UserForms:
i) ADD NEW records (assets); and
ii) UPDATE EXISTING records.
The Workbook is stored in a SharePoint folder and can be accessed by more than one (typically no more than four) User concurrently.
Problem 1 (ADD NEW) …
I am using an INVENTORY ID column as a unique key for each record eg INVnnnn, which is allocated when an ADD NEW UserForm is Saved by taking the value in the INVENTORY ID column of the last row in the main table and incrementing it by 1.
The problem is that because each User is effectively working on a standalone version when they open the Workbook, when a new INVENTORY ID is allocated, conflicts can arise.
Problem 2 (UPDATE EXISTING) …
The UPDATE EXISTING UserForm reads the current data into the form from the main table, which Users can update and Save.
Again, the problem is that because each User is effectively working on a standalone version when they open the Workbook, conflicts can arise (and merging changes doesn't really work in this instance!).
I fear the answer is “No” (I would be delighted if there is a way!), but is there a way round these problems?
For the UPDATE EXISTING problem I have tried using a helper column that toggles between “Unlocked” and “Locked” ie when a User invokes the UPDATE EXISTING form the value is changed to “Locked” and when they exit the form the value is changed back to “Unlocked”, which I check before loading the form, but this doesn’t work across effectively standalone versions.
Hope that makes sense; all answers appreciated, even if it’s to confirm it can’t be done!
Many thanks …
I have a Workbook that is an Asset Inventory (1000+ rows, 30 columns) which is driven by two UserForms:
i) ADD NEW records (assets); and
ii) UPDATE EXISTING records.
The Workbook is stored in a SharePoint folder and can be accessed by more than one (typically no more than four) User concurrently.
Problem 1 (ADD NEW) …
I am using an INVENTORY ID column as a unique key for each record eg INVnnnn, which is allocated when an ADD NEW UserForm is Saved by taking the value in the INVENTORY ID column of the last row in the main table and incrementing it by 1.
The problem is that because each User is effectively working on a standalone version when they open the Workbook, when a new INVENTORY ID is allocated, conflicts can arise.
Problem 2 (UPDATE EXISTING) …
The UPDATE EXISTING UserForm reads the current data into the form from the main table, which Users can update and Save.
Again, the problem is that because each User is effectively working on a standalone version when they open the Workbook, conflicts can arise (and merging changes doesn't really work in this instance!).
I fear the answer is “No” (I would be delighted if there is a way!), but is there a way round these problems?
For the UPDATE EXISTING problem I have tried using a helper column that toggles between “Unlocked” and “Locked” ie when a User invokes the UPDATE EXISTING form the value is changed to “Locked” and when they exit the form the value is changed back to “Unlocked”, which I check before loading the form, but this doesn’t work across effectively standalone versions.
Hope that makes sense; all answers appreciated, even if it’s to confirm it can’t be done!
Many thanks …