Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox should start from some value
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Combobox should start from some value
Miscellaneous
Thread ID:
00485028
Message ID:
00485028
Views:
44
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.
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform