Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert date to character
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Divers
Thread ID:
01331891
Message ID:
01331947
Vues:
11
>problem in this code, for dayn(date). How i can use dtoc for date converting in character. thanks
>
......  ALLTRIM(CAST("Daily attenddance report=>" +DTOC(dayn)+ "Total:"+ALLTRIM(STR(total))+"/A:"+ ALLTRIM(str(A))+"/H:"+ALLTRIM(str(H))+"/L:"+ALLTRIM(STR(L))+"/P:"+ALLTRIM(STR(P))+"/tage:" as CHAR(254))) AS ghttt
>
Is this expression part of SQL command?

If not, I would try the expression separately before casting.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform