-
Hi!
I have a hiearchial (can't spell :-) ) flexgrid which is populated with data. I want the user to highlight the row of data that they want, and when they click a 'Open' button, another form opens up and show all pertinent data. I know how to do the later part, but I do not know how to access the flexgrid to get the highlighted info. I already created the flexgrid and it is populating okay, just need the code for picking a record and opening it. In addition, I only need to get one field in the row. Any suggestions?
Thanks in advance.
-
Using MSFLEXGRID
You an use doubleclick.
BYTER = frmWeeklyPayroll.MSFlexGrid1.RowSel
MSFlexGrid1.TextMatrix(BYTER, 0) 'the first column and row selected.
-
stupid questions...
Thanks. My question is this:
1. BYTER, do I have to declare it?
2. Is MSHFlexGrid1.TextMAtrix(BYTER,0) the same as MSHFlexGrid1.TextMAtrix(row,column)?
-
Never Mind!
Never mind, I figured it out. Thanks for your help