All i need it to do is, check if line 26 has text in it, and if so not to check line 27
this piece of code is doing part of that, only its checking Line 27 also and inputting whats in it also <cfif previouslinenumber eq 26> <cfset linenumber = 27> </cfif> <cfif (linenumber eq 26) OR (linenumber eq 27)> <cfset invoicenumber = trim(right(left(i,74),20))> <cfif (invoicenumber neq previousnumber) AND (invoicenumber neq "")> </cfif> >>>The Invoice will not change > >This is absolutely true,... until the guy who said it will not change is >changed ;-) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:327431 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4