L laiyilam Member Licensed User Longtime User Sep 10, 2007 #1 Hi, I have a table called tblDiary. I wanted to catch the row number when it is tapped and show that record in another form for editing. Codes: Sub tblDiary_SelectionChanged (ipcColName, ipnRow) gnDiaryRow = ipnRow ' for Edit/Delete frmDiary.show End Sub Click to expand... The above codes work fine on desktop. Unfortunately it did not work in device. Any idea?:sign0085: Thanks, Paul
Hi, I have a table called tblDiary. I wanted to catch the row number when it is tapped and show that record in another form for editing. Codes: Sub tblDiary_SelectionChanged (ipcColName, ipnRow) gnDiaryRow = ipnRow ' for Edit/Delete frmDiary.show End Sub Click to expand... The above codes work fine on desktop. Unfortunately it did not work in device. Any idea?:sign0085: Thanks, Paul
Erel B4X founder Staff member Licensed User Longtime User Sep 10, 2007 #2 The device returns the focus to the table at the end of the SelectionChanged event. See this thread for a solution: http://www.b4x.com/forum/showthread.php?t=199&highlight=selectionchanged
The device returns the focus to the table at the end of the SelectionChanged event. See this thread for a solution: http://www.b4x.com/forum/showthread.php?t=199&highlight=selectionchanged