Hi Leo,

What I cant see is how to create a field in another table which points to 
that
composite key, as a master/detail link.

To do this you will need to set a Referential Integrity check on the Detail 
Table using Database Desktop.

1       Choose Tools/Utilities/Resturucture from the DBD menu
2       Select the Detail Table
3       From the Table Properties drop down select Referential Integrity
4       Click the Define Button
5       Dbl Click the Master Table in the Right Hand list box
6       Link the Child Fields to the Parents fields in the list box
7       Selects the appropriate update rule (usually cascade)
8       Make sure that Strict Referential Integrity is selected
9       Click OK
10      Give it a Name
11      Viola!

Warning!  Referential Integrity at the Database Level with paradox works 
very well, but NEVER use an AutoIncrement field type as part of a Key 
linked to Referential Integrity (when the AutoInc field finally craps out 
[and it will eventually] you will have to break all your RI relationships 
to be able to fix it) - you will loose hours/days/weeks repairing.



begin 600 WINMAIL.DAT
M>)\^(C8"`0:0" `$```````!``$``0>0!@`(````Y 0```````#H``$(@ <`
M& ```$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`0V ! `"`````@`"``$$
MD 8`* $```$````,`````P``, (````+``\.``````(!_P\!````2P``````
M``"!*Q^DOJ,0&9UN`-T!#U0"`````&1A=&%B87-E0&1E;'!H:2YO<F<N;GH`
M4TU44 !D871A8F%S94!D96QP:&DN;W)G+FYZ```>``(P`0````4```!33510
M`````!X``S !````%P```&1A=&%B87-E0&1E;'!H:2YO<F<N;GH```,`%0P!
M`````P#^#P8````>``$P`0```!D````G9&%T86)A<V5 9&5L<&AI+F]R9RYN
M>B<``````@$+, $````<````4TU44#I$051!0D%314!$14Q02$DN3U)'+DY:
M``,``#D`````"P! .@$````"`?8/`0````0````````"Y#<!!( !`#,```!2
M13H@6T151RU$0ETZ("!H;W<@9&\@22!U<V4@<&%R861O>"!C;VUP;W-I=&4@
M:V5Y<P"K$ $%@ ,`#@```,\'"0`#``X`-P`J``4`5@$!(( #``X```#/!PD`
M`P`.`"8`*@`%`$4!`0F `0`A````14,V,S,S13,P.38R1#,Q,3E%-3,P,$,P
M1$8R,C0U-D0``P<!`Y &`(0%```4````"P`C```````#`"8```````L`*0``
M`````P`N```````#`#8``````$ `.0#@<-_/M_6^`1X`< `!````,P```%)%
M.B!;1%5'+41"73H@(&AO=R!D;R!)('5S92!P87)A9&]X(&-O;7!O<VET92!K
M97ES```"`7$``0```!8````!OO6WS]_C,V/M8@D1TYY3`,#?(D5M```>`!X,
M`0````4```!33510`````!X`'PP!````$@```'1I;4!T:&EN8VYZ+F-O+FYZ
M`````P`&$#@-8>D#``<03@,``!X`"! !````90```$A)3$5/+%=(051)0T%.
M5%-%14E32$]75$]#4D5!5$5!1DE%3$1)3D%.3U1(15)404),15=(24-(4$])
M3E135$]42$%40T]-4$]3251%2T59+$%304U!4U1%4B]$151!24Q,24X`````
M`@$)$ $```#?`P``VP,``%\&``!,6D9UYEUQS?\`"@$/`A4"I /D!>L"@P!0
M$P-4`@!C: K <V5T[C(&``;#`H,R`\8'$P*#1C,#Q0(`<')Q$B)S*'1E;0*#
M-!,/9C6[%#P3A7T*@ C/"=D[&2]X,C4U`H *@0VQ"V!N\&<Q,#,4( L*%O(,
M`0)C`$ @2&D@3&6$;RP*BVQI,S8-\*\+517"# $4P&\50&,%0(T*A5<1P 5 
M22!C`' 3!4 1\&4@! `@:&]Y!^!T;R'@&3 AH")@8>0@9@B0;&0B< .@`'!=
M(+!H!) BX &@;")@=T1H:1&P('!O"X!TOP0@(O$D<"&@"H4%H&TE@,,`D"-A
M:V5Y+". !"#G(Y `P!4Q<B\-L &0`Q%Q'U!N:RX*CQT\*454[2,`9"8"(H%Y
M"& E$ ,0?0,@;@G@(_ B\1'Q(X%2=PW !) )\'0',2' `C!E&PG )S!Y(> D
M@&-K(%<"("81(F!$*)14)--U?P"0'# OX"&@`: GP"_2<WIK(O!P*38I10!0
M`9$@/D,BL"<0(F KH ;P<R_>52XP'U N, >0+RW %3!]"'!U(. (<")@`U(O
MI$+V1"@`"?!U*442\#,R!F"_)/ @X2^^*444(#,R1C7&]3!D4 -@< 20-)(K
MP#K1_2O!=P.@$? WLRW/+M(I17\5P#,S'U O42^T([ LX"!\0G4"0 (@*446
M\#,R1'L"8#Z932@C,%4D$2^R4NAI9V@%0$@`<"/P'U!5%3 @!N!X*44V,R-,
MWRD!-_,S< ,0(_!&(\(EU?\ZH0K +A$$(".S!"!"E4.]SC<W2271+\%A<""1
M%,#C!S C875P9"-2-3 D\>HH,,!U!T!L+P$GP"'P]0VP*2E%.#,C0< G<"(P
M]S5R)B(&`'0%$#Q?+J8B@9<\% F *44Y/EE/2S*F8PWP,S)':78B82V"3DYA
M!X RIC,45FD&\&$Z(3(\5PK `P`<,"$@_T[_+L0AH2^S,38>0%-@`R#_`_ D
M<"5P"L!,D$00)1 %L%9K!"!38'(O`'<CT&P-)Z!B/\ 'L$5615+7,+$C<0.@
M03_ ;RZ (R'_-H$%0".T+O Z\">R*7$%0/1O9B.!2R> *.,M!%;O_2[3*"4@
M"? W\UR5(Z4_8;M,!%H0< 0@"& %0%M#<M]3D2R365$",$OS72Q($<#[4V$B
M\6(C,2]@3 $L0@7 OE(AT!DP"V N, (@<R4P_V-A9D(C<23B(O$CL%I0)S#X
M*2 M+$@8P#.B(K (<-<T($L@%2 O6R!E6J$9,.TI<&D%$!PP+B$&'H\?GZ\@
MK&V/$M1N_R 840!RX `#`! 0``````,`$1 !````0 `',.#!JF^U];X!0 `(
G,.#!JF^U];X!'@`]``$````%````4D4Z( `````#``TT_3<``#^A
`
end

---------------------------------------------------------------------------
  New Zealand Delphi Users group - Database List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to