K
Kevin
Hi,
This is supposed to be easy (from what I've read) but I guess I'm just
not experienced enough with Access 2000.
*******************************
Scenario:
I have two forms: frmParent and frmChild
frmParent's source is from tblParent and has a field called Ticket
(made up of automatically incrementing long integers). The textbox
displaying the ticket number is called txtTicket
frmChild's source is from tblChild and has a field called TicketChild.
This field is a direct 1on1 relationship with tblParent's Ticket
field. The textbox displaying this field on the subform is called
txtTicketChild.
What I'm trying to do:
When frmParent is opened (with frmChild as a subform embedded within
it), I want the subform to just show records that match the contents
of txtTicket and filter the rest out.
******************************
When I open frmParent, what I end up getting is all the records from
the tblChild displaying inside frmChild rather than just the filtered
records.
Can someone please help me out? If coding is required (I didn't think
I needed to code anything), a simple sample code would be greatly
appreciated.
Thanks in advance for your time.
-Kevin
This is supposed to be easy (from what I've read) but I guess I'm just
not experienced enough with Access 2000.
*******************************
Scenario:
I have two forms: frmParent and frmChild
frmParent's source is from tblParent and has a field called Ticket
(made up of automatically incrementing long integers). The textbox
displaying the ticket number is called txtTicket
frmChild's source is from tblChild and has a field called TicketChild.
This field is a direct 1on1 relationship with tblParent's Ticket
field. The textbox displaying this field on the subform is called
txtTicketChild.
What I'm trying to do:
When frmParent is opened (with frmChild as a subform embedded within
it), I want the subform to just show records that match the contents
of txtTicket and filter the rest out.
******************************
When I open frmParent, what I end up getting is all the records from
the tblChild displaying inside frmChild rather than just the filtered
records.
Can someone please help me out? If coding is required (I didn't think
I needed to code anything), a simple sample code would be greatly
appreciated.
Thanks in advance for your time.
-Kevin