J
Jim/Chris
This will capatize the first letter of every word in a form
Me![fieldname] = StrConv(Me![fieldname],3)
Full explanation
Returns a Variant (String) converted as specified.
Syntax
StrConv(string, conversion, LCID)
The StrConv function syntax has these named arguments:
Part Description
string Required. String expression to be converted.
conversion Required. Integer. The sum of values specifying
the type of conversion to perform.
LCID Optional. The LocaleID, if different than the system
LocaleID. (The system LocaleID is the default.)
Settings
The conversion argument settings are:
Constant Value Description
vbUpperCase 1 Converts the string to uppercase
characters.
vbLowerCase 2 Converts the string to lowercase
characters.
vbProperCase 3 Converts the first letter of every
word in string to uppercase.
vbWide* 4* Converts narrow (single-byte)
characters in string to wide (double-byte) characters.
vbNarrow* 8* Converts wide (double-byte)
characters in string to narrow (single-byte) characters.
vbKatakana** 16** Converts Hiragana characters in string
to Katakana characters.
vbHiragana** 32** Converts Katakana characters in string
to Hiragana characters.
vbUnicode 64 Converts the string to Unicode using
the default code page of the system. (Not available on the
Macintosh.)
vbFromUnicode 128 Converts the string from Unicode
to the default code page of the system. (Not available on
the Macintosh.)
Jim
Me![fieldname] = StrConv(Me![fieldname],3)
Full explanation
Returns a Variant (String) converted as specified.
Syntax
StrConv(string, conversion, LCID)
The StrConv function syntax has these named arguments:
Part Description
string Required. String expression to be converted.
conversion Required. Integer. The sum of values specifying
the type of conversion to perform.
LCID Optional. The LocaleID, if different than the system
LocaleID. (The system LocaleID is the default.)
Settings
The conversion argument settings are:
Constant Value Description
vbUpperCase 1 Converts the string to uppercase
characters.
vbLowerCase 2 Converts the string to lowercase
characters.
vbProperCase 3 Converts the first letter of every
word in string to uppercase.
vbWide* 4* Converts narrow (single-byte)
characters in string to wide (double-byte) characters.
vbNarrow* 8* Converts wide (double-byte)
characters in string to narrow (single-byte) characters.
vbKatakana** 16** Converts Hiragana characters in string
to Katakana characters.
vbHiragana** 32** Converts Katakana characters in string
to Hiragana characters.
vbUnicode 64 Converts the string to Unicode using
the default code page of the system. (Not available on the
Macintosh.)
vbFromUnicode 128 Converts the string from Unicode
to the default code page of the system. (Not available on
the Macintosh.)
Jim