Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Num to str
Message
From
24/09/2007 03:59:25
 
 
To
24/09/2007 03:42:42
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01256184
Message ID:
01256190
Views:
15
>Dear Sir,
>
>It shows
>File cmonth.prg does not exists


What version of VFP are you using? The line of code Al has given does work correctly. Just try this in the command window as a simple test with literal values for year and month:
?SUBSTR( CMONTH( EVALUATE( "{^2007-" + LTRIM( STR( 9 ) ) + "-01}" ) ), 1, 3 ) + "-" + LTRIM( STR( 2007 ) )
Does that work?
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Reply
Map
View

Click here to load this message in the networking platform