Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add new record to subform

Status
Not open for further replies.

gnosis13

Programmer
Jul 13, 2001
263
US
Heres the setup in Access. I have two tables with a relationship one(T1) to many(T2). T1's key is a foreign key in T2. I have a form that displays T1 data and a subform that displays T2. When you change records in T1, the subform records change according to the rules in the relationship.

All is well until you add a new record in T1. The record gets added in T1 as expected, but because there is no record in T2 that corresponds, the subform just hangs on whatever was last displayed.

From T1, can you trigger an Addnew type event in the subform? This sounds simple but I totally can't figure this out!

HELP... A+, N+, MCP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top