G
Guest
Greetings all. The following works very well to filter my dependent combo
lists:
SSI.RowSource = "Select distinct tblmaterials.ssi " & _
"from tblmaterials " & _
"where tblmaterials.description = '" & description.Value & "' "
& _
"order by tblmaterials.ssi;"
In most cases there is only one SSI per description. As it is now users
must choose the resulting SSI by clicking on cboSSI after choosing
description from preceding cboDescription. I would like the SSI field to
auto populate with the value if there is only one choice. I tried using
SSI.Value=select statement above, but nothing happens. Perhaps I need to try
an insert statement rather than select?Maybe it is not as easy as I think it
should be. Does anyone have any ideas? Thank you.
lists:
SSI.RowSource = "Select distinct tblmaterials.ssi " & _
"from tblmaterials " & _
"where tblmaterials.description = '" & description.Value & "' "
& _
"order by tblmaterials.ssi;"
In most cases there is only one SSI per description. As it is now users
must choose the resulting SSI by clicking on cboSSI after choosing
description from preceding cboDescription. I would like the SSI field to
auto populate with the value if there is only one choice. I tried using
SSI.Value=select statement above, but nothing happens. Perhaps I need to try
an insert statement rather than select?Maybe it is not as easy as I think it
should be. Does anyone have any ideas? Thank you.