Hi,

$LASTCOUNT$ is used when you want to get a count of things.

The first action in my example performs a search. We are not interested in any
data of the searched form, only the count, that is why I set (dummy = $1$).
$1$ is the request id field, and dummy a diplay-only-field used for the
purpose.

The second action sets the field 'records in search' to $LATCOUNT$ which
corresponds to the number of records found in the first action.

        Best Regards - Misi, RRR AB, http://rrr.se

> Hello Misi,
>
> Just trying to understand what does that mean
>
> On 3/18/14, Misi Mladoniczky <[email protected]> wrote:
>> Hi,
>>
>> What value were you expecting?
>>
>> The normal way to use $LASTCOUNT$ is within one or two ACTL firing on the
>> same
>> action:
>>
>> ACTION 1:
>>   Set-Fields: (some query)
>>     dummy = $1$
>> ACTION 2:
>>   Set-Fields: CURRENT FORM
>>     records in search = $LASTCOUNT$
>>
>>         Best Regards - Misi, RRR AB, http://rrr.se
>>
>>> Hi List,
>>>
>>> Why $LASTCOUNT$ keyword is not expanded when default values are set? Can
>>> anybody give me a reason for this?
>>>
>>> Cheers,
>>>
>>> _______________________________________________________________________________
>>> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
>>> "Where the Answers Are, and have been for 20 years"
>>>
>>
>> _______________________________________________________________________________
>> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
>> "Where the Answers Are, and have been for 20 years"
>>
>
> _______________________________________________________________________________
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> "Where the Answers Are, and have been for 20 years"
>

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to