Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bordering Display File Fields

Status
Not open for further replies.

jsplice

Programmer
Jun 3, 2003
88
US
Hello everyone. I have a display file and in the header I need to have 2 fields border each other. The first field which is in the top left corner of the screen holds the program name, and the field following that one for the remained of the first line is the program title, user name, etc. This whole line is in a reverse image, so they need to border each other so that there is no break in the reverse image. However, I'm noticing that if the fields are lined up right next to each other, only one of them will display. Is there a way to get two fields to border each other and both be displayed?
 
In a word, no. One byte before a field is reserved for the acreen attribute. Your only remedy is to combine these fields in your program.

Feles mala! Cur cista non uteris? Stramentum novum in ea posui!

 
Flapeyre is right. AFAIK the only way is to combine or concatenate the relevant fields in a single variable long enough to accomodate them all and to display it on the screen.

MyVar = %trim(ProgramName) + %trim(ProgramTitle) + %trim(UserName) + ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top