+ Reply to Thread
Results 1 to 2 of 2

Thread: Populating fields....

  1. #1
    jrhoads@cdsgroup.com Guest

    Default Populating fields....

    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.

  2. #2

    Default Populating fields....

    If you're not worried about word breaks (that is, if you can have a word break at the end of the line and be continued on the following line), then it's pretty simple to do with a data structure. Define a data structure that has all three display fields, one after the other. Define a single chaacter field over all three (or just use the data structure name). Then, after getting the data, simply concatenate the retrieved decsription onto the end of the data structure. Joe

+ Reply to Thread

Similar Threads

  1. SORTA with Key Fields
    By wimofpee in forum RPG
    Replies: 5
    Last Post: 11-02-2006, 11:15 AM
  2. Replies: 5
    Last Post: 03-24-2006, 04:50 AM
  3. Time Stamp Fields to mmddyy and hhmmss fields
    By S.Mildenberger in forum RPG
    Replies: 2
    Last Post: 10-01-2003, 03:01 AM
  4. Replies: 0
    Last Post: 08-29-2003, 05:24 PM
  5. Bit Fields
    By Guest.Visitor in forum Programming
    Replies: 1
    Last Post: 09-15-1998, 04:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts