add sqlite defines for lareventdisplay