go_prev

Moves cursor to the previous structure number.

Syntax

void  go_prev(list-name,col-index)
list  list-name
expr  col-index

Description

list-name

identifies the name of the list to navigate.

col-index

identifies the ????.

Chemistry databases typically have a field for structure number and another field for sample number and there is a one-to-many relationship between structures and samples. When navigating a window list, the Up/Dn keys move the cursor row to row, which is equivalent to moving from sample to sample. This trigger creates a utility that skips samples and moves the cursor from the current structure number to the next.

Example

This function is deployed as a trigger linked to an up arrow action button and executes when the button is pressed. An up arrow image is included in the widget library for your button.

 go_prev(p.wl,@p.cas);


Updated 19 May 1999. Copyright DataAspects Corp. 1998-1999