This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
Web Server - Ask For Help / How to do UnTag All from Button
« on: March 25, 2013, 08:38:00 AM »
I am using InMem driver as table to store my tags. I duplicated the Tagging example -- except for the sessionID (changed it from LONG to STRING). I have a few questions:
1. I set the Tag:SessionID field to STRING 256 -- is that correct?
2. I have the tagging browse on a Memory Form and would like to clear the tags with a button. If I use the following code -- where should it be embedded under that button?
TAG:SessionId = p_web:SessionID
Loop until Access:Tagged.Next()
If TAG:SessionId <> p_web:SessionID then break.
Access:Tagged.DeleteRecord(false)
End
3. Will this cause the browse to be refreshed automatically or do I need to handle that myself?
Sorry for all the questions...really trying to get a handle on this.
Thank you.
1. I set the Tag:SessionID field to STRING 256 -- is that correct?
2. I have the tagging browse on a Memory Form and would like to clear the tags with a button. If I use the following code -- where should it be embedded under that button?
TAG:SessionId = p_web:SessionID
Loop until Access:Tagged.Next()
If TAG:SessionId <> p_web:SessionID then break.
Access:Tagged.DeleteRecord(false)
End
3. Will this cause the browse to be refreshed automatically or do I need to handle that myself?
Sorry for all the questions...really trying to get a handle on this.
Thank you.
Pages: [1]