LINKING TABLES

Jonbickel@aol.com Jonbickel@aol.com
Tue, 16 Nov 2004 16:57:28 EST


-------------------------------1100642248
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

Kristina,

By dictionary file, I assume that you mean an RMS file.  IIRC, you cannot 
link on a non-indexed field to anything other than a relational table.

jb

In a message dated 11/16/2004 3:41:51 PM Central Standard Time, 
Kristina.Carlton@JICompanies.com writes:
Hi List, 
I am using OpenVMS v7.3-2 and Quiz V7.10.G4. 
A while back I had trouble linking tables and got some help from this list. 
Everything has been working great, but today I ran into a problem again. My 
attempt is to access a subfile, then link it to a dictionary file via one field, 
which is not indexed.
This is my access statement:
ACC *DKF1:[DW]DWDTL ALIAS DWDTL LINK DOCUMENT_NUM OF DWDTL  TO DOCUMENT_NUM 
OF DTL
And the resulting error message:
*E* Item(s) DOCUMENT_NUM not defined as an index of DTL.
Can someone point out what I am doing wrong?
 
Thanks,
Kristina Carlton
Senior Programmer/Analyst
The JI Companies
512.427.2459
kristina.carlton@jicompanies.com

-------------------------------1100642248
Content-Type: text/html; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<HTML xmlns:o =3D "urn:schemas-microsoft-com:office:office"><HEAD>
<META charset=3DUS-ASCII http-equiv=3DContent-Type content=3D"text/html; cha=
rset=3DUS-ASCII">
<META content=3D"MSHTML 6.00.2900.2180" name=3DGENERATOR></HEAD>
<BODY style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; BACKGROUND-COLOR: #fffff=
f">
<DIV>
<DIV>Kristina,</DIV>
<DIV>&nbsp;</DIV>
<DIV>By dictionary file, I assume that you mean an RMS file.&nbsp; IIRC, you=
 cannot link on a non-indexed field to anything other than a relational tabl=
e.</DIV>
<DIV>&nbsp;</DIV>
<DIV>jb</DIV>
<DIV>&nbsp;</DIV>
<DIV>In a message dated 11/16/2004 3:41:51 PM Central Standard Time, Kristin=
a.Carlton@JICompanies.com writes:</DIV>
<BLOCKQUOTE style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: blue=20=
2px solid">
<P style=3D"MARGIN-RIGHT: 0.5in"><FONT color=3Dblue size=3D1><SPAN style=3D"=
FONT-SIZE: 9pt; COLOR: blue; FONT-FAMILY: 'Century Gothic'; mso-bidi-font-si=
ze: 10.0pt">Hi List,</SPAN></FONT><FONT color=3Dblue size=3D1><SPAN style=
=3D"FONT-SIZE: 9pt; COLOR: blue; FONT-FAMILY: 'Century Gothic'; mso-bidi-fon=
t-size: 12.0pt"> <o:p></o:p></SPAN></FONT></P>
<P style=3D"MARGIN-RIGHT: 0.5in"><FONT color=3Dblue size=3D1><SPAN style=3D"=
FONT-SIZE: 9pt; COLOR: blue; FONT-FAMILY: 'Century Gothic'; mso-bidi-font-si=
ze: 10.0pt">I am using OpenVMS v7.3-2 and Quiz V7.10.G4.</SPAN></FONT><FONT=20=
color=3Dblue size=3D1><SPAN style=3D"FONT-SIZE: 9pt; COLOR: blue; FONT-FAMIL=
Y: 'Century Gothic'; mso-bidi-font-size: 12.0pt"> <o:p></o:p></SPAN></FONT><=
/P>
<P style=3D"MARGIN-RIGHT: 0.5in"><FONT color=3Dblue size=3D1><SPAN style=3D"=
FONT-SIZE: 9pt; COLOR: blue; FONT-FAMILY: 'Century Gothic'; mso-bidi-font-si=
ze: 12.0pt">A while back I had trouble linking tables and got some help from=
 this list. Everything has been working great, but today I ran into a proble=
