有一個c_year下拉列表框,用以下方法綁定數據源。
thisform.c_year.rowsourcetype=3
thisform.c_year.rowsource= "select c_year from c_date into cursor cYear order by c_year desc "
現想把其中的某一年設為默認值,如1980,應該怎樣做呢?
------解决方案--------------------------------------------------------
thisform.c_year.displayvalue= '1980 '
thisform.c_year.value= '1980 '