Results 1 to 2 of 2
  1. #1
    new_to_access is offline Novice
    Windows XP Access 2007
    Join Date
    Apr 2011
    Posts
    1

    form field

    How can I create a form field when it generates automatic information when data is entered in a previous field?



    For instance:

    If on field 1 I enter 001 than field 2 should automatically show a

    If on field 1 I enter 002 than field 2 should automatically show b

    Thanks!

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,640
    You can use the after update event of the first control to set the second. Based on your simple example you'd use an IIf(). I suspect your real situation is more complicated.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. ID field autofilling text field on another form
    By ledmark in forum Programming
    Replies: 0
    Last Post: 03-24-2011, 10:12 PM
  2. Replies: 7
    Last Post: 01-12-2011, 08:59 AM
  3. Replies: 9
    Last Post: 12-15-2010, 01:44 PM
  4. Replies: 1
    Last Post: 11-13-2010, 12:57 PM
  5. Replies: 3
    Last Post: 11-05-2010, 03:10 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