Formating fields in a report

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chengsi
    New Member
    • Oct 2006
    • 15

    #1

    Formating fields in a report

    Hi all,

    I have used a cross-tab query combining some text and number fields to generate a report. Unfortunately, the cross-tab query results in all fields being classified as TEXT fields and I have no way of avoiding the cross-tab query.

    Hence, does anyone know how to format a TEXT field such as '1234567' into '1,234,567' in a report?

    Cheers.
  • NeoPa
    Recognized Expert Moderator MVP
    • Oct 2006
    • 32669

    #2
    Use the Val() function (or CDbl(); CLng(); etc if preferred)
    Then set Fromat property obviously.

    Comment

    Working...