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

%DB(OPENVIEW)% tokens will open a view on a database file, using the specified parameters. They use following token format:

%DB(OPENVIEW|dbalias|view|query)%  
 
Parameters  
·OPENVIEW   required   literal   action code  
·dbalias      required   literal   MivaScript database alias name  
·view      required   literal   MivaScript database view name  
·query      required   literal   MivaScript SQL query string  
 
 
Example: To open a view (NewView) on an ODBC database called "NewData", use  
 
%DB(OPENVIEW|NewData|NewView|select * from NewData)%  
 
For more information, see <MvOPENVIEW> in the Miva Script Guide v4.x -- <MvOPENVIEW>
.

 


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