chris klein
Registered User.
- Local time
- Today, 13:07
- Joined
- Dec 19, 2002
- Messages
- 69
I have application that contains a function which, in turn, passes numeric arguments to the VBA function DLookup()
The function was written and runs fine on a computer with the Windows Regional and Language Option set to English (United States). The Decimal symbol of this setting is a period (.)
I have installed the app in Portugal, where the Windows Regional and Language Option is set to Portuguese (Portugal), and the decimal symbol of that setting is a comma (,)
(d) This confuses DLookup(), which apparently sees the (decimal place) commas and treats them as argument separators. The function aborts to the VBA editor.
(e) Other operations may also be affected by the decimal place separator confusion, but the app has not been fully tested with the Portuguese setting.
(e) Access Help seems to say that the only solution to this is to change the decimal symbol of the Portuguese setting to a period. This is not normal usage in Portugal, and so the user is faced with making the change to a period and back to a comma every time Access is used.
IS THERE ANY BETTER WAY TO HANDLE THIS PROBLEM? Any help appreciated as always from this great World Forums resource.
The function was written and runs fine on a computer with the Windows Regional and Language Option set to English (United States). The Decimal symbol of this setting is a period (.)
I have installed the app in Portugal, where the Windows Regional and Language Option is set to Portuguese (Portugal), and the decimal symbol of that setting is a comma (,)
(d) This confuses DLookup(), which apparently sees the (decimal place) commas and treats them as argument separators. The function aborts to the VBA editor.
(e) Other operations may also be affected by the decimal place separator confusion, but the app has not been fully tested with the Portuguese setting.
(e) Access Help seems to say that the only solution to this is to change the decimal symbol of the Portuguese setting to a period. This is not normal usage in Portugal, and so the user is faced with making the change to a period and back to a comma every time Access is used.
IS THERE ANY BETTER WAY TO HANDLE THIS PROBLEM? Any help appreciated as always from this great World Forums resource.