![]() ![]() ![]() Hence, if the first portion of the IP address is 10., the function returns the value 3. The InStr function examines each value in the IPAddress field and returns the position of the first period. ![]() ) in a field that contains IP addresses (named IPAddress), you can use InStr to find it, like so: For example, if you want to find the position of the first period (. Use the InStr function in an expression You can use InStr wherever you can use expressions. Instead of returning the character position of the first occurrence of one string within another, InStrB returns the byte position. The InStrB function is used with byte data contained in a string. Performs a comparison based on information in your database. Performs a comparison using the setting of the Option Compare statement. Tip: In Access 2010, the Expression Builder has IntelliSense, so you can see what arguments your expression requires.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |