Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select field width restricted
Message
From
22/04/2003 15:56:53
 
 
To
22/04/2003 15:50:48
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00780295
Message ID:
00780319
Views:
12
That's because in your source table all of the records have the same length...you only have this problem when you do something (like trim()) that makes them have different lengths.


>hello Sergey
>
>that's not what i get, it only truncates the cursor field if i do for example an 'Alltrim(FldValue)' in the procedure, other then that i always get the fld length from the source table.
>
>>VFP uses first record in the table to determine the size of columns in the result. To prevent truncation of the calculated character fileds you've to pad result of that expression to the lenght you need. You may do that in your function or in the query itself.
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform