Results 1 to 4 of 4
  1. #1
    cp1981 is offline Advanced Beginner
    Windows 7 64bit Office 365
    Join Date
    Jul 2014
    Location
    Northeast Missouri
    Posts
    33

    Missing Something for Cascading?

    Probably going to get ridiculed for posting this.

    I Open my form, click on the combo, list drops, i select, I have nothing in the listbox.

    Initially, the list shows up. Once I click on what I select, the list disappears. The combo selection remains in the box.

    Query- qryAcctEquip
    Form- frmNewServiceCalls
    Combo- cboAccountName (Unbound)
    List- lstEquipmentName (Unbound)
    Hidden Text Box- txtEquipment (Unbound)

    ListBox RowSource
    Click image for larger version. 

Name:	access_lstEquipmentRowSource.png 
Views:	17 
Size:	5.4 KB 
ID:	51656


    Event for ComboBox
    Click image for larger version. 

Name:	AccessForum_CboAccountAfterUpdate.png 
Views:	17 
Size:	5.8 KB 
ID:	51657


    ComboBox RowSource
    Click image for larger version. 

Name:	AccessForum_CboAccountRowSource.png 
Views:	17 
Size:	7.1 KB 
ID:	51658

    Query SQL



    Click image for larger version. 

Name:	AccessForum_qryAcctEquipSQL.png 
Views:	17 
Size:	5.7 KB 
ID:	51659


    Hidden Textbox Code
    Click image for larger version. 

Name:	AccessForum_txtEquipmentOnClick.png 
Views:	17 
Size:	31.1 KB 
ID:	51660

    I'm at a loss. What's aggravating is I virtually have the same set up for another combo/listbox filter. Only in the "AfterUpdate" event for the combo, it comes from a table and not a query.
    Wheres my problem?

  2. #2
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    4,945
    You say the combo is called cboAccountName but you use cboAccount for the listbox?
    I tend to put SQL code into a string variable so then I can debug.print it to make sure it is correct, then use where needed.

  3. #3
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,803
    You don't have an operator in the event code, like AccountName =
    or whatever it should be.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  4. #4
    davegri's Avatar
    davegri is offline Excess Access
    Windows 11 Access 2019
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,413
    Deleted. not on point.
    Last edited by davegri; 04-06-2024 at 06:32 PM.

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

Similar Threads

  1. Replies: 1
    Last Post: 02-27-2014, 03:43 PM
  2. Replies: 5
    Last Post: 11-21-2011, 09:59 PM
  3. Cascading Updates Help
    By rgrwatson85 in forum Database Design
    Replies: 5
    Last Post: 10-15-2011, 09:27 AM
  4. cascading combo
    By rexb in forum Forms
    Replies: 9
    Last Post: 10-26-2009, 04:10 PM
  5. Cascading ?
    By dlburkins in forum Forms
    Replies: 5
    Last Post: 09-27-2009, 04:41 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