I think we should do a premier support ticket for this one. You are doing some pretty complex stuff and I'm sure I can help you get it done in a one hour session, but it might take some custom coding. We could probably even get it done with MySQLi in a premier ticket, so I think that is the way to go.