|
-
Sep 25th, 2007, 10:13 AM
#1
Re: Vb6.0 And Probs With Vsflexgrid
The VSFlexGrid is not a standard grid control. Does it have a TextMatrix property? (I've never used this control before.)
-
Sep 25th, 2007, 10:46 AM
#2
Thread Starter
Member
Re: Vb6.0 And Probs With Vsflexgrid
yes..
it is having properties..
can u tell me wht loop is to use to check textmatrix is empty
u conside msflexgrid
if textmatrix is empty then add current data to 1st row
if it has some data then..for eg 2 rows
for a particular cust id
then add current data to 3d row...
-
Sep 25th, 2007, 11:58 AM
#3
Frenzied Member
Re: Vb6.0 And Probs With Vsflexgrid
well , the way I m checking is if the Flex has one Fixed Row
Code:
If MSFlex.Textmatrix(1,1) = vbNullString Then
' no Data in the Flex.
Else
' Has Data in the Flex.
Endif
I also Assume that if the Flex is updated the column 1 would be filled.
To increase the number of Rows, you can use
MSFlex.Rows = MSFlex.Rows + 1
But I still didnt see your full code. Can you post that?
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
|