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 :thumb:
Re: Germen value convert into English
:lol: :lol: :lol: :lol: :lol:
Sorry, that was completely unhelpful, I just had to :D
Do you have a way of getting the boolean variable as a number? E.g. 1 for True, 0 for False.
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".
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 :)