PC Review Forums Newsgroups Microsoft Access Microsoft Access VBA Modules Input Mask into Text Box - Phone Number - Help!

Reply

Input Mask into Text Box - Phone Number - Help!

 
Thread Tools Rate Thread
Old 17-03-2006, 09:38 PM   #1
=?Utf-8?B?Q3VydGlzIFN0ZXZlbnM=?=
Guest
 
Posts: n/a
Default Input Mask into Text Box - Phone Number - Help!


I have a text field name phone number. I gave the text box in my forms an
input mask for phone number.

I used this: !\(999") "000\-0000;0;_

It works, but I get customer's info from my online forms and past the info
into my database - all the data is tab delimited, but when I past it which
the data is in this format (111) 123-1234, it comes up with error saying the
value you entered isn't appropriate for the input mask such and such.

Now, the text field in the database is said to TEXT, no format or input
mask. I tried this way, error. I gave it an input make of the same, error.
I tried doing !\(999") "000\-0000;;_ and nothing.

Does all this make sense, thanks for your help!!!!!

Curtis

  Reply With Quote
Old 18-03-2006, 05:31 AM   #2
strive4peace
Guest
 
Posts: n/a
Default Re: Input Mask into Text Box - Phone Number - Help!

perhaps you are picking up a space/tab before or after the
phone number...

how are you doing the paste?

Have an awesome day

Warm Regards,
Crystal

MVP Microsoft Access

remote programming and training
strive4peace2006 at yahoo.com


Curtis Stevens wrote:
> I have a text field name phone number. I gave the text box in my forms an
> input mask for phone number.
>
> I used this: !\(999") "000\-0000;0;_
>
> It works, but I get customer's info from my online forms and past the info
> into my database - all the data is tab delimited, but when I past it which
> the data is in this format (111) 123-1234, it comes up with error saying the
> value you entered isn't appropriate for the input mask such and such.
>
> Now, the text field in the database is said to TEXT, no format or input
> mask. I tried this way, error. I gave it an input make of the same, error.
> I tried doing !\(999") "000\-0000;;_ and nothing.
>
> Does all this make sense, thanks for your help!!!!!
>
> Curtis
>

  Reply With Quote
Old 18-03-2006, 06:40 AM   #3
=?Utf-8?B?Q3VydGlzIFN0ZXZlbnM=?=
Guest
 
Posts: n/a
Default Re: Input Mask into Text Box - Phone Number - Help!

I open up my table, go to the very bottom or click the >* button. Click on
the far left column, what do you call it? When you click on it, it selects
that row, I then hit paste....


> perhaps you are picking up a space/tab before or after the
> phone number...
>
> how are you doing the paste?
>

  Reply With Quote
Old 18-03-2006, 07:47 AM   #4
strive4peace
Guest
 
Posts: n/a
Default Re: Input Mask into Text Box - Phone Number - Help!

the left box is called the record selector

if you pasted the field in alone, it would be okay, but the
InputMask is interferring... you say you deleted the
InputMask from your table design?

Have an awesome day

Warm Regards,
Crystal

MVP Microsoft Access

remote programming and training
strive4peace2006 at yahoo.com


Curtis Stevens wrote:
> I open up my table, go to the very bottom or click the >* button. Click on
> the far left column, what do you call it? When you click on it, it selects
> that row, I then hit paste....
>
>
>
>>perhaps you are picking up a space/tab before or after the
>>phone number...
>>
>>how are you doing the paste?
>>

  Reply With Quote
Old 18-03-2006, 08:20 AM   #5
=?Utf-8?B?Q3VydGlzIFN0ZXZlbnM=?=
Guest
 
Posts: n/a
Default Re: Input Mask into Text Box - Phone Number - Help!

Record selector, geeze, I need to go to bed!

Yes, Phone number field in my database has no inpdut mask, all those
settings are blank, input, format, etc.

Curtis


> the left box is called the record selector
>
> if you pasted the field in alone, it would be okay, but the
> InputMask is interferring... you say you deleted the
> InputMask from your table design?
>

  Reply With Quote
Old 18-03-2006, 05:12 PM   #6
strive4peace
Guest
 
Posts: n/a
Default Re: Input Mask into Text Box - Phone Number - Help!

Hi Curtis,

Perhaps there is another way to transfter the data... how
are you getting the info to copy and paste?

Have an awesome day

Warm Regards,
Crystal

MVP Microsoft Access

remote programming and training
strive4peace2006 at yahoo.com


Curtis Stevens wrote:
> Record selector, geeze, I need to go to bed!
>
> Yes, Phone number field in my database has no inpdut mask, all those
> settings are blank, input, format, etc.
>
> Curtis
>
>
>
>>the left box is called the record selector
>>
>>if you pasted the field in alone, it would be okay, but the
>>InputMask is interferring... you say you deleted the
>>InputMask from your table design?
>>

  Reply With Quote
Old 19-03-2006, 07:11 AM   #7
=?Utf-8?B?Q3VydGlzIFN0ZXZlbnM=?=
Guest
 
Posts: n/a
Default Re: Input Mask into Text Box - Phone Number - Help!

I use a php form and the only would I could figure out to do it that was
possible for me is all the data is tab delimited. Like take all the fields
in excel, insert values, past that in an email and that is how the data comes
in, data tabbed, so each one represents a field space or whatever you call
it. So when you copy & past, it pastes the info into the fields, but
apparently isn't taking mine saying not the right format. But if the forms
have an input maks, I wouldn't think this has anything to do with pasting
data into the TABLE?

Thanks
Curtis

> Perhaps there is another way to transfter the data... how
> are you getting the info to copy and paste?
>
> Have an awesome day
>

  Reply With Quote
Old 20-03-2006, 06:56 PM   #8
strive4peace
Guest
 
Posts: n/a
Default Re: Input Mask into Text Box - Phone Number - Help!

I agree, if you do not have an InputMask in the table, there
should not be a problem... how long it the Phone field
defined to be?

why not import the data from the text file and use an Append
query to move it? Then you can skip the Excel step

Copying and pasting is not the best way to do this...


Have an awesome day

Warm Regards,
Crystal

MVP Microsoft Access

remote programming and training
strive4peace2006 at yahoo.com


Curtis Stevens wrote:
> I use a php form and the only would I could figure out to do it that was
> possible for me is all the data is tab delimited. Like take all the fields
> in excel, insert values, past that in an email and that is how the data comes
> in, data tabbed, so each one represents a field space or whatever you call
> it. So when you copy & past, it pastes the info into the fields, but
> apparently isn't taking mine saying not the right format. But if the forms
> have an input maks, I wouldn't think this has anything to do with pasting
> data into the TABLE?
>
> Thanks
> Curtis
>
>
>>Perhaps there is another way to transfter the data... how
>>are you getting the info to copy and paste?
>>
>>Have an awesome day
>>

  Reply With Quote
Old 20-03-2006, 08:00 PM   #9
=?Utf-8?B?Q3VydGlzIFN0ZXZlbnM=?=
Guest
 
Posts: n/a
Default Re: Input Mask into Text Box - Phone Number - Help!

Crystal,

To make sure we are on the same page, I don't use Excel, was trying to
explain how the data comes to me. Type in a letter in a bunch of colums, but
the same row. Then select all those colums/same row and paste it into a
plain email, that is how it comes. So I just select all the text, hit the
record selector in my table and paste. I don't know of any other way to do
it that would be more automated?

In short, that is how the data comes to me in my, I copy and paste into my
table. Couple of clicks.

Curtis

> I agree, if you do not have an InputMask in the table, there
> should not be a problem... how long it the Phone field
> defined to be?
>
> why not import the data from the text file and use an Append
> query to move it? Then you can skip the Excel step
>
> Copying and pasting is not the best way to do this...
>
>
> Have an awesome day
>
> Warm Regards,
> Crystal
>
> MVP Microsoft Access
>
> remote programming and training
> strive4peace2006 at yahoo.com
>
>
> Curtis Stevens wrote:
> > I use a php form and the only would I could figure out to do it that was
> > possible for me is all the data is tab delimited. Like take all the fields
> > in excel, insert values, past that in an email and that is how the data comes
> > in, data tabbed, so each one represents a field space or whatever you call
> > it. So when you copy & past, it pastes the info into the fields, but
> > apparently isn't taking mine saying not the right format. But if the forms
> > have an input maks, I wouldn't think this has anything to do with pasting
> > data into the TABLE?
> >
> > Thanks
> > Curtis
> >
> >
> >>Perhaps there is another way to transfter the data... how
> >>are you getting the info to copy and paste?
> >>
> >>Have an awesome day
> >>

>

  Reply With Quote
Old 20-03-2006, 08:04 PM   #10
=?Utf-8?B?Q3VydGlzIFN0ZXZlbnM=?=
Guest
 
Posts: n/a
Default Re: Input Mask into Text Box - Phone Number - Help!

Thanks Crystal, got it figured out now.

I just changed the format of the numbers that I copy from my emails. My
forms are setup to send the numbers in this format (123) 123-1234 so that was
problem, just change it to 1231231234 and it works just fine. I changed the
input mask of the table to phone number format too as well as the forms so it
looks like a number & no prob!

Curtis

  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off