Results 1 to 3 of 3
  1. #1
    ped's Avatar
    ped is offline Advanced Beginner
    Windows Vista Access 2010 64bit
    Join Date
    Aug 2011
    Posts
    51

    Make Form textbox Default Value & also Type of Data

    How can i make users enter numbers only in the textbox1 in form1. this textbox is unbound.
    Also how can i enter default value...like (Click here to enter x value)


    Thanks for helping.
    Pedie

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,822
    Look at the textbox ValidationRule property. Could have something like:
    <1000 or Is Null

    Then in ValidationText property, give users a message like: Must enter number less than 1000.

    There is also DefaultValue property.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    ped's Avatar
    ped is offline Advanced Beginner
    Windows Vista Access 2010 64bit
    Join Date
    Aug 2011
    Posts
    51
    June7, thanks.... perfect!!! got it! working now...
    Quote Originally Posted by June7 View Post
    Look at the textbox ValidationRule property. Could have something like:
    Quote Originally Posted by June7 View Post
    <1000 or Is Null

    Then in ValidationText property, give users a message like: Must enter number less than 1000.

    There is also DefaultValue property.


Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 7
    Last Post: 03-04-2011, 12:46 PM
  2. change data type in make table query
    By jgelpi16 in forum Queries
    Replies: 2
    Last Post: 01-26-2011, 09:37 AM
  3. Replies: 4
    Last Post: 01-05-2011, 07:56 AM
  4. Replies: 1
    Last Post: 12-17-2010, 04:25 PM
  5. Replies: 3
    Last Post: 06-27-2009, 03:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums