473,399 Members | 3,603 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Inmate Confined List Hide Old Records from Current Ones

I am creating a confined list using Access 2007, which will show which inmates are currently being housed at our facility, and for what charges. I have already created a Table, Form, and Report that works exactly as I would like it to. However, I would like an option to keep a report or something similar of anyone that has been entered into this confined list, but without them showing up on the daily confined list. This would help us if later down the road we had an issue, we could look back to see if that person had been in our custody at some point or another. Any help on a way to accomplish this would be great.

This is my first experience with Access.

Kyle
Apr 11 '16 #1

✓ answered by PhilOfWalton

All you need is a field in your inmate record lets call it IsInmate - Yes/No field with default value of yes. So when you add a new "customer" they are automatically an inmate. I would be tempted to add a field for the date when they ceased to be in your care as well. Your forms and reports would need a filter for IsInmate = True for current guests, IsInmate = False for those no longer in your care, and no filter to get everyone.

Phil

6 1085
PhilOfWalton
1,430 Expert 1GB
All you need is a field in your inmate record lets call it IsInmate - Yes/No field with default value of yes. So when you add a new "customer" they are automatically an inmate. I would be tempted to add a field for the date when they ceased to be in your care as well. Your forms and reports would need a filter for IsInmate = True for current guests, IsInmate = False for those no longer in your care, and no filter to get everyone.

Phil
Apr 11 '16 #2
PhilOfWalton,

That was too easy! I guess I was trying way to hard to figure it out! Thanks for the help, it worked perfectly for what I needed it to do.

Kyle
Apr 11 '16 #3
NeoPa
32,556 Expert Mod 16PB
A date for the last time they were released would be a great idea. If the date is set and in the past then they are no longer an inmate.

I say last time for good reason. Repeat offenders will have multiple start and finish dates and, if you need an inmate, rather than an inmate instance, table then storing an infinite number of dates would be impossible. Storing a managed list such dates with an assumption of how many times an inmate can reappear is possible, but don't go there. It's a very bad idea. If you get to the point where you need that info then a separate table of dates would be the solution, each with a parent record in the inmate table.

The nice thing about a date, as opposed to a simple boolean flag, is that it holds all the information you need, plus more for likely expansion later ;-)
Apr 11 '16 #4
PhilOfWalton
1,430 Expert 1GB
On the contrary, Access is ideal for keeping a record of how frequently your "Customers" pay you a visit. I have a horrible feeling you are thinking of Excel where all the dates would be strung out along a record.
All you need is a table with
InmateID
DateIn
DateOut

and this would be linked to your main table.
You would have a main form showing fixed information on each inmate, and a subform showing dates in and out for that person.
As a poor alternative, you could keep a record of the number of "Visits", just add 1 each time they are admitted.
Th advantage of method 1 is that along with the dates, you can hold information on crime committed, sentence and any other information specific to that visit.

Phil
Apr 11 '16 #5
We use a separate program for booking purposes and in depth records. This is just a program that will be on each computer accessible by staff that will show exactly who we currently have in custody and what is going on with them. This is due to the fact that we get phone calls throughout the day, inquiring about a specific inmate. This would be a way for anyone answering the phone to have the info needed. We have a board in our main booking room that has the same info (Arrest #, Name, Property #, Race, Sex, Date/Time In, Date/Time To Be Released, Hold Info/Bond Info/Fugitive Depts Info).

I have added a Yes/No Release Field, along with a Release Date Field, and set everything to Filter the individual record once Released has been selected and a date has been entered.

Kyle
Apr 11 '16 #6
NeoPa
32,556 Expert Mod 16PB
PhilOfWalton:
On the contrary, Access is ideal for keeping a record of how frequently your "Customers" pay you a visit.
I'm a little confused Phil. What/who is this in response to? I see no opposing view stated.

Maybe you're referring to my statement :
NeoPa:
if you need an inmate, rather than an inmate instance, table then storing an infinite number of dates would be impossible.
I was hoping that was clear I was still referring to the inmate table. IE. Storing an infinite set of dates in that table. I think I probably should have made that clearer.

As was made clear later, the idea of a separate table was also explored. Probably not required in this particular instance but it never hurts to raise ideas in case the idea finds fruitful ground.
Apr 11 '16 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: DC | last post by:
Hi, for diagnostic purposes I would like to dump out the Request.RawUrl (and how long they are already in process) of ALL requests an ASP.Net AppDomain is currently serving. Is there an easy way...
7
by: Kristan | last post by:
Hi there, quick question, how would I retrieve a list of files in ANSI C in a purely platform independent way? Any pointers would be great! thanks Kristan
9
by: ECUweb | last post by:
Hi, I need to sort out a list of records based on the field "Weight" and then allocate points (from 1 to 10) to each record (in another field "Points") depending on the position of the record in the...
4
by: colonial | last post by:
I was wondering if what I'm trying to do in Access XP and 2003 is possible. I've looked at countless templates and samples and havn't seen anything like what I want to do to be able to construct it....
0
by: saaimurugan | last post by:
Hi i have a problem in VB .NET, SQL 7 The selected row in the datagridview can not be made invisible= True. it pops the following error "Row associated with the currency manager's position...
1
by: softpro2k | last post by:
I have a table like this: |==============================================| |Type |Name |Weight | Date of weighing | |==============================================| |Children | Gablu |...
2
maxamis4
by: maxamis4 | last post by:
Hello folks, I am still moving into the world of sql server and I need some help. In oracle there is a statement that is called "in list". Basically means what ever is returned from a select...
1
by: Nathan Mann | last post by:
I've been looking at the Simple Perl Database Program? By Blair Ireland Senior Editor, TheScripts.com and so far it functions exactly as expected. I'm looking for a way to add a simple "List"...
7
by: DanicaDear | last post by:
I am almost embarassed to ask this question but I can't figure it out... I want to build a simple database where I track the overtime for 17 employees. I have two tables: tblEmployees (only...
6
by: mcupito | last post by:
I'd like to list the multiple records on the form. I'll attach images because it's just easier that way. On the form, instead of the row selector, I'd like it to just list the different Totals. I...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.