Reply to post:

You've seen things people wouldn't believe – so tell us your programming horrors

GlenP Silver badge

Simplest but most idiotic bit of "programming" I've come across was in a MS Reporting Services report dataset. Instead of taking the VAT amount for the invoice from the Table the consultant (had to be one of them) from the ERP supplier had coded

TOTGOODVAL * 1.175 AS VATVAL

This sort of worked, for UK sales only, right up until the point when the VAT rate changed. The fields TOTGOODVAL and TOTVATVAL are right next to each other in the table.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon