Added dbName support for FormViewer

Signed-off-by: Matt White <matthew.white@fclonline.com>