Question:
How do I make a form with an "Add Record" button which creates a new record on a subform?
Example:
Let's say I want to make a "Christmas Shopping Wishlist" for several clients...
First I have a table of clients...
Table: Client
[clientID] (AutoNumber) This will be associated to [clientLink] below...
[clientName] (Text)
And I have a form to create a Christmas shopping list for each person
Table: WishList
[giftID] (AutoNumber) ID number for each item
[clientLink] (number) - link to [clientID] the gift "belongs" to (e.g: who wants it)
[gift] (text) - Literal name of what they might like.
So far so good
Now - I've already added three clients to my "Client" table; Melissa, Simon and Rachael.
Now for the difficult part... How do I make a form, which has...
* a pulldown combobox of [Client] (choose a name)
* a text box for [gift] where I get to type in a new item
* an "Add item" button which enters the data as a new item for the [gift] table each time it is pressed (repeats are allowed if it makes things easier.)
* A subform showing either the full table of the shopping list (all clients) or maybe just a query showing the list for whichever client is currently chosen in the [Client] combobox.
I hope I've written that clearly. The real example I want to use this with is rather complicated. The part I don't get is making the "New Record" button update fields in another table.
How do I make a form with an "Add Record" button which creates a new record on a subform?
Example:
Let's say I want to make a "Christmas Shopping Wishlist" for several clients...
First I have a table of clients...
Table: Client
[clientID] (AutoNumber) This will be associated to [clientLink] below...
[clientName] (Text)
And I have a form to create a Christmas shopping list for each person
Table: WishList
[giftID] (AutoNumber) ID number for each item
[clientLink] (number) - link to [clientID] the gift "belongs" to (e.g: who wants it)
[gift] (text) - Literal name of what they might like.
So far so good

Now for the difficult part... How do I make a form, which has...
* a pulldown combobox of [Client] (choose a name)
* a text box for [gift] where I get to type in a new item
* an "Add item" button which enters the data as a new item for the [gift] table each time it is pressed (repeats are allowed if it makes things easier.)
* A subform showing either the full table of the shopping list (all clients) or maybe just a query showing the list for whichever client is currently chosen in the [Client] combobox.
I hope I've written that clearly. The real example I want to use this with is rather complicated. The part I don't get is making the "New Record" button update fields in another table.