[Gambas-user] Get data from a column (not the head) of the control WebTable

Casper casper.labuschagne at ...626...
Fri Jan 13 11:58:23 CET 2017


Hi,

On 12/01/2017, מיוסט שרון <sharon at ...3639...> wrote:

> But my question
> When the table has 3 rows and each row has two columns
>
> I want to get to the "Text" there is a row 3 column 2
>
> I do not see such a possibility

I struggled with something similar recently.  I think I know what you
mean and if I'm right you may have to adapt this code to fit your
needs.  This might, or might not, be what you are looking for.

Dim iMaxRows As Integer

  iMaxRows = ColumnView1.Count

  ' populate variables from columnview
  ColumnView1.MoveFirst
  For iCount = 0 To iMaxRows - 1
    myVarA = ColumnView1.Item[1]
    myVarB = ColumnView1.Item[2]
    ' do whatever else
  next




More information about the User mailing list