PC Review


Reply
Thread Tools Rate Thread

combine display of IP address segments

 
 
=?Utf-8?B?SGFycnk=?=
Guest
Posts: n/a
 
      31st Aug 2006
In my form, I have a section to enter in a customer's IP address. I have four
text boxes and each one is setup to accept byte-sized numbers. I want to
combine the display of these numbers into one column with the "dots" placed
appropriately. For example, making this:

IP IP2 IP3 IP4
192 68 3 239

look like this:

IP address
192.68.3.239
 
Reply With Quote
 
 
 
 
=?Utf-8?B?TWljaGFlbCBI?=
Guest
Posts: n/a
 
      31st Aug 2006
Add an unbound TextBox to your form. Set the Control Source to something
like this:
=[IP] & "." & [IP2] & "." & [IP3] & "." & [IP4]

-Michael



"Harry" wrote:

> In my form, I have a section to enter in a customer's IP address. I have four
> text boxes and each one is setup to accept byte-sized numbers. I want to
> combine the display of these numbers into one column with the "dots" placed
> appropriately. For example, making this:
>
> IP IP2 IP3 IP4
> 192 68 3 239
>
> look like this:
>
> IP address
> 192.68.3.239

 
Reply With Quote
 
=?Utf-8?B?SGFycnk=?=
Guest
Posts: n/a
 
      31st Aug 2006
Thanks for your help. There is just one more thing that I neglected to
mention. I want to save this display of these four IP columns into another
column to be used later in a simple report in Excel. Would this require a
different approach?

"Michael H" wrote:

> Add an unbound TextBox to your form. Set the Control Source to something
> like this:
> =[IP] & "." & [IP2] & "." & [IP3] & "." & [IP4]
>
> -Michael
>
>
>
> "Harry" wrote:
>
> > In my form, I have a section to enter in a customer's IP address. I have four
> > text boxes and each one is setup to accept byte-sized numbers. I want to
> > combine the display of these numbers into one column with the "dots" placed
> > appropriately. For example, making this:
> >
> > IP IP2 IP3 IP4
> > 192 68 3 239
> >
> > look like this:
> >
> > IP address
> > 192.68.3.239

 
Reply With Quote
 
=?Utf-8?B?TWljaGFlbCBI?=
Guest
Posts: n/a
 
      31st Aug 2006
You should not be saving this calculated data into a new field. Doing so is
a violation of basic normalization. If you want to see the entire IP address
in one field in Excel, include the calculated field in a Query, and export
that Query to Excel.

-Michael


"Harry" wrote:

> Thanks for your help. There is just one more thing that I neglected to
> mention. I want to save this display of these four IP columns into another
> column to be used later in a simple report in Excel. Would this require a
> different approach?
>
> "Michael H" wrote:
>
> > Add an unbound TextBox to your form. Set the Control Source to something
> > like this:
> > =[IP] & "." & [IP2] & "." & [IP3] & "." & [IP4]
> >
> > -Michael
> >
> >
> >
> > "Harry" wrote:
> >
> > > In my form, I have a section to enter in a customer's IP address. I have four
> > > text boxes and each one is setup to accept byte-sized numbers. I want to
> > > combine the display of these numbers into one column with the "dots" placed
> > > appropriately. For example, making this:
> > >
> > > IP IP2 IP3 IP4
> > > 192 68 3 239
> > >
> > > look like this:
> > >
> > > IP address
> > > 192.68.3.239

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I combine Outlook address books? Cindi Microsoft Outlook Contacts 1 29th Oct 2008 09:57 PM
how do I combine address book into contacts? =?Utf-8?B?c3RpZnRhcA==?= Microsoft Outlook Contacts 1 18th Sep 2005 04:43 AM
Re: How do I combine data from two cells and display them as nn:nn in. Peo Sjoblom Microsoft Excel Misc 0 3rd Sep 2004 04:47 PM
combine address books? Jill Microsoft Outlook Discussion 1 17th Jan 2004 04:48 PM
combine address books into one =?Utf-8?B?Y3l0bW9t?= Microsoft Outlook Contacts 0 7th Nov 2003 08:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:26 PM.