Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Show date
Message
From
03/05/2005 06:37:14
 
 
To
03/05/2005 06:28:29
Alfred Roa
Ebs Accounting Software Solutions
Cagayan de Oro City, Philippines
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 7
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01008726
Message ID:
01010420
Views:
18
hi,
thank you for reply.
it works.
best regards.
m.qasem
>Because, you are trying to concatenate a value having different data types, (1) cmonth() function - date (2) val(year()) function - Val- is numerical function, while, year - is a date function. This will give you a operator/operand type mismatch error.
>
>var1 = cmonth(date())
>var2 = year(date())
>
>n = var1+' '+alltrim(str(var2))
>
>n = May 2005
Previous
Reply
Map
View

Click here to load this message in the networking platform