NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Tagging records for exclusive use
« previous
next »
Print
Pages: [
1
]
Author
Topic: Tagging records for exclusive use (Read 3858 times)
broche
Sr. Member
Posts: 336
Tagging records for exclusive use
«
on:
September 21, 2016, 09:34:18 AM »
CL 10
NT 9.12
Application has a pool of documents waiting to be edited.
I want to allow users to tag multiple documents then commit them for editing to one editor.
I can make a simple tag field in the document table work but users are stepping on each other when they process the table.
Any suggestions welcome.
I thought that I could record the userid with the password then stop others tagging this record. My worry is that records would start to get tagged and not cleared then never sent to edit etc.
Logged
Brian
Robert Iliuta
Sr. Member
Posts: 472
Re: Tagging records for exclusive use
«
Reply #1 on:
September 21, 2016, 11:56:06 PM »
I did not understand exactly what your problems are related to tag records....but I keep in a memory table the SessionID and Guid of records tagged. Process them and then delete when needed based on SessionID.
If you want to block access to a tagged records then do it with a flag.
Robert
Logged
Bruce
Global Moderator
Hero Member
Posts: 11244
Re: Tagging records for exclusive use
«
Reply #2 on:
September 22, 2016, 01:21:43 AM »
yeah, what Robert said.
You need a "tagging" table, which contains a SessionID and GUID of the selected fields.
I _think_ the Tagging example behaves like this?
cheers
Bruce
Logged
kevin plummer
Hero Member
Posts: 1195
Re: Tagging records for exclusive use
«
Reply #3 on:
September 25, 2016, 04:27:04 PM »
If you block it with a flag then you want to also ensure the flag can be removed automatically after a period of time so your record is not locked. One way is when the session is deleted it also deletes the tags (which it should anyway). I would also use a memory table as Robert suggested.
Logged
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Tagging records for exclusive use