D
danthrom
I have posted this question in the general section, but thought it would
apply in this forum as well...
I have four tables:
TABLE A: client information ex. John Doe (DOEJ); Kate Bell (BELLK)
TABLE B: client file information ex. John Doe’s Business One (DOEJ 1001),
John Doe’s Business Two (DOEJ 1002); Kate Bell Business One (BELLK 1001),
Kate Bell’s Lease (BELLK 2004).
TABLE C: storage information ex. Box 10 was stored on 6-1-06, Box 11 was
stored on 7-1-06
TABLE D: extended information for both boxes and files ex. Box 10 has DOEJ
1001, BELLK 2004, Box 11 also has BELLK 2004. Inside Box 10, file BELLK 2004
is correspondence and notes, inside Box 11, file BELLK 2004 is documents and
final drafts.
I have set it up that the alias (DOEJ) is the primary key in Table A, and an
autonumber is primary key in table B (the alias is a foreign key in this
table), Table C’s primary key is the box number (the box number is a foreign
key for Table D). But I am having problems joining Table D to Table B. So
far I have a one-to-many enforced join from Table B’s autonumber to Table D
in a number field. This works for building a relationship. But how can I
set up a query/form which makes selecting a file simple?
I was thinking that through a query I can build a combo box displaying the
autonumber as a combination of client alias and file number ex. DOEJ-1001.
For data-entry the user needs access to a list of file numbers to add to a
new box (table C "Storage Box Inventory" with subform of table D).
Is there a way to accomplish this? Or am I approaching this wrong?
Thanks for the help.
apply in this forum as well...
I have four tables:
TABLE A: client information ex. John Doe (DOEJ); Kate Bell (BELLK)
TABLE B: client file information ex. John Doe’s Business One (DOEJ 1001),
John Doe’s Business Two (DOEJ 1002); Kate Bell Business One (BELLK 1001),
Kate Bell’s Lease (BELLK 2004).
TABLE C: storage information ex. Box 10 was stored on 6-1-06, Box 11 was
stored on 7-1-06
TABLE D: extended information for both boxes and files ex. Box 10 has DOEJ
1001, BELLK 2004, Box 11 also has BELLK 2004. Inside Box 10, file BELLK 2004
is correspondence and notes, inside Box 11, file BELLK 2004 is documents and
final drafts.
I have set it up that the alias (DOEJ) is the primary key in Table A, and an
autonumber is primary key in table B (the alias is a foreign key in this
table), Table C’s primary key is the box number (the box number is a foreign
key for Table D). But I am having problems joining Table D to Table B. So
far I have a one-to-many enforced join from Table B’s autonumber to Table D
in a number field. This works for building a relationship. But how can I
set up a query/form which makes selecting a file simple?
I was thinking that through a query I can build a combo box displaying the
autonumber as a combination of client alias and file number ex. DOEJ-1001.
For data-entry the user needs access to a list of file numbers to add to a
new box (table C "Storage Box Inventory" with subform of table D).
Is there a way to accomplish this? Or am I approaching this wrong?
Thanks for the help.