Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Nov 3rd, 2005, 7:23 PM   #1
gj15987
Programmer
 
Join Date: Feb 2005
Posts: 47
Rep Power: 0 gj15987 is on a distinguished road
Linking 2 tables

Hi,

This is hard to explain so i'll give all the background information.

I'm making a system that can be used by a reptile shop to keep track of the animals etc. Each animal has a feeding interval which says how many days apart it should have its next meal.

I have a feeding table consisting of Feeding ID, Reptile ID and Date.

I want to have a form that will show all animals that are due a feed.

So I need the feeding table to look up the animal table, find the matching reptile ID, add on the feeding interval for that animal to the date last feeding date and if the date is less than today, then the animal is due a feed.

If anyone could help me in working out how to
1. Find the latest feeding reccord for each animal
2. Add on its feeding interval
3. Calculate whether its due a feed

Any help would be greatly apprechiated.

Thanks
Grant.
gj15987 is offline   Reply With Quote
Old Nov 4th, 2005, 8:42 AM   #2
gj15987
Programmer
 
Join Date: Feb 2005
Posts: 47
Rep Power: 0 gj15987 is on a distinguished road
Sokay! I sussed it thanks! lol
gj15987 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:06 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC