Results 1 to 4 of 4

Thread: Germen value convert into English

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2005
    Posts
    8

    Thumbs down Germen value convert into English

    i am developing one application which reads values from visio 2000 and store that values into MS Access 2000 using Visual Basic 6.0. This application will execute in all languages. But i got one problem about boolean values, germen visio 2000 (Operating System - Germen) fetches word wahr for true and falsch for false to boolean variable in coding but while inserting this values MS Access does not accept it, it shows error. Is there any solution to tackle this situation? Is unicode is the only solution for this problem? if yes how could convert my code in to unicode format? Pls Reply as early as possible

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Germen value convert into English



    Sorry, that was completely unhelpful, I just had to

    Do you have a way of getting the boolean variable as a number? E.g. 1 for True, 0 for False.

  3. #3
    Frenzied Member
    Join Date
    Oct 2003
    Posts
    1,301

    Re: Germen value convert into English

    What sort of error do you get?

    How are you reading the data from the German visio?
    What datatype is returned by visio? String/boolean/integer?
    Can you get it as another type?

    Why not write a small function which takes a string and returns a boolean.
    Then you test if the string is "wahr".

  4. #4
    KING BODWAD XXI BodwadUK's Avatar
    Join Date
    Aug 2002
    Location
    Nottingham
    Posts
    2,176

    Re: Germen value convert into English

    Yes you should be able to use 1 for true and 0 for false

    If it still goes funny try -1 for false
    If you dribble then you are as mad as me

    Lost World Creations Website (XBOX Indie games)
    Lene Marlin

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