H
Hubert
Are the field names used with the Restrict/Find method
language-sensitive?
I have some code that uses the restrict method to find
specific contacts based on LastName, FirstName, MiddleName
or Company...
Set olkContacts = olkContactFolder.Items.Restrict
("[LastName] = '" & strFindText & "'")
This code works fine on my English system but not for my
German users (They get an error message 'Die
Eigenschaft "LastName" ist nicht bekannt'--which I think
translates to 'the property "LastName" is not known').
Is there anyway around this other than to first determine
the OS language and then generate the criteria for the
Restrict method in each language? [I may also need to do
this in a few other countries].
language-sensitive?
I have some code that uses the restrict method to find
specific contacts based on LastName, FirstName, MiddleName
or Company...
Set olkContacts = olkContactFolder.Items.Restrict
("[LastName] = '" & strFindText & "'")
This code works fine on my English system but not for my
German users (They get an error message 'Die
Eigenschaft "LastName" ist nicht bekannt'--which I think
translates to 'the property "LastName" is not known').
Is there anyway around this other than to first determine
the OS language and then generate the criteria for the
Restrict method in each language? [I may also need to do
this in a few other countries].