Value_List:

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Value_List:

detlef.hebbel
Hello and Greetings.

Can I limit the number of list items displayed from the following syntax?

[Value_List: 'Field_Name']
  [Value_ListItem]
[/Value_List]

Let say the value list has 100 items but I want to show only 20.

Cheers

Detlef



--
------------------------------
Lasso Support: http://support.omnipilot.com/
Search the list archives: http://www.listsearch.com/lassotalk.lasso
Manage your list subscription:  
http://www.listsearch.com/lassotalk.lasso?manage
Reply | Threaded
Open this post in threaded view
|

Re: Value_List:

jasonhuck
Does this work?

[Value_List: 'Field_Name']
    [if: loop_count <= 20][Value_ListItem][/if]
[/Value_List]



On 8/1/05, Detlef Hebbel <[hidden email]> wrote:

> Hello and Greetings.
>
> Can I limit the number of list items displayed from the following syntax?
>
> [Value_List: 'Field_Name']
>   [Value_ListItem]
> [/Value_List]
>
> Let say the value list has 100 items but I want to show only 20.
>
> Cheers
>
> Detlef
>
>
>
> --
> ------------------------------
> Lasso Support: http://support.omnipilot.com/
> Search the list archives: http://www.listsearch.com/lassotalk.lasso
> Manage your list subscription:
> http://www.listsearch.com/lassotalk.lasso?manage
>

--
------------------------------
Lasso Support: http://support.omnipilot.com/
Search the list archives: http://www.listsearch.com/lassotalk.lasso
Manage your list subscription:  
http://www.listsearch.com/lassotalk.lasso?manage
Reply | Threaded
Open this post in threaded view
|

Re: Value_List:

Kyle Jessup
In reply to this post by detlef.hebbel

On Aug 1, 2005, at 7:19 AM, Jason Huck wrote:

> Does this work?
>
> [Value_List: 'Field_Name']
>     [if: loop_count <= 20][Value_ListItem][/if]
> [/Value_List]

You could also loop_abort it. That would probably be better.

loop_count > 20? loop_abort;


> On 8/1/05, Detlef Hebbel <[hidden email]> wrote:
>
>> Hello and Greetings.
>>
>> Can I limit the number of list items displayed from the following  
>> syntax?
>>
>> [Value_List: 'Field_Name']
>>   [Value_ListItem]
>> [/Value_List]
>>
>> Let say the value list has 100 items but I want to show only 20.
>>
>> Cheers
>>
>> Detlef
>>
>>
>>
>> --
>> ------------------------------
>> Lasso Support: http://support.omnipilot.com/
>> Search the list archives: http://www.listsearch.com/lassotalk.lasso
>> Manage your list subscription:
>> http://www.listsearch.com/lassotalk.lasso?manage
>>
>>
>
> --
> ------------------------------
> Lasso Support: http://support.omnipilot.com/
> Search the list archives: http://www.listsearch.com/lassotalk.lasso
> Manage your list subscription:
> http://www.listsearch.com/lassotalk.lasso?manage
>


--
------------------------------
Lasso Support: http://support.omnipilot.com/
Search the list archives: http://www.listsearch.com/lassotalk.lasso
Manage your list subscription:  
http://www.listsearch.com/lassotalk.lasso?manage
Reply | Threaded
Open this post in threaded view
|

Re: Value_List:

detlef.hebbel
In reply to this post by detlef.hebbel
Thank you - it works fine.

Cheers

Detlef


on 01.08.2005 23:19, Jason Huck at [hidden email] wrote:

