Sabtu, 15 April 2017

Re: [MS_AccessPros] Re: MS Form Question

 


Thanks John, Our lambs are all born within a 60 day interval starting early spring. If reserved for breeding stock they will  become sheep at about the same time. Lambs with primary key ID's starting with 17 are born in 2017 and so on. When I need a list of lambs I can filter on > 1699. We do not expect to exceed 99 lambs per year (but that is a limitation of this system). Joanne
------------------------------------------------------------------------------------------------------------------------------------------
---In MS_Access_Professionals@yahoogroups.com, <JohnV@...> wrote :
Joanne-
A more precise measure would be a birth date field.  I assume a "lamb" becomes a "sheep" at a certain age.  If you use a value like FlockID, the "boundary" between lamb and sheep keeps moving because of the forward march of time.  If you need logic to distinguish lambs from sheep, you would need to keep manually changing the FlockID value that determines the boundary.

John Viescas, author
Effective SQL
SQL Queries for Mere Mortals
Microsoft Office Access 2010 Inside Out
Microsoft Office Access 2007 Inside Out
Building Access Applications

On Apr 14, 2017, at 04:24, Joanne Vaughn jovaughn@... [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:

John answered..."with a flag in each record to indicate which ones are lambs. That's why I asked my original question. "
That made me think --- why do I need a flag? That's when I realized that I had instinctively created a flag by skipping to
using FLOCK.ID numbers that started at high numbers which I am using to sort and filter. In addition I have location of birth
I can sort/filter on.
Thanks Joanne

__._,_.___

Posted by: jovaughn@rochester.rr.com
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (8)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.


.

__,_._,___

Tidak ada komentar:

Posting Komentar