Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Easy way to format screen write using
Message
De
27/08/2007 13:58:33
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01250699
Message ID:
01250719
Vues:
17
Only took 5 minutes of some search/replace and worked like a charm. Thanks!
? PADR("Message Header",30,".") + PADL("MSH",30,".")
>No, unless you would use
>
>PADR(myFirstPart,30) + PADL(mySecondPart,30) && Use maximum length in both cases.
>
>BTW, you may want to check my Statistics form from Downloads section here Form, which is convenient for showing messages File #9684. It's a messagebox replacement and it allows long messages and has a Print button.
>
>>I would like the portion to the right of the "+" to be right-aligned in the resulting output. I could just type spaces between by counting for each, but is there a quick/easy way to do it?
>>
>>
>>? "Message Header: " + "MSH"
>>? "Field Separator: " + "|"
>>? "Encoding Characters: " + "^~\&|"
>>? "Sending Application: " + "Medinotes e|"
>>? "Sending Facility: " + "|"
>>? "Receiving Applicaton: " + "|"
>>? "Receiving Facility: " + "|"
>>? "Date/Time of Message: " + "20070810113347|"
>>? "Security: " + "|"
>>? "Message Type: " + "ACK|"
>>? "Message Control ID: " + "20070214102554000008|"
>>? "Processing ID: " + "P|"
>>? "Version ID: " + "2.4|"
>>? "Sequence Number: " + "|"
>>? "Continuation Pointer: " + "|"
>>? "Accept Acknowledgement Type: " + "|"
>>? "Application Acknoledgement Type: " + "|"
>>? "Country Code: " + "|"
>>? "Character Set: " + "|"
>>? "Principal Language of Message: " + "|"
>>? "Acknowledgement Message Header: " + "MSA|"
>>? "Acknowledgement Code: " + "AA|"
>>? "Message Control ID: " + "20070214102554000008|"
>>? "Text Message" + "|"
>>? "Delayed Acknowledgement Type: " + "|"
>>? "Error Condition: " + "|"
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform