Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

selected record does not stick on Listx SSDBGrid

Status
Not open for further replies.

112055

Programmer
May 13, 2002
61
US
Hello,
I have a Listx SSDBGrid. When I selected a record.....

Sub Listx_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)

If Button <> 2 Then Exit Sub
cmdAction_Click

End Sub

Inside cmdAction_Click there is a Case statement to tell it what to do. Here is Doqery, it goes to the server to gather data and verify transaction.
It works fine until when it comes to finalize, it pops off the selected transaction and jumps all the way back to the top of the first row of the Listx, in turn causes the transaction to fail.

Any sugestion will be appreciated.

Thanks,
Ann
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top