link_by_index

Declaration

link_by_index (index: INTEGER)

Description

Moves the current query to position index.

Note: Index is 0-based and must be between 0 and total_items - 1.

See Also

total_items
link
navigation functions

Example

script test_query is
  if (index >= 0) and (index < total_items) then
    link_by_index (index)
end