Hi,
I have a continuous form that includes 2 combo boxes, Category and Subcategory. Record source is a query of Item Table. I am displaying descriptions, not ID's, so I have to convert the ID's using lookup tables.
Subcategory drop-down box is dependent on category (for example, when Category is Furniture, Subcategory drop-down list is 'Dresser, Nightstand, Desk..."). Text portion displays the Description corresponding to the ID on Items table. The drop-down list for Subcategory works fine, but the text portion does not. When the form is displaying records from the Items table, records for category 'Accessories' displays fine (the first catgegory), but records for 'Furniture' (second category) display a blank subcategory. However, the drop-down list is correct; only the text portion is incorrectly blank.
If I display only subcategory ID, not description, it works fine. If I run the recordsource query, it displays subcategory ID correctly.
My SQL statement for subcategory is:
"SELECT ItemSubcatID, ItemSubcatDesc FROM tlkpItemSubcategory
WHERE (((ItemCategoryID)=[Forms]![frmItems]![cboItemCategory]))
ORDER BY ItemSubcatDesc;"
Column count is 2, column width is 0, 2. Bound column is 1.
Note that when I have column width = "1,1", subcatgegory ID is displayed correctly.
Anything obvious causing the text portion of my combo box to be blank?
Thanks in advance for any help,
Lori
I have a continuous form that includes 2 combo boxes, Category and Subcategory. Record source is a query of Item Table. I am displaying descriptions, not ID's, so I have to convert the ID's using lookup tables.
Subcategory drop-down box is dependent on category (for example, when Category is Furniture, Subcategory drop-down list is 'Dresser, Nightstand, Desk..."). Text portion displays the Description corresponding to the ID on Items table. The drop-down list for Subcategory works fine, but the text portion does not. When the form is displaying records from the Items table, records for category 'Accessories' displays fine (the first catgegory), but records for 'Furniture' (second category) display a blank subcategory. However, the drop-down list is correct; only the text portion is incorrectly blank.
If I display only subcategory ID, not description, it works fine. If I run the recordsource query, it displays subcategory ID correctly.
My SQL statement for subcategory is:
"SELECT ItemSubcatID, ItemSubcatDesc FROM tlkpItemSubcategory
WHERE (((ItemCategoryID)=[Forms]![frmItems]![cboItemCategory]))
ORDER BY ItemSubcatDesc;"
Column count is 2, column width is 0, 2. Bound column is 1.
Note that when I have column width = "1,1", subcatgegory ID is displayed correctly.
Anything obvious causing the text portion of my combo box to be blank?
Thanks in advance for any help,
Lori