OpenTokens™: %DB(GO)%
Return to Introduction  Previous page  Next page

%DB(GO)% tokens will go to a specific record (or top or bottom) in the specified database alias. They use following token format:

%DB(GO|dbalias|row|view)%  
 
Parameters  
·GO      required   literal   action code  
·dbalias      required   literal   MivaScript database alias name  
·row      required   literal   Row # (or 'top', 'bottom') to set current record pointer to  
·view      optional   literal   MivaScript database view name  
 
 
Example: To go to the bottom (last) record of the Products database, use %DB(GO|Products|bottom)%

Example: To go to the second record of the Products database, use %DB(GO|Products|2)%

For more information, see <MvGO> in the Miva Script Guide v4.x -- <MvGO>
.

 


Send feedback on this documentation.
© 2004 - 2000 Darren Ehlers & OpenUI Developer Consortium