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!

Display Comment field with A4000 datatype

Status
Not open for further replies.

H1004

MIS
Oct 28, 2003
136
US
I can't display this field because it gave me an error of:

Error msg:

THE MAXIMUM SPACE FOR COLUMN TITLES HAS BEEN EXCEEDED.
Each displayed data field may have from 1 to 5 lines as a column title. The total area for titles is 1210 characters, which includes the space needed for the line of dashes..The limit for one-line titles is 605 character.


Is there a work around this problem so that I can display this field??
Thank you,
 
FOCUS is saying that the column heading size is excessive.
Try
TABLE FILE MYFILE
PRINT MY_BIG_FIELD AS 'MY,BIG,FIELD'
WHERE RECORDLIMIT IS 1
END
This should print your A4000 field with a three-line title;
the recordlimit statement is often used for testing, it cuts down the time.
If this doesn't work for your, please post your code.
 
Still getting that error message
Here is my code
TABLE FILE MESSAGE
PRINT
FROM_SENDER
MESSAGE_TEXT
WHERE RECORDLIMIT EQ 1
END
-EXIT
 
You can print memo type fields in webfocus you are allowed to use it only in header or footer , one thing you can to is convert manually the type to tx50 in the master file and then you will get the content .
 
Well it turns out that if you have version 5.23, then it is okay..But if you have version 4.36 & using Desktop then you need to change your edaprof file in your C drive by adding the following line
SQL SQLMSS SET CONVERSION LONGCHAR TEXT
and then change your datatype to tx50 in your master file.

I'm not sure how to change in the server side yet.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top