Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String is too long to fit
Message
 
To
28/12/1998 15:07:27
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00170802
Message ID:
00171433
Views:
42
>No, 5.0. The error occurs when I try to pass the property and the property contains a string of 405 characters (it works with shorter ones, but I have not tested to find the limit).

It's a form property right? Is it bound to a text field (not a memo)? They're limited to 255 chars...

+++ Rick ---

>
>
>>Are you using VFP 3.0?
>>
>>The problem is with String properties. In 5.0 string properties were
>>limited to just under 1 meg. THis limitation has been removed in VFP 6.
>>
>>I don't know what it is in 3.0, but I'm sure that it's more than 1000 chars <s>.
>>
>>No issues existed for strings to plain variables...
>>
>>+++ Rick ---
>>
>>
>>>I am getting an error in one of my forms that I have not seen before.
>>>Error 1903 (String is too long to fit).
>>>
>>>The line that crashes is calling a modal form and passing a form property as a parameter. I have not determined the limit size of the parameter, but LEN(THISFORM.MyProp) = 100 works, and LEN(THISFORM.MyProp) = 400 does not.
>>>
>>>I can call the same form from the command window with
>>>lcText = REPLICATE("W",405)
>>>DO FORM Myform WITH lcText
>>>
>>>and I don't get the error.
>>>
>>>Does anybody know what causes this?
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform