V
Vadim Gerya
Is it possible to make the following code running on English and, for
example, Russian locales correctly
----------
Dim Rejected_ as String
Dim Task_ as Task
...
Rejected_ = FieldNameToFieldConstant("Rejected") ' Rejected - custom field
of "Flag" type ("Yes" or "No")
If Task_.GetField(Rejected_) = "Yes" _
Then
..
End If
----------
The problem is : the string value of Task_.GetField(Rejected) is not "Yes"
or "No" in Russian locale. Value is returned in corresponding locale.
How to avoid such "translation" ??
Special thanks to Rod Gill for the book "VBA Programming for MOP"
example, Russian locales correctly
----------
Dim Rejected_ as String
Dim Task_ as Task
...
Rejected_ = FieldNameToFieldConstant("Rejected") ' Rejected - custom field
of "Flag" type ("Yes" or "No")
If Task_.GetField(Rejected_) = "Yes" _
Then
..
End If
----------
The problem is : the string value of Task_.GetField(Rejected) is not "Yes"
or "No" in Russian locale. Value is returned in corresponding locale.
How to avoid such "translation" ??
Special thanks to Rod Gill for the book "VBA Programming for MOP"