Re: Question about multi users and using flags
- From: "FP" <ad@xxxxxxxxxxxxxxxxxxxx>
- Date: 18 Jun 2006 09:20:40 -0700
Usually tagging of records in a multi-user environment requires the
following;
Fields
ID (unique serial #)
TaggedRecords_g (global text field)
DisplayTag_c (calc with formula
If(Patterncount("¶" & TaggedRecords_g, "¶" & ID & "¶") > 0, 1,
"")
ValueList
One (custom values with only the value "1")
The field "DisplayTag_c" is displayed in the list view and formated as
a checkbox and attach to it the valuelist "One". Attach to this field
the following script;
If(IsEmpty(DisplayTag_c))
#Need to tag the record
Set Field "TaggedRecords_g" to TaggedRecords_g & ID & "¶"
else
#Remove the ID
Set Field "TaggedRecords_g" to Substitute("¶" & TaggedRecords_g,
"¶" & ID & "¶", "")
EndIf
Commit Record Request
Since a global value is unique to each user the field "DisplayTag_c"
will show the record as tagged for me if I tag it but it won't be
tagged for you even though were looking at the same record. To find
the records I tagged, simply go to related records using a relationship
between the field "TaggedRecords_g" and "ID".
You should be aware that the values in the field "TaggedRecords_g" are
carriage return separated and MUST have a carriage return as the last
character OR the field should be completely empty.
.
- References:
- Question about multi users and using flags
- From: squeed2000
- Re: Question about multi users and using flags
- From: JoeZ
- Question about multi users and using flags
- Prev by Date: Re: Report in FM 6 or 7
- Next by Date: Re: Report in FM 6 or 7
- Previous by thread: Re: Question about multi users and using flags
- Next by thread: Report in FM 6 or 7
- Index(es):
Relevant Pages
|