Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert cmonth +year
Message
From
25/07/2004 11:05:29
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
25/07/2004 07:35:12
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00927668
Message ID:
00927704
Views:
22
Note that date() is a function that returns the current date, that is, today. You can replace that with any expression (variable, field, etc.) that contains a date.

>hi,
>thank you for reply,
>
>i get error messages,
>? CMONTH(DATE()) + ' ' + TRANSFORM(YEAR(DATE))
>1.date not found
>*********************************
>
>THISFORM.TEXT3.VALUE=CMONTH(THISFORM.TEXT3.VALUE) + ' ' + TRANSFORM(YEAR(THISFORM.TEXT3.VALUE))
>2.Function argument value, type, or count is invalid
>
>
>regards
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform