Standardised syntax
Corrected local declaration.
Remove invalid .keycolumn reference.
Change active statement to inherit date format (more flexible and wider support).
Corrected issue with date input on ->search, added ->statement to ds type.
Correct behaviour of ->getrow to match all supplied keys.
->getrows still matches any keys unless one is true, then it matches all keys. 
For example: >getrows('a'=1,'b'=2,true)