Site Search:
Sign in | Join | Help
4Penny.net

Janus System

All things for all Janus products

How to iterate through a Janus grid

How to loop through a Janus grid:

Dim i As Int16
Dim row As Janus.Windows.GridEX.GridEXRow

'loop through the grid and make sure that there are no errors
For i = 0 To GridEX1.RowCount - 1

    GridEX1.Row = i
    row = GridEX1.GetRow()
    intWhatever = row.Cells(
"intWhatever").Value

Next

Comments

 

Kai said:

Thanks for this Steve.  I had a few issues working out how to iterate throught the control.

May 9, 2008 5:05 AM

Leave a Comment

(required)  
(optional)
(required)  
Add

About Steve Gray

Steve is a seasoned (translate: old) developer in VB and ASP.NET. He spends most of his time in Dynamics GP, writing custom mods for consulting firms. Crystal reports, eConnect, VS Tools for Dynamics... anything that comes along.