m again. My attempt is to access a subfile, then link it to a dictionary fil=
e via one field, which is not indexed.<o:p></o:p></SPAN></FONT></P>
<P style=3D"MARGIN-RIGHT: 0.5in"><FONT color=3Dblue size=3D1><SPAN style=3D"=
FONT-SIZE: 9pt; COLOR: blue; FONT-FAMILY: 'Century Gothic'; mso-bidi-font-si=
ze: 12.0pt">This is my access statement:<o:p></o:p></SPAN></FONT></P>
<P style=3D"MARGIN-RIGHT: 0.5in"><FONT color=3D#333399 size=3D1><SPAN style=
=3D"FONT-SIZE: 9pt; COLOR: #333399; FONT-FAMILY: 'Century Gothic'; mso-bidi-=
font-size: 12.0pt">ACC *DKF1:[DW]DWDTL ALIAS DWDTL LINK DOCUMENT_NUM OF DWDT=
L <SPAN style=3D"mso-spacerun: yes">&nbsp;</SPAN>TO DOCUMENT_NUM OF DTL</SPA=
N></FONT><FONT color=3D#333399 size=3D1><SPAN style=3D"FONT-SIZE: 9pt; COLOR=
: #333399; FONT-FAMILY: 'Century Gothic'; mso-bidi-font-size: 12.0pt; mso-co=
lor-alt: windowtext"><o:p></o:p></SPAN></FONT></P>
<P style=3D"MARGIN-RIGHT: 0.5in"><FONT color=3Dblue size=3D1><SPAN style=3D"=
FONT-SIZE: 9pt; COLOR: blue; FONT-FAMILY: 'Century Gothic'; mso-bidi-font-si=
ze: 12.0pt">And the resulting error message:<o:p></o:p></SPAN></FONT></P>
<P style=3D"MARGIN-RIGHT: 0.5in"><FONT color=3D#333399 size=3D1><SPAN style=
=3D"FONT-SIZE: 9pt; COLOR: #333399; FONT-FAMILY: 'Century Gothic'; mso-bidi-=
font-size: 12.0pt">*E* Item(s) DOCUMENT_NUM not defined as an index of DTL.<=
/SPAN></FONT><FONT color=3D#333399 size=3D1><SPAN style=3D"FONT-SIZE: 9pt; C=
OLOR: #333399; FONT-FAMILY: 'Century Gothic'; mso-bidi-font-size: 12.0pt; ms=
o-color-alt: windowtext"><o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><SPAN class=3DEmailStyle15><FONT color=3Dblue size=3D1>=
<SPAN style=3D"FONT-SIZE: 9pt; COLOR: blue"><SPAN style=3D"mso-bidi-font-siz=
e: 12.0pt"><FONT face=3D"Century Gothic">Can someone point out what I am doi=
ng wrong?<o:p></o:p></FONT></SPAN></SPAN></FONT></SPAN></P>
<P class=3DMsoNormal><SPAN class=3DEmailStyle15><FONT color=3Dblue size=3D1>=
<FONT face=3D"Century Gothic"><SPAN style=3D"FONT-SIZE: 9pt; COLOR: blue">&n=
bsp;</SPAN><o:p></o:p></FONT></FONT></SPAN></P>
<P class=3DMsoNormal><SPAN class=3DEmailStyle15><FONT color=3Dblue size=3D1>=
<SPAN style=3D"FONT-SIZE: 9pt; COLOR: blue"><SPAN style=3D"mso-bidi-font-siz=
e: 12.0pt"><FONT face=3D"Century Gothic">Thanks,<o:p></o:p></FONT></SPAN></S=
PAN></FONT></SPAN></P>
<P class=3DMsoAutoSig><FONT color=3Dblue><SPAN style=3D"COLOR: blue"><FONT f=
ace=3D"Century Gothic">Kristina Carlton<o:p></o:p></FONT></SPAN></FONT></P>
<P class=3DMsoAutoSig><FONT color=3Dblue size=3D1><SPAN style=3D"FONT-SIZE:=20=
9pt; COLOR: blue"><SPAN style=3D"mso-bidi-font-size: 12.0pt"><FONT face=3D"C=
entury Gothic">Senior Programmer/Analyst<o:p></o:p></FONT></SPAN></SPAN></FO=
NT></P>
<P class=3DMsoAutoSig><FONT color=3Dblue size=3D1><SPAN style=3D"FONT-SIZE:=20=
9pt; COLOR: blue"><SPAN style=3D"mso-bidi-font-size: 12.0pt"><FONT face=3D"C=
entury Gothic">The JI Companies<o:p></o:p></FONT></SPAN></SPAN></FONT></P>
<P class=3DMsoAutoSig><FONT color=3Dblue size=3D1><SPAN style=3D"FONT-SIZE:=20=
9pt; COLOR: blue"><SPAN style=3D"mso-bidi-font-size: 12.0pt"><FONT face=3D"C=
entury Gothic">512.427.2459<o:p></o:p></FONT></SPAN></SPAN></FONT></P>
<P class=3DMsoAutoSig><FONT face=3D"Century Gothic" color=3Dblue size=3D1><S=
PAN style=3D"FONT-SIZE: 9pt; COLOR: blue"><SPAN style=3D"mso-bidi-font-size:=
 12.0pt">kristina.carlton@jicompanies.com</SPAN></SPAN></FONT></P></BLOCKQUO=
TE></DIV>
<DIV></DIV></BODY></HTML>

-------------------------------1100642248--