全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:828
推到 Plurk!
推到 Facebook!

Data sorting and lookup

尚未結案
Vashee
初階會員


發表:38
回覆:87
積分:25
註冊:2003-03-31

發送簡訊給我
#1 引用回覆 回覆 發表時間:2003-04-09 02:03:45 IP:217.34.xxx.xxx 未訂閱
how can I sort the number from the smallest to the biggest using SQL? Also, how can I look up data under the same the field or 'column' using dblookupcombobox? My situation. I have 200 items in the table, and each item is grouped under 1 out of 7 types of dish types: SEAFOOD, FRIED RICE, etc... Is that possible to group those 7 types under some sort of dropdown box, then using SQL Command: select * from menu where types = 'dropbox'; thanks
channel
尊榮會員


發表:67
回覆:707
積分:854
註冊:2002-05-02

發送簡訊給我
#2 引用回覆 回覆 發表時間:2003-04-09 10:38:57 IP:211.21.xxx.xxx 未訂閱
引言: how can I sort the number from the smallest to the biggest using SQL?
  • the number from the smallest to the biggest: Select * From TableName Order By FieldName
  • the number from the biggest to the smallest: Select * From TableName Order By FieldName Desc
引言: how can I look up data under the same the field or 'column' using dblookupcombobox?
http://delphi.ktop.com.tw/topic.php?TOPIC_ID=28065
------
~小弟淺見,參考看看~
Vashee
初階會員


發表:38
回覆:87
積分:25
註冊:2003-03-31

發送簡訊給我
#3 引用回覆 回覆 發表時間:2003-04-10 01:11:02 IP:217.34.xxx.xxx 未訂閱
May be i am asking the wrong question. because I don't get a clue of what that post is saying. How about design a drop box that contains fixed options. say: Rice Noodle FastFood etc.. .. So the drop box have no related to any table.
系統時間:2024-07-01 18:38:04
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!