Rabu, 12 April 2017

Re: [MS_AccessPros] MS Form Question

 

Sometimes, but the basic information is also always entered into the FLOCK table using this form.


 Lambs have special measures related to growth etc.that are sequestered in the LAMB table. That table also holds their dam and sire id and other birth information.

Not all sheep in the FLOCK table have entries into the LAMB table as some come in as adult breeders. The FLOCK table has information about origin and disposition. 


So the form enters data into 2 tables

ID - LAMB
     \- FLOCK

but this form must find Lamb.DamID ->FLOCK.SheepName since it is often useful to us humans when we are entering notes and other information to know that 1732 is the daughter of SoNSo.

Thanks Joanne

---In MS_Access_Professionals@yahoogroups.com, <JohnV@...> wrote :

Joanne-

Maybe a silly question, but does a lamb ever grow up to become a sheep?

As for doing what you want, I would think that a form editing LAMB needs to only have a combo box with a Row Source:

SELECT ID, SheepName FROM FLOCK;

Make the Bound Column 1, Column Count 2, and Column Widths 0";1"

John Viescas, Author
Effective SQL
SQL Queries for Mere Mortals 
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications 
(Paris, France)




On Apr 9, 2017, at 6:21 PM, jovaughn@... [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:



[Beginner question... I apologize but racked my brain on this]


I am making a Form using 2 tables LAMB and FLOCK


The Lamb table has information on the births:

ID LambID DamID ....


The FLOCK table has 

ID SheepName ......


I would like to have the Form use the DamId listed in the LAMB table to find the SheepName

in the FLOCK table.


I can create a separate table having LambID and DamId and her SheepName but

The question is 

Do I have to run a separate Query to make a table of DamID and SheepName to fill the Form?


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 (3)

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