Results 1 to 2 of 2
  1. #1
    wwjd80 is offline Novice
    Windows 7 Access 2007
    Join Date
    Jun 2010
    Posts
    1

    Default value for cascading combo box

    I have a database to keep track of employees' hours worked on projects for billing purposes (i.e. employee x worked 5 hours on project=excel for client=microsoft). These are referred to as 'Daily Tasks.'

    I have a form that allows employees to enter new Daily Tasks or update old ones. I have a cascading combo box, called 'cboProjectID,' that queries based on on the client selected. It works correctly when entering a new record.

    The problem is when updating a record. The projects box is blank when switching between records.



    Comment: I have the query run when the combo box is brought into focus.

    Is it possible to have the combo box display the value if it exists (like the default value)?

    Thanks for any help! Let me know what files or code I need to attach.

  2. #2
    llkhoutx is offline Competent Performer
    Windows Vista Access 2007
    Join Date
    Jan 2010
    Location
    Houston, Texas USA
    Posts
    373
    The conbo box field has "Default" property. Set that property to display a default value.

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

Similar Threads

  1. Default Value for Cascading Combo Box
    By P5C768 in forum Forms
    Replies: 3
    Last Post: 05-06-2010, 03:50 PM
  2. cascading combo
    By rexb in forum Forms
    Replies: 9
    Last Post: 10-26-2009, 04:10 PM
  3. Cascading Combo Boxes
    By desireemm1 in forum Programming
    Replies: 1
    Last Post: 10-05-2009, 06:00 AM
  4. cascading combo form
    By tonysomerset in forum Forms
    Replies: 0
    Last Post: 08-27-2008, 02:10 AM
  5. Cascading Combo Box
    By nywi6100 in forum Forms
    Replies: 0
    Last Post: 10-23-2006, 01:45 PM

Tags for this Thread

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