Results 1 to 2 of 2
  1. #1
    LaughingBull is offline Competent Performer
    Windows 8 Access 2003
    Join Date
    Jul 2015
    Location
    Toledo Ohio
    Posts
    143

    Access 2010 Selecting data from a table and auto-filling fields

    I have staff table which is a lookup field on the phone call table.
    when the phonecall form opens I want the employee field to auto fill in the employees name from the lookup field according to there security level.
    so something like this
    On Open
    Select Case Forms!frmLogin!cboUser.Column(4)
    Case X = 4'the employees security level'
    Case X = Insert Table_tblPhoneCalls!EmployeeID"4" into Form_frmPhoneCalls!Employee.
    End Select


    of course this is a syntax error as I do not know the correct code words.

    can any one help
    Click image for larger version. 

Name:	PhoneCalls.jpg 
Views:	9 
Size:	194.4 KB 
ID:	21647

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Doesn't make sense. Exactly what is the business process involved here? User opens form. User selects name in combobox. Then you want what to happen?

    Is this form bound to table? Is the combobox bound to field?
    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. Auto-filling data
    By Ranger7913 in forum Programming
    Replies: 3
    Last Post: 01-12-2015, 03:26 PM
  2. Replies: 3
    Last Post: 07-24-2014, 01:22 PM
  3. Replies: 6
    Last Post: 09-22-2013, 09:52 PM
  4. Replies: 2
    Last Post: 11-17-2012, 10:13 PM
  5. Auto filling form fields
    By adamch29 in forum Forms
    Replies: 1
    Last Post: 07-25-2007, 06:22 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