A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Availability during a period



 
 
Thread Tools Display Modes
  #1  
Old June 27th, 2004, 09:12 PM
Iris
external usenet poster
 
Posts: n/a
Default Availability during a period

I am btrying to put together a database that will track
rental and how many additional copies I have available

Order table has the item to be rented and a start and end
period. inventory table as the items and how many of
each. I need to know how many of the items I still have
available. so if an item is rented for 3 days I reduce
it from inventory on all 3 days (not just the start).

I have created a cross-tab query that tells me how many
are rented. however, it is only taking to account the
first day (start-of-rental) and does not take into
account the days between start-of-rental and end-of-
rental.

do you unerstand what I am trying to do? can anyone help
  #2  
Old June 27th, 2004, 10:25 PM
ChrisJ
external usenet poster
 
Posts: n/a
Default Availability during a period

From a practical point of view, you are going to end up
with false data. As it turns out, the practical solution
is much simpler.
By pre-logging returns, you will have false data whenever
a return is late, and as you are working in day "lumps",
the data could be wrong for at least part of the return
day.
Have you considered having a "total stock" field to record
how many you own, and a "current stock" field to record
how many are "on the shelf". The "current stock" value
could be decreased as an item is rented, and increased
when an item is returned - both real time.

-----Original Message-----
I am btrying to put together a database that will track
rental and how many additional copies I have available

Order table has the item to be rented and a start and end
period. inventory table as the items and how many of
each. I need to know how many of the items I still have
available. so if an item is rented for 3 days I reduce
it from inventory on all 3 days (not just the start).

I have created a cross-tab query that tells me how many
are rented. however, it is only taking to account the
first day (start-of-rental) and does not take into
account the days between start-of-rental and end-of-
rental.

do you unerstand what I am trying to do? can anyone help
.

  #3  
Old June 27th, 2004, 10:47 PM
external usenet poster
 
Posts: n/a
Default Availability during a period

sounds good. I already have a total stock field. How do
I automatically maintain a current stock field? without
having someone constantly update it? or is it even
possible?
-----Original Message-----
From a practical point of view, you are going to end up
with false data. As it turns out, the practical solution
is much simpler.
By pre-logging returns, you will have false data

whenever
a return is late, and as you are working in day "lumps",
the data could be wrong for at least part of the return
day.
Have you considered having a "total stock" field to

record
how many you own, and a "current stock" field to record
how many are "on the shelf". The "current stock" value
could be decreased as an item is rented, and increased
when an item is returned - both real time.

-----Original Message-----
I am btrying to put together a database that will track
rental and how many additional copies I have available

Order table has the item to be rented and a start and

end
period. inventory table as the items and how many of
each. I need to know how many of the items I still

have
available. so if an item is rented for 3 days I reduce
it from inventory on all 3 days (not just the start).

I have created a cross-tab query that tells me how many
are rented. however, it is only taking to account the
first day (start-of-rental) and does not take into
account the days between start-of-rental and end-of-
rental.

do you unerstand what I am trying to do? can anyone help
.

.

  #4  
Old June 28th, 2004, 12:53 AM
ChrisJ
external usenet poster
 
Posts: n/a
Default Availability during a period

I guess that depends on your existing stock handling
procedures. You were already planning to enter a whole
bunch of data when a rental went out. It seems to me that
recording the return would not be overly onerous. If you
employ barcoding and had a dedicated PC to handle returns
it could be even easier.

-----Original Message-----
sounds good. I already have a total stock field. How do
I automatically maintain a current stock field? without
having someone constantly update it? or is it even
possible?


  #5  
Old June 28th, 2004, 05:46 AM
Allen Browne
external usenet poster
 
Posts: n/a
Default Availability during a period

The simplest approach might be to calculate the stock level at the time you
need it.

See:
Inventory Control - Quantity On Hand
at:
http://allenbrowne.com/AppInventory.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Iris" wrote in message
...
I am btrying to put together a database that will track
rental and how many additional copies I have available

Order table has the item to be rented and a start and end
period. inventory table as the items and how many of
each. I need to know how many of the items I still have
available. so if an item is rented for 3 days I reduce
it from inventory on all 3 days (not just the start).

I have created a cross-tab query that tells me how many
are rented. however, it is only taking to account the
first day (start-of-rental) and does not take into
account the days between start-of-rental and end-of-
rental.

do you unerstand what I am trying to do? can anyone help



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
My Schedule: Am I dreaming? JEM Links and Linking 2 May 22nd, 2004 02:53 AM
In IRR period in data flow compared to period in result percentage JCN Worksheet Functions 0 April 30th, 2004 06:41 PM
Attendee availability not showing user availability Ed Konopczynski Calendar 0 April 27th, 2004 08:52 PM
My Schedule: Am I dreaming? JEM Charts and Charting 0 April 19th, 2004 05:44 AM
Time period Renee' Worksheet Functions 1 April 7th, 2004 03:54 PM


All times are GMT +1. The time now is 10:44 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.