FORMULA LANGUAGE
Examples: @DbExists
1. This formula returns 1 if FRITES.NSF is in the MAIL directory on the server Belgium. Otherwise it returns 0.
@DbExists( "Belgium" : "mail\\frites.nsf" )
2. This formula checks if a database exists before opening it on the workspace.
server := @Subset( @MailDbName; 1 );
file := "mail\\blah.nsf";
@If( @DbExists( server : file ) ; @PostedCommand([FileOpenDatabase]; server : file ); @Prompt([OK]; "Sorry"; "The database cannot be located on your home server." ) )
3. This formula uses a database's replica ID instead of its file name:
Exists := @DbExists("Cheshire";"852556DO:00576146");
See Also
@DbExists
Glossary
Feedback on
Help
or
Product Usability
?
Help on Help
All Help Contents
Glossary