上一篇主題 :: 下一篇主題 |
發表人 |
內容 |
limits_999
註冊時間: 2004-08-04 文章: 6
第 1 樓
|
發表於: 星期三 八月 11, 2004 11:01 am 文章主題: ComboBox 值的問題 |
|
|
我有一客戶資料表 裡面有客戶編號 和客戶名稱
我要將它放在ComboBox的下拉選單
下拉顯示是客戶名稱 但 thisform.combo1.value 是客戶編號
希望各方好手 能否告知 感激不盡!!! |
|
回頂端 |
|
 |
garfield Site Admin

註冊時間: 2003-01-30 文章: 2160
第 2 樓
|
發表於: 星期三 八月 11, 2004 11:50 am 文章主題: |
|
|
.RowSourceType=2
.RowSource='cust.name,cust_no'
.BoundColumn=2
.ColumnCount=2
.ColumnWidth=100 &&- only display name _________________ 利用>>搜尋<<的功能會比問的還要快得到答案. |
|
回頂端 |
|
 |
limits_999
註冊時間: 2004-08-04 文章: 6
第 3 樓
|
發表於: 星期三 八月 11, 2004 2:43 pm 文章主題: 我試了一下 還是不行 |
|
|
但謝謝你的解答!!![/img][/quote] |
|
回頂端 |
|
 |
garfield Site Admin

註冊時間: 2003-01-30 文章: 2160
第 4 樓
|
發表於: 星期三 八月 11, 2004 8:39 pm 文章主題: |
|
|
rowsourcetype=2 Alias. Use the ColumnCount property to select fields in the table.
rowsourcetype=6 Fields. A comma delimited list of fields. The fields may be prefaced by the table alias and a period.
標準用法為6, 但用2也不會有問題才對. _________________ 利用>>搜尋<<的功能會比問的還要快得到答案. |
|
回頂端 |
|
 |
|