Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox should start from some value
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00485028
Message ID:
00485033
Views:
14
This message has been marked as the solution to the initial question of the thread.
Nadya,

I think, after cursot is created you should define:
this.RowSource='ltissueweek'
this.RowSourceType=2,
and perhaps this.ControlSource='issueweek'


>>>>>>>>>>>>>>...your message below
Hi everyone,

I have a combobox with this Init method:

********************************************************************
* Description.......: cmbExtrWeek
* Calling Samples...:
* Parameter List....:
* Created by........: Nadya Nosonovsky 03/14/2001 02:51:51 PM
* Modified by.......: Nadya Nosonovsky 03/14/2001 02:59:51 PM
********************************************************************
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform