By George, I got it! ;o)

Spend hours and hours, but I found the solution.

Here the code:

Sub prodknop_click

   For col=1 To records3.count
        GridCtrl1.Col = 1
        'If GridCtrl1.col = 1 Then
        GridCtrl1.addItem records3 (col)(12) & vbTab & records3 (col)(11)
Next
End Sub


By putting  & vbTab & between the records that I want to display it is now 
seperated in de col.

Tought I share the solution ;o)

With kind regards,

Charles

--- In nsbasic-ce@yahoogroups.com, "inpcle" <inp...@...> wrote:
>
> Hi everybody,
> 
> I am working on a program and I want to put records in to a grid.
> With 1 column that is no problem, but when I want to have more then 1 column  
> to put it in the grid, that is a problem for me...
> 
> Greetings,
> 
> Charles
>


-- 
You received this message because you are subscribed to the Google Groups 
"nsb-ce" group.
To post to this group, send email to nsb...@googlegroups.com.
To unsubscribe from this group, send email to 
nsb-ce+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/nsb-ce?hl=en.

Reply via email to