W
wallymeister
Hello Access Guru's,
I now have a problem that's just wierd. See if I can explain.
I have form w/ 4 controls (2 combo boxes, 2 textboxes).
The 1st combo box has a query that filters for all [TypeDesc] and
[TypePrefix].
The cboTypeDesc dropdown holds [TypeDesc] field and a txtbox next to it has
controlsource = cboTypeDesc.column(1) which is [TypePrefix] that goes with
[TypeDesc] selected.
This is working fine!
Now the other 2 controls another combobox and another textbox.
This [cboBlowerCap] runs a query that filters for all possible BlowerCaps
and Btus for the TypeDesc presently selected in the 1st combobox. This
combobox displays both fields [BlowerCap] & [Btus] in dropdown. Like the
other textbox in above example, this one has a controlsource =
cboBlowerCap.column(1) to hold the value that is linked to BlowerCap chosen.
The problem is that when I select any combination of data in this combobox
the textbox to display the Btus will always display the top btu of the
BlowerCap choices.
e.g.
BlowerCap Btus
024 040
024 060
036 *060*
036 080
<036 100>
042 080
048 080
048 100
< > Selected
So, using the above data, if I select the combination 036 - 100, the 036
displays in cboBlowerCap fine but the value displayed in txtBtus will be the
matching value of the first appearance of 036, which will be 060 (* *)
The purpose of this form is to use the values selected to build an
appendquery.
Both of the textboxes are locked to the user.
I would appreciate if anyone can shed light on what might be happening here.
I am virtually doing the same thing here that I did with the other two
controls but it is acting different.
Thanks much,
wally
I now have a problem that's just wierd. See if I can explain.
I have form w/ 4 controls (2 combo boxes, 2 textboxes).
The 1st combo box has a query that filters for all [TypeDesc] and
[TypePrefix].
The cboTypeDesc dropdown holds [TypeDesc] field and a txtbox next to it has
controlsource = cboTypeDesc.column(1) which is [TypePrefix] that goes with
[TypeDesc] selected.
This is working fine!
Now the other 2 controls another combobox and another textbox.
This [cboBlowerCap] runs a query that filters for all possible BlowerCaps
and Btus for the TypeDesc presently selected in the 1st combobox. This
combobox displays both fields [BlowerCap] & [Btus] in dropdown. Like the
other textbox in above example, this one has a controlsource =
cboBlowerCap.column(1) to hold the value that is linked to BlowerCap chosen.
The problem is that when I select any combination of data in this combobox
the textbox to display the Btus will always display the top btu of the
BlowerCap choices.
e.g.
BlowerCap Btus
024 040
024 060
036 *060*
036 080
<036 100>
042 080
048 080
048 100
< > Selected
So, using the above data, if I select the combination 036 - 100, the 036
displays in cboBlowerCap fine but the value displayed in txtBtus will be the
matching value of the first appearance of 036, which will be 060 (* *)
The purpose of this form is to use the values selected to build an
appendquery.
Both of the textboxes are locked to the user.
I would appreciate if anyone can shed light on what might be happening here.
I am virtually doing the same thing here that I did with the other two
controls but it is acting different.
Thanks much,
wally