> select sif_konto from gk_konta ;
> order by sif_konto ;
> into cursor tmpCursor
So what, neighbor, you still have the same accounting system as we do?
>* use dbf("tmpCursor") in 0 again alias NumberProvider && I rem this because it gives me an erro message saying that table is already open ????
>* use in "tmpCursor"
> select tmpCursor
> index on sif_konto tag Linker
> select gk_konta
> set relation to sif_konto into tmpCursor
> thisform.grid1.column6.controlsource = recno("tmpCursor")
>
>Any idea ?
ControlSource is a string which is evaluated at runtime, so you need another pair of quotes around it:
thisform.grid1.column6.controlsource = 'recno("tmpCursor")'