Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
a_f:f:af:list_line [2022/09/02 02:51] – removed - external edit (Unknown date) 127.0.0.1a_f:f:af:list_line [2023/05/09 01:00] (current) sean
Line 1: Line 1:
 +{{tag>Index Function Function_List Miscellaneous}}
 +====== LIST_LINE ====== 
 +===== Description =====  
 +Prints out members of a list as a single line. Only specified attributes of each list member are printed out. A list may be specified as an attribute or as a query string. This function is useful when it is necessary to print out a relatively small list inside a document or inside an e-mail (usually used inside a tag). Returns a line as a text string.
 +===== Parameters =====   
 +  - Identifier of the list or a string identifying the query (either Rule Language string or the name of the existing query).
 +  - If the list identifier is used the second parameter may optionally indicate ordering of the list  - Delimiter to be used between attributes of a member.
 +  - Delimiter to be used between members. 
 +  - Attribute names to be printed out. The name of the attribute to print out may be optionally followed by the print format (the name of the attribute and the format must be separated by comma). If format is not specified the default attribute format will be used.
 +===== Example =====  
 +<code aim><<LIST_LINE(Client.Children,'ORDER BY 
 +  Child.FirstName DESC',' ',',','FirstName', 'LastName', 'Age,#')>> </code>
 +<code aim><<LIST_LINE('FIND ALL Child',' ',',','FirstName', 'LastName', 'Age,#')>> </code>