PDA

Click to See Complete Forum and Search --> : Frustrating problem


parkes
Dec 8th, 1999, 05:27 PM
Using VB6 and Access 97 database.

I've created and ActiveX to use inside of a Datarepeater. The whole thing works okay, I can add, edit and remove data from it no problem.
The problem I've got is inside the ActiveX I've got a DataCombo and a text box. When you have focus on a record the Datacombo display the correct information, but all the others just display what is stored in the database for Example
The DataCombo stores Names: -
Fred Smith (Unique code is 1)
Jane Wilder (Unique code is 2), etc

So when I have focus on Fred Smith it displays his name, but the one below which is Jane Wilder only display 2 which is what's stored in the database.

Does anyone know how to solve this problem?

------------------
Thanks in advance for any help provided.

john_murphy
Dec 8th, 1999, 09:07 PM
On the click event of the combo box issure the object.refresh for your other objects???

I think this should work.

parkes
Dec 8th, 1999, 10:28 PM
No thats not the problem. When I've got focus on a record it display the correct information, its the records that don't have focus only displays whats in the database.

------------------
Thanks in advance for any help provided.