>>
local lcOldSetNear
>>lcOldSetNear=
set('near')
>>
set near on>>
select issueweek, closedate ;
>>
from weekissu
where st='MA' ;
>>
order by CLOSEDATE
DESC into cursor ltissueweek
>>
index on CloseDate
tag CloseDate
descending>>
seek date()
>>
if lcOldSetNear="OFF"
>>
set near off>>
endif>>
*this.DisplayValue=ltIssueWeek.IssueWeek>>
this.
ListIndex=1
>>
>>My problem is, what I can not find a way to display the current issue in a combobox. Could you please help me here?
>>
>>Thanks in advance.
>
>Where are you setting the rowsource?
In the property sheet: ltissueweek.issueweek,closedate and RowSourceType=2 (Alias). It's not bound and Style - 2 (Drop-down combo). If I try DisplayValue, it remains empty, if I set ListIndex=1, it starts from the first item (200152, but I want 200110 instead).
Thanks.
If it's not broken, fix it until it is.
My Blog