ex.
- Code: Select all Expand view RUN
- SET ADO PRE OPEN THRESHOLD TO 10000 [MASK "2015","2014"]
Another thing for practice:
If the database cannot opened for now the app quits. But the developer will do in most cases another end of the app. (Writing a log or so,...).
My proposal: Add clausula [ON ERROR <functionslist>]
- Code: Select all Expand view RUN
- SET ADO DEFAULT DATABASE TO <cDB> SERVER TO <cServer> ENGINE TO <cEngine> [USER TO <cUser>] [PASSWORD TO <cPass>] [CLASSNAME <cClass>] ;
[ON ERROR <functionslist>]