>I have a cursor, called "tFtp_Files", that has a field for the file name and a field for the file path.
>
>First, I add the 2 columns:
>
>This.columnheaders.add(,"FNAME","File Name",this.width/2)
>This.columnheaders.add(,"FPATH","File Path",this.width/2)
>
>
>Then, I try to add the Listitems:
>
>Sele tFtp_Files
>Scan
> This.listitems.add(,,tftp_files.file_desc) &&Works fine
> This.listitems.subitems(1)=tftp_files.file_desc &&Doesn't work
>Endscan
>
>
>
>Thanks!
It's been a while but I think I had the same problem. Here is a way around it.
Scan
loAdd = This.listitems.add(,,tftp_files.file_desc)
loAdd.ListSubItems.Add(1,,tftp_files.file_desc)
endscan
Rip Ryness
International Falls, MN