Results 1 to 2 of 2
  1. #1
    Tawny is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jun 2012
    Posts
    1

    Using two fields in a table to to populate a third field

    Hi,

    I am very new to access and I am trying to create a database/ registration form for a charity boxing match.
    I would like to enter the gender (which i have created a list box for male or female) and the weight, and based upon those entries have access automatically populate the weight class field. Is this possible?

    Thanks,
    Tawny

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Yes, requires VBA code. Can use DLookup function in an event procedure. The trick is figuring out which event to use. Alternative is to not save the class but to do the lookup whenever needed.
    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.

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

Similar Threads

  1. Replies: 3
    Last Post: 02-02-2012, 09:48 AM
  2. Replies: 4
    Last Post: 01-30-2012, 08:32 AM
  3. Fields populate based on another field
    By jlclark4 in forum Forms
    Replies: 3
    Last Post: 12-27-2011, 05:21 PM
  4. Replies: 3
    Last Post: 10-06-2010, 06:33 AM
  5. Populate one field based upon another fields data
    By BigBrownBear in forum Queries
    Replies: 1
    Last Post: 03-23-2010, 04:27 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