Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create and update filed with selected records
Message
From
16/04/2008 16:35:36
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
MS SQL Server
Miscellaneous
Thread ID:
01311271
Message ID:
01311288
Views:
21
boris, It is possibel if filed long 200 character but trim if
a string is only long 190.Auto trim
like your codes
CAST(" id#"+Alltrim(code)+" Name"+Alltrim(Name)+" Fname"+Alltrim(fname)+ " Level"+Alltrim(lcode)+ " Sec"+Alltrim(sec) as CHAR(200)) AS NewField;
if text is short than 200, and it is long 190, and trim the empty space.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform