vfp问题~~~希望各位大侠尽快帮忙解答!!!谢啦!!!

来源:百度知道 编辑:UC知道 时间:2024/05/08 15:31:29
想在combol1中的下拉菜单中显示出2003-1-1到2003-12-31的日期,怎样才能显示呢???口令是什么呢???希望精通者尽快帮忙解答!!!谢啦~~~

在表单的init过程中加入
on error huwei=[]
for i=1 to 12
for j=1 to 31
zf=[2003-]+allt(str(i))+[-]+allt(str(j))
zf2=dtoc(ctod(zf))
if len(allt(zf2))<>4
thisform.combo1.additem(zf)
endif
endfor
endfor