Two 'final' comments:
1[tab]" ... not paying for support ... " should not generally be true. Where you have a fixed price contract, you should build in a warranty clause and a warranty fund. At least part of the specification for a fixed pice contract should include language which is quite specific re the "acceptance criteria" including the development of test data and procedures. Very little "un-paid" work should even be considered where the product acceptance testing is passed satisfactorily. You SHOULD NOT blindly accept the responsability to modify (e.g. "FIX"

what isn't broken and the diffinition of "isn't broken" is that it passed agreed to tests based on agreed to data. I would usually involve the customer in the development of both the tests and the test data. This is because they have (or at least SHOULD have) a good grasp of the data and kow how they want the product to perform. It also places some degree of responsability directly on the customer. ANot much in the world is perfect, and some (VERTY FEW) exceptions can occur where you can agree that there was an oversight by BOTH paries, and you might work out an agreement to modify a design on a lower cost basis. Beyond that, you need to be A LOT more careful with your work committments.
2[tab]" ... works ... " is a relative term -at best! In the world of my occupation "works" includes ACCURATE. Thus while your "formula" does not produce an error, wheather it "WORKS" is far from settled. One area where you can be liable -regardless of your contract- is where you generate information which is in error. If your client EVER finds out the "formula" produces "incorrect" results and he has acted on the basis of these in a manner which has (or even MIGHT have) harmed any party - you could be in serious legal trouble. A brief example:
Suppose that the calculation is ~~ "ratio of objective to objective achieved. Further suppose that employees status (e.g. fireing / pay-raises - bonus) is -in part- based on htese calculations. At some point, the customer decides hte calcs are 'wrong' and dempnstrates this via a seperate (manual?) calculation. Next the reviewes the personnel action based on YOUR version and a comparision of the actions they "shoulda - woulda -coulda" taken based on the revised calculation. Here the customer 'finds; that -based on the inaccurate information provided by YOUR error, they have 'paid out' more in salary and bonuses than was propper. GUESS WHO may be liable (in the strictest LEGAL sense) not only for the overpayment, but interest on the ammounts as well as THE CLIENTS legal costs ... and more?
This is a simplistic but all to real scenario. It almost certainly is not your and your customer's situation in any detail. The cnetral issue remains " ... works ... " in that it doesnt cause an error is not "WORKS" in any pratical sense.
'___________________________________________________
You need not bother to reply, as I do not intend to get (back) on the soap box of legal and / or moral business activities, only to caution you to be VERY sure that you do not join the rtogues gallery of "Stupid Crooks" - via the quick fix.
MichaelRed
m.red@att.net
Searching for employment in all the wrong places