Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert cmonth +year
Message
From
25/07/2004 07:14:59
 
 
To
25/07/2004 04:35:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00927668
Message ID:
00927684
Views:
15
Hi Mohammed,

YEAR(DATE()) is a numeric whereas CMONTH(DATE()) is character.

Try CMONTH(DATE()) + ' ' + TRANSFORM(YEAR(DATE))

Ken

>hi all,
>i need to insert month name and year at mytextbox ex.. thisform.text3.value
>i think thisform.text3.value the type must be characters.
>
>i try this code ,i get error message.
>
>i useto calander to insert the cmonth and year via myform
>THISFORM.TEXT3.VALUE=(This.object.value)
>THISFORM.TEXT3.VALUE= CMONTH(THISFORM.TEXT3.VALUE)+YEAR(THISFORM.TEXT3.VALUE)
>
>
>
>regards.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform