I am a new VB programmer and am stuck on a simple problem
which I can't seem to get the syntax correct on a program I am working on. I have 2 DBList boxes in VB6.0
which are related. One has a list of names and the other DBListbox has a value for the corresponding name.
I am trying to allow a user to select a name with the mouse in one DBList box and have the corresponding
value also be selected(highlighted) in the other Listbox. I have used an if statement like this :
If DBList1.selected(1) = true then
DBList2.selected(1) = true
I just can't seem to get it right. If you can help, I would appreciate it.
Thanks, Sandy MacDonald