>Hi:
>
>I've just added code to a form's init to allow
>
>dimension aclientinf(50)
>select client
>with this
>select client.surname, client.firstname, client.phone1;
> from client;
> into array .aclientinf
> .grid1.columns(3).controlsource = "thisform.aclientinf[recno(),3]"
> .grid1.columns(4).controlsource = "thisform.aclientinf[recno(),4]"
> .grid1.columns(5).controlsource = "thisform.aclientinf[recno(),5]"
>endwith
The controlsources for grids/columns need to be a table source, like view, table, cursor...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.