Currency Format Issue

burrina

Registered User.
Local time
Today, 05:20
Joined
May 10, 2014
Messages
972
I don't know what syntax I need to show this as currency. The query that it looks up displays it as Currency?
PHP:
DocPay: Nz(DLookUp("[DocPay]","qryEmployeeHours"))
 
It could be the Nz() function is converting it to text since you didn't specify. Try

DocPay: Nz(DLookUp("[DocPay]","qryEmployeeHours"), 0)
 
Thanks Plog and Paul

Result:
PHP:
=CCur(DLookUp("Nz([DocPay],0)","qryEmployeeHours"))
 

Users who are viewing this thread

Back
Top Bottom