Error 1903 - String Is Too Long To Fit 
Author Message
 Error 1903 - String Is Too Long To Fit

Hi Folks,

One of the features my client has asked for is to be able to view a memo
field in  a grid. The memo field is potentially quite long, with carriage
returns throughout. I thought I'd get around this by making the control
source of the column STRTRAN(STRTRAN(cMemoField, chr(13), ' - '), chr(10)).
This strips all of the LF (chr(10)) and converts all of the CR (chr(13)) to
a separator string.

The control in the column is an editbox, and when the grid comes up,
everything appears to work just fine. However, when the user clicks in the
edit box for a row with a large entry in the memo field (I'm yet to pin down
what exactly "large" is), an error 1903 - The String Is Too Long To Fit - is
generated.

Does anyone have any clues?

Cheers,

--
Andrew Coates
Civil Solutions
http://www.*-*-*.com/

PGP Public Key on MIT Server

begin 666 Andrew Coates.vcf
M0D5'24XZ5D-!4D0-"E9%4E-)3TXZ,BXQ#0I..D-O871E<SM!;F1R97<-"D9.
M.D%N9')E=R!#;V%T97,-"D]21SI#:79I;"!3;VQU=&EO;G,-"DY/5$4Z4$=0

M.TY35SLR,#,U.T%54U1204Q)00T*3$%"14P[5T]22SM%3D-/1$E.1SU154]4

M"E523#H-"E523#IH='1P.B\O=W=W+F-I=FEL<V]L=71I;VYS+F-O;2YA=2\-
M"D5-04E,.U!2148[24Y415).150Z82YC;V%T97- 8VEV:6QS;VQU=&EO;G,N

`
end



Tue, 25 Sep 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. STRTRAN() to fix ASCII: Error 1903: String is too long to fit

2. Help: String to Long to fit!

3. Beware the String Too Long To Fit

4. String is too long to fit

5. getting runtime error 1903

6. "Line too long to fit" Error

7. Long, long character string

8. string to long error

9. String is too long to fit. Message ??

10. String too long in PICTURE "@M"

11. ?? long strings?

12. Long string problems

 

 
Powered by phpBB® Forum Software