02-13-2002, 06:42 AM
I am trying to accomplish this: I have three enterable lines for delivery instructions. I am adding a Message Code field which is 3 characters long, when something is entered in this field (message code field), it chains to a file and brings in the description for the message code. I need to determine which line I should CAT this description to. If I have Delivery Instruction Line #1 full and I check Line #2 and it is not full, I need to put the Message Code Description on the end of line #2, if it does not all fit, put what is remaining in Line #3. Does anybody have any suggestions on how to accomplish this? I am thinking with an array but I figured there had to be something easier...Any suggestions??? Thanks.