Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 6180 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I would like to build a simplae office stationary database.

At present when a staff takes items from the receptionist, the receptionoist keeps a track of it. Below is what she keeps track of:

Date taken:

Taken by:

Department: ( we have 8 departments such as Audio, Video, Graphics etc)

Item Taken:

Quantity:

Purpose:

I have come up with the following tables and fields:

1) Department Table:

Department_id (pk)

Department_name

2)User Table

User_id(pk)

Department_id (fk)

User_name

3) Item Table

Item_id(pk)

User_id(fk)

Date_taken

Quantity

Purpose

Department

I am not sure about this relationship. Is this correct? Could anybidy provide any help please.

Thank you heaps for your time.

Yogesh

Posted

That's looking pretty good. What you're calling "Item Table" I might rename "Tracking" or something, so I could use the name "Items" for an actual list of available items. Does that make sense?

Posted

I would modify the last table to use the department_id also, not the department name. You could consider not having it at all (since user_id implies it), but I suppose users could switch departments, so it might be good to just fill the department_id field in with a lookup at the time an item is taken.

3) Item Table

Item_id(pk)

User_id(fk)

department_id (fk)

Date_taken

Quantity

Purpose

Posted (edited)

Wow, thank you Fitch and Shawn for your so valuable comments.

Could I please ask another question.

Here is my Items Table

Deprtament: (lookup)

User: (lookup)

Item Name

Item Description

Quantity

Purpose

When I use a department say audio, in the User field, I would only like to show the users from that department. How is this done? Its done somehow through self joing tables but not quite sure.

Also, perhaps it will be a good idea that Item Name and Description is also a lookup. Could somebody point me in the right direction please.

Thank you for all your help.

Yogesh

Edited by Guest
Posted

If you are going to have more information about the Item, then you should separate the Tracking from the Item too.

Related valuelists can be used to give only the users in the department as choices (as long as the department is entered first).

Here's a quick & ugly example of how I would set this up - notice you can make it look nicer by stacking the related field names on top of the id fields, but that makes it more confusing to start with.

ItemTracking.fp7.zip

This topic is 6180 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.