Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Format a field
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00614587
Message ID:
00614588
Views:
20
You can use NTOM() function.
>hello,
> Could anyone help me out on the syntax for formating a field in a sql select statment? This is the sql statememt:
*--sb-- added NTOM() function to convert Total column to Currency
>select NTOM(sum(iif(test > 0, test,0))) as total ;
>       from dummy ;
>       where id = > 0;
>       into cursor temp
>I want to format the field "total" in a currency format. What is the syntax for that?? thanks.
>sherry
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform