線上訂房服務-台灣趴趴狗聯合訂房中心
發文 回覆 瀏覽次數:978
推到 Plurk!
推到 Facebook!

Showing sub-section of a record.

尚未結案
Vashee
初階會員


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

發送簡訊給我
#1 引用回覆 回覆 發表時間:2003-04-12 14:43:49 IP:217.36.xxx.xxx 未訂閱
I am trying to write a staff sign in/off history system and this is the first problem I encounter For example (Table1) ID (Primary Key) Staff Name (Table2) ID (Primary Key) Sign in time (Primary Key) Sign off time The two tables is created and reltated using Microsoft Access together (Table1) One to Many (Table2) method. Now (in Access) each ID in table1 will have a subsection containing all the information belong to that ID in Table 2. Is that possible to achive such function in Delphi: The ideal design is: When a record is selected in Table1, the sub-section of the select will be shown in another dbgrid, listing, etc. Thanks
Mickey
版主


發表:77
回覆:1882
積分:1390
註冊:2002-12-11

發送簡訊給我
#2 引用回覆 回覆 發表時間:2003-04-12 15:35:26 IP:218.32.xxx.xxx 未訂閱
It is a fundamental question. You can search topics and use key word ‘master-detail’ on this site.     資料庫種類繁多, 記得先說用啥資料庫喔
系統時間:2024-06-29 23:42:27
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!