Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / May 2008

Tip: Looking for answers? Try searching our database.

Chain of Custody Generation?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jessi - 01 May 2008 06:47 GMT
Hello,

I'm trying to set up the tables, forms, and reports required to generate
chains of custody for samples collected in the field.  So far I have the
following tables:

tblCOC
RecordID (pk)
SampleID
SampleType
ContainerType
NoContainers
DatePacked
TimePacked

tblAnalysesReqd
Id (pk)
RecordID (fk)
AnalysesReqd

Each sample will be entered multilple times in tblCOC throughout the course
of the project (which is why the SampleID is not the primary key).  Each
sample will need to be analyzed for multiple contaminants.  So there will be
one record in tblCOC to many records in tblAnalysesReqd.    Some example
records would be:

tblCOC
RecordID (pk) = 1
SampleID = BD-0WW58-X-0001
SampleType = Rock
ContainerType = glass
NoContainers = 3
DatePacked = 4/30/08
TimePacked = 15:30

tblAnalysesReqd
Id (pk) = 1
RecordID (fk) = 1
AnalysesReqd = VOC

tblAnalysesReqd
Id (pk) = 2
RecordID (fk) = 1
AnalysesReqd = Tritium

tblAnalysesReqd
Id (pk) = 3
RecordID (fk) = 1
AnalysesReqd = Deuterium

I can set up a form (frmCOC) to input the data stored in tblCOC, but I would
like there to be a link of some kind to the form (frmAnalysesReqd) to input
the data for the tblAnalysesReqd.  I would like to pass the RecordID from the
frmCOC to the frmAnalysesReqd when its opened.  I think I could figure this
part out.  What I'm having difficulty with is a way for the user to choose
multiple analyses for each RecordID which would be stored as separate records
in the tblAnalysesReqd.  

I envision something like:

RecordID = 1

VOC             X
Tritium         X
Deuterium
Inorganics     X

In this case RecordID = 1 would appear in tblAnalysesReqd 3 times (once for
analyses VOC, once for Tritium, and once for Inorganics).  

I'm not certain if this question makes any sense at all.  Please let me know
if I can clarify in anyway because I'm really stumped.

Regards,

Jessi
Jessi - 01 May 2008 15:44 GMT
I would like to withdraw this post.  I figured out an easier way to approach
the problem.

Jessi

> Hello,
>
[quoted text clipped - 72 lines]
>
> Jessi
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.