非常感谢!
但是我还有一个问题,就是我想在一个列表框里查询两个列的数据,只要两个列里有符合要求的都显示出来,代码该怎么写呢?
比如说,我在查询列表框中输入 MG7-00-125,想得到的结果如下,该如何实现?
<COLGROUP>
<COL style="WIDTH: 53pt; mso-width-source: userset; mso-width-alt: 2240" width=70>
<COL style="WIDTH: 116pt; mso-width-source: userset; mso-width-alt: 4960" width=155>
<COL style="WIDTH: 42pt; mso-width-source: userset; mso-width-alt: 1792" width=56>
<COL style="WIDTH: 83pt; mso-width-source: userset; mso-width-alt: 3552" width=111>
<COL style="WIDTH: 63pt; mso-width-source: userset; mso-width-alt: 2688" width=84>
<COL style="WIDTH: 53pt; mso-width-source: userset; mso-width-alt: 2240" width=70>
<COL style="WIDTH: 63pt; mso-width-source: userset; mso-width-alt: 2688" span=2 width=84>
UC
UC STRING
ASSOC
ASSOC DES
启用通知单
启用日期
截止通知单
截止日期
RJ0001
+A10R+A21J
443164
SUNVISOR
MG7-00-123
2006-1 -1
MG7-00-125
2006-12-31
RJ0001
+A10R+A21J
443166
SUNVISOR
MG7-00-125
2003-1 -1
RJ0001
+A10R+A21J
443263
HEADLINING---------------------------055
MG7-00-125
2006-1 -1
MG7-00-456
[em01]
[此贴子已经被作者于2007-1-8 10:16:57编辑过]
|