Copy Set worked!
Just add one line of the following at the very end:
COPY SET($highlightSet;$highlightSet)` re-highlights records
and it works perfectly. That’s a bit obscure, but super easy. Thank you so much!
Sannyasin Siddhanathaswami
On Sep 3, 2017, 9:20 PM -1000, wrote:
you just have to
The two additional "COPY SET" lines below have worked for me.
$ListBoxName:="CCTransactionsLB"
COPY NAMED SELECTION([CC_Transactions];"TempCurrentSet")
LISTBOX GET TABLE SOURCE(*;$ListBoxName;$tableNum;$namedSelection;$highlightSet)
COPY SET($highlightSet;"$tmpSet") // Store the highlighted set
it appears that (based on code posted)
he does not change the contents of the highlight set.
> you just have to
>
> COPY SET ("$userset";"$userset")
>
> on whatever the name of your highlight set.
>
>> 2017/09/04 12:01、Sannyasin Siddhanathaswami via 4D_Tech
>> <4d_tech@lists.4d.com> のメール:
>>
you just have to
COPY SET ("$userset";"$userset")
on whatever the name of your highlight set.
> 2017/09/04 12:01、Sannyasin Siddhanathaswami via 4D_Tech
> <4d_tech@lists.4d.com> のメール:
> I can understand if changing the selection causes the highlight to be lost,
> but then, how do I set the high
All of my code here is written in email - so
modifying your code:
$ListBoxName:="CCTransactionsLB"
COPY NAMED SELECTION([CC_Transactions];"TempCurrentSet")
LISTBOX GET TABLE SOURCE(*;$ListBoxName;$tableNum;$namedSelection;$highlightSet)
copy set($Highlightset;"$TempSet") \\copy the highligh
Aloha,
I don’t quite understand why my highlighted records are lost. 4D Server v15.4
Mac.
I’m doing the following in a button on the form that has a listbox.
$ListBoxName:="CCTransactionsLB"
COPY NAMED SELECTION([CC_Transactions];"TempCurrentSet")
LISTBOX GET TABLE SOURCE(*;$ListBoxName;$tableN
6 matches
Mail list logo