Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
Result:-GotoRow - move the cursor to the given row
Calling Sequence
result:-GotoRow(offset, opts )
Parameters
result
-
Result module
offset
integer; the index of the row
opts
(optional) equation of the form relative=boolean
Description
GotoRow moves the row cursor maintained within result to the row indexed by offset. If offset is positive, then it is interpreted to be relative to the beginning of the table. GotoRow(1) is the first row, GotoRow(2) is the second, and so forth. If offset is negative, then it is interpreted to be relative to the last row of the table. GotoRow(-1) is the last row, GotoRow(-2) is the second to last row.
The index of the current row can be obtained by calling GetRowIndex.
GotoRow accepts one optional argument.
relative = boolean
If relative is true, then offset is interpreted as relative to the current row. For example, GotoRow(1,relative=true) is equivalent to Next.
Setting the row cursor to a location beyond the ends of the table results in the cursor getting set to the row before the first data row or the row after the last data row.
Examples
Create a Result.
Notice the order of names.
Go to the last row.
Go to the first row.
Go to the second row.
Go to the second to last row.
Go to the third to last row (absolute index of 8).
Go to the fourth row (8-4=4).
Go to the sixth row (4+2=6).
See Also
Database, Database[Result], Database[Result][First], Database[Result][GetRowIndex], Database[Result][Last], Database[Result][Previous], Database[usage]
Download Help Document