> The Invoice will not change, its only ever going to be on line 26 or line 27
I'd say the odds of that being the case are low... things like this frequently come back to bite you. > I tried your code but all i get is an error messag saying: > > You have attempted to dereference a scalar variable of type class java. > lang.String as a structure with members. Something like this *might* work: <cfset Lines = ListToArray( Lines , Chr(10)&Chr(13) ) /> But don't just copy and paste that - make sure you know what it's actually doing, and that you know the difference between strings, arrays, structs, and so on. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327387 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

