Showing sub-section of a record. |
尚未結案
|
Vashee
初階會員 ![]() ![]() 發表:38 回覆:87 積分:25 註冊:2003-03-31 發送簡訊給我 |
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 發送簡訊給我 |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |