Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String length too long
Message
From
13/11/2004 09:12:07
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
String length too long
Miscellaneous
Thread ID:
00961140
Message ID:
00961140
Views:
41
I have the following code which get a string to long error message:
TEXT TO lcMsg TEXTMERGE NOSHOW
This Claim/Respondent link
	Start on: <<ccPAGE.Startdate>>
	End on	: <<ccPAGE.Enddate>>

You selected the following Respondent (Liable for: <<ccPage.Percent>>% ):
	Tax ID	: <<cc6.fid>>
	Company : <<cc6.company>>
	DBA		:
	ID		: <<cc6.respond_id>>
	Address	: <<ALLTRIM(cc6.address>>
			  <<ALLTRIM(cc6.city)>>, <<ALLTRIM(cc6.state)>> <<cc6.zip>>
	Phone	: <<cc6.phone >>
	Insured	: <<IIF(cc6.ISINSURED,"Yes","no")>>
	NCCI	: <<cc6.NCCI>>
ENDTEXT
But I know I have created much longer string when making HTML code or filetostr() conversion.
The error start happening when len(lcMsg) > 255
which I remember to be the field size limit (actually I think it is 254).

Thanks

Peter
Peter Cortiel
Next
Reply
Map
View

Click here to load this message in the networking platform