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

%DB(PRIMARY)% tokens will set the current index on the specified database alias. They use following token format:

%DB(PRIMARY|dbalias|index)%  
 
Parameters  
·PACK      required   literal   action code  
·dbalias      required   literal   MivaScript database alias name  
·index      required   literal   MivaScript database index filename  
 
 
Example: To setup to search the Products database using the product code, use  
 
%DB(PRIMARY|Products|%VAR(g.MerchantPath)%%VAR(Stores.d.id|MINLLEN|8|48)%/prd_code.mvx)%  
 
For more information, see <MvPRIMARY> in the Miva Script Guide v4.x -- <MvPRIMARY>
.

 


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