Drilldown using unbound comboboxes with Access "Continuous Form" -


There should be a simple (R) way to do this.

I have a situation where I list the parts using continuous forms. There are things like Part Type, Manufacturer, Part Number and Quantity in Parts Listing. Examples of the list part are & amp; Quantity I can see other things from the example of the part, so displaying the existing parts is not a problem, just use a query to recover a related record or use a DLookup to pull the fields individually .

  Type Manufacturer Number Quantity ------------------------------------ - Widgets Ekima 123ab 1 Widgets Ekma 456 1 Evil Xyz 12345 2 Lama Northwind 322-12a 1 ...  

The problem is that where users need to add new parts . There are thousands of different parts, so they can not really choose from the same part number Cambodia, they want to be able to select a part type, manufacturer, and then the part number from three different combosboxes that are sequentially in each combobox Narrow results.

Choose a type of type >> select one of the creators of that manufacturer >> select the part number of that type of manufacturer >> enter the quantity

Okay, so I can do the default using two unbound combobox, with a DLookup, and link them through their row source queries. The final combobox is a fraction number with its row source filter - so it only lists the selected type and parts of the manufacturer. I have done this before such a situation and it works well.

Although I am trying to do it with continuous forms of entry and it is returning the same result for each lamp on the lamp. Example

  Type Manufacturer Number Volume ----------------------------------- - Widgets Ekima 123ab 1 widget acme 456 1 widget acme 12345 2 widgets acme 322-12 a1 ...  

Hey, what's going on? My DelPocops only seems to be using values ​​from the first record. Why?

Is this a good way to do it? Is there a better pattern for using drill-down combobox on a continuous form? The only other way I can think of this is to use the Combobox on the "Add / Edit Part" type form where the details are selected in a dialog and then the part number is left over but it seems that even here That kuldi is too much.

Continuous use of unbound controls on the form will only drive frantic, because an unbound control only references it The selected record, which can be none of them. I think the pop-up form would be great enough to add new records, and the user would be easy to understand.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

jquery - SimpleModal Confirm fails to submit form -

php - Multiple Select with Explode: only returns the word "Array" -