> Does this work?
>
> [Value_List: 'Field_Name']
>     [if: loop_count <= 20][Value_ListItem][/if]
> [/Value_List]
>
>
>
> On 8/1/05, Detlef Hebbel <[hidden email]> wrote:
>> Hello and Greetings.
>>
>> Can I limit the number of list items displayed from the following syntax?
>>
>> [Value_List: 'Field_Name']
>>   [Value_ListItem]
>> [/Value_List]
>>
>> Let say the value list has 100 items but I want to show only 20.
>>
>> Cheers
>>
>> Detlef
>>
>>
>>
>> --
>> ------------------------------
>> Lasso Support: http://support.omnipilot.com/
>> Search the list archives: http://www.listsearch.com/lassotalk.lasso
>> Manage your list subscription:
>> http://www.listsearch.com/lassotalk.lasso?manage
>>



--
------------------------------
Lasso Support: http://support.omnipilot.com/
Search the list archives: http://www.listsearch.com/lassotalk.lasso
Manage your list subscription:  
http://www.listsearch.com/lassotalk.lasso?manage
Reply | Threaded
Open this post in threaded view
|

Re: Value_List:

detlef.hebbel
In reply to this post by detlef.hebbel
Hi Kyle.

This works but I cannot get  a <br> between the  Value_ListItem;

<?LassoScript
                 
Value_List: 'Hotel_City';
loop_count > 20? loop_abort;
Value_ListItem;

//<br> this '<br" does not work in a LassoScript, how can I get new lines
between the Value_ListItem;

/Value_List;

?>    



Cheers

Detlef






on 02.08.2005 00:47, Kyle Jessup at [hidden email] wrote:

>
> On Aug 1, 2005, at 7:19 AM, Jason Huck wrote:
>
>> Does this work?
>>
>> [Value_List: 'Field_Name']
>>     [if: loop_count <= 20][Value_ListItem][/if]
>> [/Value_List]
>
> You could also loop_abort it. That would probably be better.
>
> loop_count > 20? loop_abort;
>
>
>> On 8/1/05, Detlef Hebbel <[hidden email]> wrote:
>>
>>> Hello and Greetings.
>>>
>>> Can I limit the number of list items displayed from the following
>>> syntax?
>>>
>>> [Value_List: 'Field_Name']
>>>   [Value_ListItem]
>>> [/Value_List]
>>>
>>> Let say the value list has 100 items but I want to show only 20.
>>>
>>> Cheers
>>>
>>> Detlef
>>>
>>>
>>>
>>> --
>>> ------------------------------
>>> Lasso Support: http://support.omnipilot.com/
>>> Search the list archives: http://www.listsearch.com/lassotalk.lasso
>>> Manage your list subscription:
>>> http://www.listsearch.com/lassotalk.lasso?manage
>>>
>>>
>>
>> --
>> ------------------------------
>> Lasso Support: http://support.omnipilot.com/
>> Search the list archives: http://www.listsearch.com/lassotalk.lasso
>> Manage your list subscription:
>> http://www.listsearch.com/lassotalk.lasso?manage
>>
>



--
------------------------------
Lasso Support: http://support.omnipilot.com/
Search the list archives: http://www.listsearch.com/lassotalk.lasso
Manage your list subscription:  
http://www.listsearch.com/lassotalk.lasso?manage
Reply | Threaded
Open this post in threaded view
|

Re: Value_List:

Johan Solve
In reply to this post by detlef.hebbel
On 8/1/05, Detlef Hebbel <[hidden email]> wrote:
> //<br> this '<br" does not work in a LassoScript, how can I get new lines
> between the Value_ListItem;

See Tip of the Week - LassoScript vs Square Brackets
http://www.omnipilot.com/Tip%20of%20the%20Week.1768.7577.lasso

--
     Johan Sölve    [FSA Partner, Lasso Partner]
     Web Application/Lasso/FileMaker Developer
     MONTANIA SOFTWARE & SOLUTIONS
http://www.montania.se   mailto:[hidden email]
 (spam-safe email address, replace '-' with 'a')

--
------------------------------
Lasso Support: http://support.omnipilot.com/
Search the list archives: http://www.listsearch.com/lassotalk.lasso
Manage your list subscription:  
http://www.listsearch.com/lassotalk.lasso?manage