|
-
Nov 14th, 2000, 04:14 PM
#1
Thread Starter
Hyperactive Member
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.
-vbuser1976 
VB6 Enterprise SP6
SQL 7.0 SP2
VBScript, HTML, Javascript, C++, a little UNIX
-
Nov 14th, 2000, 04:48 PM
#2
PowerPoster
Using MSFLEXGRID
You an use doubleclick.
BYTER = frmWeeklyPayroll.MSFlexGrid1.RowSel
MSFlexGrid1.TextMatrix(BYTER, 0) 'the first column and row selected.
Remaining quiet down here !!!
BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....
-
Nov 14th, 2000, 04:54 PM
#3
Thread Starter
Hyperactive Member
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)?
-vbuser1976 
VB6 Enterprise SP6
SQL 7.0 SP2
VBScript, HTML, Javascript, C++, a little UNIX
-
Nov 14th, 2000, 05:16 PM
#4
Thread Starter
Hyperactive Member
Never Mind!
Never mind, I figured it out. Thanks for your help
-vbuser1976 
VB6 Enterprise SP6
SQL 7.0 SP2
VBScript, HTML, Javascript, C++, a little UNIX
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|