Thanks, I have looked at this code for so long I figured it was some simple logic error....my eyes have just glazed over after trying to debug this for so long...I initially thought it was how DBI was handling empty strings...since that is where I am populating the data from.