Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy to
Message
 
 
À
27/06/2004 11:19:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00917707
Message ID:
00917731
Vues:
12
>Ohh, the coorrect syntax os like this:
>
lcFilename = 'ex'+right(allt(str(year(date()))),2);
>+allt(str(month(date())))+allt(str(day(date())))
>messagebox(lcFilename)
>select mycursor
>copy to &lcFileName
Hi Chaim,

There's no need to use macro substitution and expression to build file name could be simlified. You can combine the first two lines if you wish.
lcDate = DTOS(DATE())
lcFileName = "ex" + SUBSTR(lcDate,5,4) + LEFT(lcDate,4)
copy to (lcFileName)
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform