Took some tracking down with the debugger, but I got it to work. I'm going to clean it up and modify DB code, but it works with Jim's and it's flexible, so it's a start.