By Richard Rost 4 months ago
Storing IP Addresses in Access, No Dups, Sort
In this Microsoft Access tutorial, I will teach you how to properly store IP addresses. I will show you how to prevent duplicate values yet also how to sort the list numerically. I'm going to show you two different ways to accomplish this. In the first video will split the IP address up into four separate fields and then in the extended cut for the members we'll store it as a single text field and split it up with functions.
Dan from Sacramento, California (a Gold Member) asks: I need to have a list of IP addresses that is searchable. I cannot have duplicate values. If I split the IP address into 4 separate fields, then I can't use Indexed (No Duplicates). If I enter the full IP address as a text field, then the sort is wrong (192.168.1.100 comes before 192.168.1.2). What is the best way to accomplish this?
Members will learn how to store the IP address in a single text field and use the split function to break it up into its four component values.
Silver Members and up get access to view Extended Cut videos, when available. Gold Members can download the database template from class plus get access to the Code Vault. If you signed up on YouTube you have to register on my YouTube Find User page so I can set up your account here on my web site. If you're not a member, Join Today!
access 2016, access 2019, access 2021, access 365, microsoft access, ms access, ms access tutorial, #msaccess, #microsoftaccess, #help, #howto, #tutorial, #learn, #lesson, #training, #database, how to properly store IP addresses in Microsoft Access, split IP address, sort IP addresses
Subscribe to IP Addresses
Get notifications when this page is updated