By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,133 Members | 1,113 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,133 IT Pros & Developers. It's quick & easy.

Loop through and Manipulate MSHFlexGrid

P: 144

i have this MSHFlexGrid in my form and a commandButton, which when pressed, it will add new row to he MSHFlexGrid,

the questions are:
1. how can i manually specify the column header? there should be 3 columns and how to name each column?

2. how can i loop through an MSHFlexGrid object. i need to see if the same row ID is being inserted. if so, i only need to update that row instead of inserting a new one. so it will be like this

for i=0 to MSHFlexGrid.Rows - 1
//how to cek value of col 1 here?

i've been googling for this and can't seem to find my answer.

Thank you.
Apr 12 '10 #1

✓ answered by Guido Geurs


I hope this will help You (see attachment)


Share this Question
Share on Google+
2 Replies

Guido Geurs
Expert 100+
P: 767

I hope this will help You (see attachment)

Attached Files
File Type: zip Loop through and Manipulate (1.7 KB, 368 views)
Apr 12 '10 #2

P: 144

thank you for your time giving me an example.
Apr 13 '10 #3

Post your reply

Sign in to post your reply or Sign up for a free account.