Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cmonth
Message
From
07/01/2003 11:43:22
 
 
To
07/01/2003 11:16:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Cmonth
Miscellaneous
Thread ID:
00738680
Message ID:
00738837
Views:
16
An SQL-SELECT statement sets the field widths for the result by evaluating the first row of the result set. If that returned "May" then you would have a 3 character wide field.

You could use PADL() or PADR() around the CMONTH() function to return a string of fixed length so that the result column is always long enough.
Previous
Reply
Map
View

Click here to load this message in the networking platform