Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ALLTRIM syntax not support with SQL Server
Message
From
10/04/2003 03:26:18
Liam O'Hagan
O'Hagan Programming Ltd
Ireland
 
 
To
10/04/2003 02:04:39
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00775890
Message ID:
00775908
Views:
14
Hi Michael,

LTrim() will remove the leading blanks. LTrim(RTrim()) Will remove leading and trailing blanks.

Regards,

Liam



>Anyone can tell me why this is not working and what I should do to make it work?
>
>
>? SQLExec(lnHandle,'SELECT ALLTRIM(STR(YEAR(AddDate))) FROM News')
>
>
>This would work:
>
>
>? SQLExec(lnHandle,'SELECT STR(YEAR(AddDate)) FROM News')
>
>
>But, spaces are present in front of the field value in the cursor.
Liam O'Hagan
MCP VFP Desktop Apps
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform