Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
  1. #16
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,972
    Don't think writing code to build form or report will really be very helpful in understanding how things work.



    Creative solution for the cascading combobox. Can't recall ever seeing it or having thought of it.

    Instead of building a query object for combobox RowSource, I would put the SQL statement directly in the property.
    SELECT ProdID_PK, ProdName FROM tblProducts WHERE IndID_FK=[cboIndID] ORDER BY ProdName;
    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.

  2. #17
    recyan's Avatar
    recyan is offline Expert
    Windows 2K Access 2000
    Join Date
    Dec 2011
    Posts
    662
    Quote Originally Posted by June7 View Post
    Creative solution for the cascading combobox. Can't recall ever seeing it or having thought of it.
    Got it from here ( ContinuousCombo.zip )

    http://www.databasedevelopment.co.uk/examples.htm

    via

    http://www.access-programmers.co.uk/...d.php?t=189741

    Thanks

  3. #18
    recyan's Avatar
    recyan is offline Expert
    Windows 2K Access 2000
    Join Date
    Dec 2011
    Posts
    662
    Quote Originally Posted by recyan View Post
    Am attaching TestDB_1 as an example ( Still fiddling around with combo boxes with my friend Google ).
    1) When I enter a New Customer Record, why does the Industry & Product display the previous Entered Values for the Previous Record.
    2) Why does tabbing not work ?
    Perhaps cannot be accomplished or just a matter of a few tweaks ?

    Thanks
    1) Managed to solve it by putting the query for cboInd in the On Current event of the Form.

    2) Still breaking my head with this.

    Thanks

  4. #19
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,972
    Change the TabIndex property of the controls to: 0, 1, 2
    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.

  5. #20
    recyan's Avatar
    recyan is offline Expert
    Windows 2K Access 2000
    Join Date
    Dec 2011
    Posts
    662
    Thanks June.
    That works fine.

    Thanks

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 3
    Last Post: 07-15-2014, 03:28 PM
  2. Replies: 18
    Last Post: 04-16-2014, 11:45 AM
  3. Replies: 1
    Last Post: 06-29-2012, 01:22 PM
  4. Lookup values after entering data in form
    By Hulkdog in forum Forms
    Replies: 2
    Last Post: 01-23-2012, 12:31 PM
  5. Replies: 1
    Last Post: 03-27-2010, 06:13 AM

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