Wayne1158 Posted September 16, 2006 Posted September 16, 2006 this is probably an easy one. I need to place IP addresses into a field. Can I format the field so that the numbers are entered like ###.###.###.### of course not all IP addresses have three numbers in each section so hopefully it will not ask for three numbers if there is only one. But would be nice just to get the . automatically entered. Whats the best way to do this?
comment Posted September 16, 2006 Posted September 16, 2006 If you mean that the user should enter for example "123456789" and Filemaker would automatically insert periods at the appropriate places, then no. You would need a mind-reading machine for that.
IdealData Posted September 16, 2006 Posted September 16, 2006 Why not split the ip address into the component octets? You could use a calculation to generate the full address from the components.
Wayne1158 Posted September 17, 2006 Author Posted September 17, 2006 Yes thats a good idea, have done that however stuck on the calculation part. All I need to do is display the four octects with a period between each octect. Any ideas on that?
IdealData Posted September 17, 2006 Posted September 17, 2006 Place physical stops on the layout between the octets. The full address should be recorded in a calculation: IPAddress = octet1 & "." octet2 & "." & octet3 & "." & octet4 Note that the octets should be TEXT (not numbers) to make sure the string concatenation works properly.
Recommended Posts
This topic is 6700 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now