>>Okay, I win the stupidest dog trick of the year award....
>>
>
>SET PREACH ON
>
>This would have been avoided had you used a variable naming convention for your file handle:
>
>lhInvoice
>
>Helps code readability, and avoids variable/field confusion.
>
>
>SET PREACH OFF
Funny thing is, I USUALLY follow a naming convention.
Guess I now know why I USUALLY do!
Bow wow,