Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert date to character
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01331891
Message ID:
01331947
Views:
12
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform