Results 1 to 2 of 2

Thread: Vb2008 crystal report

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2011
    Posts
    25

    Vb2008 crystal report

    I'm working on a sales report, my date field is on MySql Format(yyyy-MM-dd)
    I have this month in my formula fields
    Code:
    month({tbl_pos.date})
    At the chart, the month displays 1.00, 2.00 which is equal to January and February, I need to know how to remove that decimal it's annoying

  2. #2
    Hyperactive Member
    Join Date
    Jul 2007
    Posts
    479

    Re: Vb2008 crystal report

    Try
    Code:
    Format(month({tbl_pos.date}),'#')
    or

    Code:
    Format(month({tbl_pos.date}),0)
    I can't remember the exact syntax but it is searchable on the MS website.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width