Following on what Jeff Boyce said you need two table in a one-to-many
relationship. Use a form and subform to view and edit the data.
The one side of the set would have CaseID (primary key), Name, Unit,
Charges, Timelines, Actions, Punishments, etc. The second table, many side
of the relation, CaseAction, ActionType, and ActionDate.
You could have another table for the ActionTpye with records like this --
Charges Preferred
Pretrial Restraint
Pretrial Confinement
Arraignment
Trial Start/Resume
Trial Postponement
Trial End
Punishment Begin
Punishment End
In the subform have combox/listbox to pick an action.
--
KARL DEWEY
Build a little - Test a little
"Sgt Gordon" wrote:
> Well there are more fields then just those. Those were just the fields that
> were part of the problem. I have to track Name, Unit, Charges, Timelines,
> Actions, Punishments. All this information on each case and then all that
> data has to be able to be sorted each way and then sorted by multiple fields.
>
>
> I have a 120 Clock on here that I run to tell the lawyers you are on this
> date and that at 120 the case will be dropped.
>
> We used to use Spreadsheets but you can not see single files (Forms) and
> then click and automatically generate a report with all the file that pertain
> to this, that, or the other thing. Also we have multiple clerks generating
> data from four locations and with Spreadsheet one person can only use it at a
> time but with ours multiple clerks can be working and then the next second I
> can generate a report from three or four locations.
>
> "Jeff Boyce" wrote:
>
> > From your description, you have a ... spreadsheet!
> >
> > If you were limited to using Excel (or some other spreadsheet), you'd
> > probably end up using "repeating columns" (date of x, date of y, date of z).
> > But Access is a relational database, and you will not get the best use of
> > its relationally-oriented features and functions if you feed it 'sheet data.
> >
> > If you want to find the "earliest date" (i.e., Minimum) from a set of dates
> > in Access, you need to have them in a single field, separate records, not
> > separate fields, one record.
> >
> > Is there a reason you aren't using Excel?
> >
> > Regards
> >
> > Jeff Boyce
> > Microsoft Office/Access MVP
> >
> > "Sgt Gordon" <(E-Mail Removed)> wrote in message
> > news:55185855-7654-4F1C-8239-(E-Mail Removed)...
> > >I have a database that I track the course of Military Courts. I have to be
> > > able to track, in number of days, the how long the case has gone and stop
> > > on
> > > another date. The Fields are:
> > >
> > > 1. Date Charges were Preferred
> > > 2. Date Entered Pretrial Restraint
> > > 3. Date Entered Pretrial Confinement
> > > 4. Date of Arraignment
> > > 5. Date of Trial
> > >
> > > I need it to be able to pick the earliest date from 1, 2, 3, and calculate
> > > the number of days (what day it is on) till the date of 4 and another to
> > > the
> > > date of 5.
> > >
> >
> >
> >
|