numeric format using iif function.



I have a text box with the following Control source IIF function. It returns
data such as: record 1500 of 2289; 1501 of 2289; etc.

I would like the numbers to have commas separate thousands. For example, I
would like the return to be 1,500 of 2,228; 1,501 of 2,228, etc. Any
assistance is most welcomed.


=IIf([CurrentRecord]>(Count(*)),'New Record',('Record ' & [CurrentRecord] &
' of ' & Count(*)))


.