Results 1 to 4 of 4

Thread: VB6 + SP3+ ODBC = Decimal Problem

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2010
    Posts
    14

    VB6 + SP3+ ODBC = Decimal Problem

    I have a problem with decimals in Crystal Report 8.0.1. We are migrating to .Net, but,
    meanwhile, I need to solve some problems with my old programs.

    The problem is that when I call the report from vb6 the report does not show decimals.
    16.73 looks like 16.00.

    In preview from Crystal Reports works perfectly. That problem happens only when I call the rpt
    file from vb6.

    I´m from Brazil, and my regional settings are set to our country. Here, the decimal separator is
    "," (comma) and Thousand separator "." (dot).

    If I change regional settings to English (USA) it works. But I can´t and I should not do this to 200 hundred computers spread through our 24 states.

    I´ve tried to change the decimal character by using
    ...SetLocaleInfo Lib "kernel32" Alias "SetLocaleInfoA"...

    and it changes the symbol, but the report still don´t works.

    Does anyone have any clue?

    Thanks
    Last edited by mcardia; Aug 12th, 2010 at 12:31 PM.

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