This function seems to work just fine. It must be run on an object, not a form. Lofgren (talk) 2015-10-09T14:13:30 (EDT)