I'm trying to do some tests with an Activex control (iGrid of 10Tec company), and according to the examples and documentation, I do something like this to generate columns and cells.
Code: Select all
With Object iGrid
:AddCol(sKey:="firstname", sheader:="First Name", lWidth:=120)
:AddCol(sKey:="phonenumber", sheader:="Phone", lWidth:=75)
:AddRow()
:CellValue(1, "firstname") :="text row:1"
End WithThe error is in the following line :CellValue (1, "firstname") := "text row 1", as I already said, according to the documentation this would be the way to insert text into a cell.
The question is, if it is the correct syntax, how to avoid the error.
I appreciate any help/advice.
Thanks
PS: If I remove the line where the error is generated, then the example works correctly.
Best Regards
Javier