Fixed the Unable to Open Database bug in Invoice-Edit

Need to set the connection string to the dynamic sql sequence at the end
of the save code snippet.