473,789 Members | 2,893 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Files and Status/Location Keys

11 New Member
I am working on a project for a law firm where the different files are either boxed or unboxed. Unboxed files can be on a lawyer's desk, on the secretary's desk, or on a shelf in the back room.

A file which is Boxed must have the same status and location of its assigned box. If the box’s status or location changes, the status or location of any boxed files must be changed as well. This should happen automatically. A file which is not boxed may have a different status and location from that of its assigned box; however the status and location must not be offsite. All Offsite files must be boxed.

Box Table

Box Key PK
Box ID
Box Destroy Yes/no (has the box been destroyed)
Box Status FK
Box Location FK

Location Table

Location ID FK
Location Description Text

Status Table

Status_ID_FK
Status Name Text
Status Description Text

File Table (refers to items within a clients file folder)

File ID
File Number
File Description
File Boxed Y/N
File Destroy Y/N
Client Number (linked to number in client table)
File Status FK
File Location FK
Box Key

Any help y'all can give me would be appreciated.

steve
Aug 22 '07 #1
3 1708
Rabbit
12,516 Recognized Expert Moderator MVP
So what is the problem exactly?
Aug 22 '07 #2
JKing
1,206 Recognized Expert Top Contributor
My first thought is to turn on cascade updates. Though without fully understanding the system this may causes issues...

From my understanding all files will at one time or another be in a box. If the file has been removed from the box it is flagged as such. A file is removed because it is in use. Upon moving a box any files that are currently in the box should have their location and status updated to match that of the box that they are in.

Because of this condition I dont believe you'd be able to cascade updates but rather you'd need a trigger to fire off on the afterupdate of the box table. If you're doing direct table manipulation I'm not sure if this is possible. If you're using forms I would suggest coding an after update event on the box form that will update the files table for those files in the moved box.
Aug 22 '07 #3
unclesteve
11 New Member
My first thought is to turn on cascade updates. Though without fully understanding the system this may causes issues...

From my understanding all files will at one time or another be in a box. If the file has been removed from the box it is flagged as such. A file is removed because it is in use. Upon moving a box any files that are currently in the box should have their location and status updated to match that of the box that they are in.

Because of this condition I dont believe you'd be able to cascade updates but rather you'd need a trigger to fire off on the afterupdate of the box table. If you're doing direct table manipulation I'm not sure if this is possible. If you're using forms I would suggest coding an after update event on the box form that will update the files table for those files in the moved box.
Elegant. Thank you. This is my first Access project since getting my MS certification and I'm learning just how much stuff was not covered in the course.
Aug 22 '07 #4

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

Similar topics

2
1763
by: KennethBohman | last post by:
Hi everybody, Question: how can I use the executable.config-files during installation? The answer might seem obvious, but there is apparently more to it! My itention was, as part of the iinstallation, to write write two settings to the .config file for the executable. I don't usually do that, but for such a small application I thought it would be alright. I created a simple Install class, added an override for the Install
3
2882
by: Florida Coder | last post by:
I have the need to store some application specific configuration data to be used by a class library and or a windows service. I would like to do this in a fashion similar to the way we do with applications and web services without having to use the machine.config file. I know that I could use the code below to do this but the problem then becomes that when using a shared assembly both the assembly and the config file need to be put...
1
3454
by: Scott Davies | last post by:
Hi, I'm looking for some help on a small program that I'm trying to develop in VB.NET. I'm having trouble getting the code that I've written to work, can anyone shed some light as to where I'm going wrong. The program has been written to do the following tasks: - Select remote server - Select from two specific services
0
3940
by: Scott Davies | last post by:
Hi, I'm looking for some help on a small program that I'm trying to develop in VB.NET. The program I'm trying to develop needs to be able to do the following: - Select remote server - Select from two specific services - Check the status of the server
5
8951
by: Boni | last post by:
Dear all, How do I get information if Shift is pressed in a mouse wheel handler. Thanks, Boni Sub MouseWheel(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) 'mouse whill handler If SHIFT is pressed and e.delta..... End Sub
42
34247
by: Greg | last post by:
Hi, I've designed a bookmark in Ajax / PHP that I will put soon on sourceforge.net. But I've got an very tricky bug. I try it on some computers with Internet Explorer/Windows, Firefox 1.07/Linux, Firefox 1.5/Linux, Firefox 1.5/Windows and Firefox 1.5/Mac, Safari/Mac. It works perfectly on a lot of configurations but, on some PC with Firefox 1.5/Windows (not all), the Javascript code with XmlHttpRequest
3
7097
by: Steve Teeples | last post by:
I have a simple application built with several DLLs that access XML files for information. My local setup works just fine. As defined in my Install folder, the files are copied to the "application folder" and the DLLs find them just fine. However, when I publish the same application to a local server for users to use the "click once" install feature, my XML, XMS files are NOT copied to the local machine's application folder. All other...
13
4901
by: anil.rita | last post by:
When the user chooses an AV file to play, based upon the type of file, I want to use the default installed media player to play it. I am wondering if this is a good way - any alternatives, suggestions or improvements? if( wmv file) document.write("<OBJECT id=Player classid=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 height="354" width="479">
18
4155
by: mistral | last post by:
Is there some other (more advanced) effects for status bar, other than standard Scroller Bar, TypeWriter Scroller, Flashing Bar, Decrypter, Ticker, World Clock?
0
9665
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10408
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10199
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9983
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9020
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6768
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5417
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3697
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2909
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.