Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MsFlexGrid Help

Status
Not open for further replies.

dodgyone

Technical User
Jan 26, 2001
431
GB
*Background Info...

I have an MSFlexGrid which is filled from a database (this works fine). There are 4 columns and the rows vary depending upon how many records have been entered.

*What I want to be able to do is...

Start from the top row and sequentially go down the rows, checking the cell in the final column of the row to see whether the text entered there is 'Yes'. If it's 'Yes' then I have a ping procedure to use (take the IP address from column 1 in every row) and if 'No' then it continues to the row below until all rows have been viewed.

Do I loop and use the timer to continue going down the rows until all have been checked?

Thanks in advance...

Marcus

 
I think you want to wait for the Ping to complete before reading the next row? In that case I wouldn't use the timer. You'd better use an API to check for the process to finish. Check faq222-428 to see how it works.

Herman :-Q
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top