Results 1 to 7 of 7

Thread: Creating an Input mask in Access

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    455
    Dear Vb users,

    How do I create an Input mask in my field.

    Set DB = CreateDatabase(DbSetting, dbLangGeneral)
    Set TD = DB.CreateTableDef("MyTable")
    With TD
    .Fields.Append .CreateField("MyField"), dbText)
    End With

    How do I get an input mask for field "MyField??????

    Nice greetings,

    Michelle.

  2. #2
    Fanatic Member Ianpbaker's Avatar
    Join Date
    Mar 2000
    Location
    Hastings
    Posts
    696

    Lightbulb

    Hello Michelle
    There are several Ways You can create input masks.
    One:

    If your text field is bound to the field, go to the properties of it and click on the Data tab. In there is a setting to set up the mask.

    Two:

    If it isn't bound to the field you can set up the input mask in The design of the table (click on the field you want and half way down the property list is the input mask

    If you need any more help on creating a specific mask reply back.

    Good Luck
    Ian

    [Edited by Ianpbaker on 04-18-2000 at 10:56 AM]

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    455
    Hello Ianpbaker,

    Thanks for helping me.

    In VB I want to create an Input Mask for a field-table

    Nice regards,

    Michelle.

  4. #4
    Fanatic Member Ianpbaker's Avatar
    Join Date
    Mar 2000
    Location
    Hastings
    Posts
    696

    Wink

    Hello Michelle

    Could you please explain more about your input mask as I don't quite understand what you mean by field-table

    Cheers

    Ian

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    455

    Smile

    Hello, Ianpbaker

    If you start the office program MS ACCESS, you have the possibility to design your table.
    In the table design you are seeing in the general tab the choice: "Input Mask"
    Most of these properties I can set in VB. a Big question is how to set the "Input Mask"

    Do you know the answer???

    Thanks for reading my question.

    Thanks,

    Michelle.

  6. #6
    Fanatic Member Ianpbaker's Avatar
    Join Date
    Mar 2000
    Location
    Hastings
    Posts
    696

    Talking

    Hi Michelle

    If You select the field that you want to make the input mask for and then click in the input mask text box a three dotted button will appear. Click on it and it will bring up the default masks. If you want to make one of your own click on edit list, goto a new record (the > * button) and create a new one. Most of the mask characters are the same as in VB.

    Good luck
    Ian

  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    455

    Thumbs up

    Hi Ianpbaker,

    Thanks for the information.

    Michelle.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width