Question - Input Masks on Forms and Tables 
Author Message
 Question - Input Masks on Forms and Tables

Specific to Phone Numbers: how do I display the dashes in the form
without saving them in the table?


Tue, 03 May 2005 09:21:31 GMT  
 Question - Input Masks on Forms and Tables
You just want to display the values that are already in a table?

Bind your form to a query that is based on your table. Add a calculated
field to the query that has this expression (or something similar):

    DashPhone: Left([PhoneNumField], 3) & "-" & Mid([PhoneNumField], 3) &
"-" & Right([PhoneNumField], 4)

Then bind the textbox on the form to this field.
--
Hoping that this is helpful...
       Ken Snell
<MS ACCESS MVP>


Quote:
> Specific to Phone Numbers: how do I display the dashes in the form
> without saving them in the table?



Tue, 03 May 2005 12:44:12 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. ??? different input masks in continuous form lines

2. easy question on Input Masks

3. Input Mask for HTML Form text Boxes???

4. What I hope is any easy question about Input Masks

5. Checking user input in form against table

6. Input Data from Single Form into Two Linked Tables

7. Form input to letter - newbie question

8. Input Mask error

9. Add input mask to INPUTBOX function

10. Email Input Mask

11. Masking a Input Box

12. Input Mask

 

 
Powered by phpBB® Forum Software