CJ, changing the currencymanager to
cmB = Ctype(BindingCo ntext(dsClient1 , "B"), CurrencyManager )
made the main difference.
I took out the (databindings) as you suggested, except for selectedvalue
(can't seem to find the cbx.selectedval ue property in the property
inspector).
frm is because the form is started with a shared method
(myform.Execute (sdasd,asdfasdf ,asdfsf) that does a new on the form. It's an
mdi app.
Thanks, I greatly appreciate your help. Hopefully I'll figure out how to
find stuff like this in the dox someday.
Jeremy
"CJ Taylor" <[cege] at [tavayn] dit commmmm> wrote in message
news:eu******** ******@TK2MSFTN GP12.phx.gbl...
Alright... lets try a couple things.
First.. get rid of this crap
cbx.(databindin gs).selectedite m=b.primarykey
cbx.(databindin gs).selectedval ue=a.foreignkey
cbx.(databindin gs).text=b.name
second..
just use
cbx.selectedval ue = a.foreignkey
third...
if all that doesnt work.. define your currency manager as
cmB = Ctype(BindingCo ntext(dsClient1 , "B"), CurrencyManager )
that should respond when the value changes in the lookup box (combo box).
your master has to respond differently.. try this and we'll get to more
later.
by the way, what is the frm.Bindingcont ext? Self reference? or are you
doing this outside of the scope of your form (the manager resides in a
different class than the form itself.)
-CJ
my currencymanager is created thus:
cmB= CType(frm.Bindi ngContext(DsCli ent1.Tables("B" )),
CurrencyManager )
The cbx has these settings:
cbx.valuemember =b.primarykey
cbx.displaymemb er=b.name
cbx.datasource= dsclient1 >
When I change the value in the combobox, cmClientMaster. position does
not change.
Any suggestions?
Jeremy