Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Num to str
Message
De
24/09/2007 03:59:25
 
 
À
24/09/2007 03:42:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01256184
Message ID:
01256190
Vues:
14
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform