hello all-
getting pretty frustrated here! I have 2 fields from Keydesc that I want to add to this moverlist. I want the Description(Desc) and Primary to show. I've taken a look at MikeLewis response to another question about additem, and I have tried the using the code below...
LOCAL nRow
This.ColumnCount = 2
This.ColumnWidths = "75,60"
If !Used('keydesc')
Select 0
Use keydesc
Else
Select keydesc
Endif
Set Order To Desc
Go Top
nrow = 1
Scan
This.AddItem(Desc)
This.AddListItem(Primary,nrow,2)
Select keydesc
Skip
nrow = nrow + 1
Endscan
Thisform.Refresh()
I keep getting a function, argument, or type is invalid for this line:
[red]
This.AddListItem(Primary,nrow,2)
[/red]
I am doing it the exact way, and I am confused as why it is giving me the errors...
any takers?
Thanks in Advance-
angie
getting pretty frustrated here! I have 2 fields from Keydesc that I want to add to this moverlist. I want the Description(Desc) and Primary to show. I've taken a look at MikeLewis response to another question about additem, and I have tried the using the code below...
LOCAL nRow
This.ColumnCount = 2
This.ColumnWidths = "75,60"
If !Used('keydesc')
Select 0
Use keydesc
Else
Select keydesc
Endif
Set Order To Desc
Go Top
nrow = 1
Scan
This.AddItem(Desc)
This.AddListItem(Primary,nrow,2)
Select keydesc
Skip
nrow = nrow + 1
Endscan
Thisform.Refresh()
I keep getting a function, argument, or type is invalid for this line:
[red]
This.AddListItem(Primary,nrow,2)
[/red]
I am doing it the exact way, and I am confused as why it is giving me the errors...
any takers?
Thanks in Advance-
angie