P
Pwyd
Okay so i built myself a table and a query to power a subform. I wanted a
one to many relationship between the main record table and the subform's
table. Few questions. I want the relationship between the two tables
themselves, not the query that i'm using to feed the form, correct? ( i was
always taught you should use a query to drive a form, not the actual table
the data is in)
Next question. I'd like the subform to only display records that have the
same invoice number in them. So there are two problems ih ave with this. in
one case, i was getting some errors with "automation", where it wasn't
listing the proper records, or any at all. The second was that it wasn't
adding the invoice number (the field that had a one to many relationshp) to
the new records on the subform as they were created, even though i set the
default value to [Forms]![myform]![myinvoicenumberfield].
i thought i understood this concept fairly well, however when i flick over
to the next record on the main form, the subform is still showing the same
set of records, rather than a blank set like it should be, since no records
exist where the subform's invoice number match the second record in the main
form. What am i doing wrong?
one to many relationship between the main record table and the subform's
table. Few questions. I want the relationship between the two tables
themselves, not the query that i'm using to feed the form, correct? ( i was
always taught you should use a query to drive a form, not the actual table
the data is in)
Next question. I'd like the subform to only display records that have the
same invoice number in them. So there are two problems ih ave with this. in
one case, i was getting some errors with "automation", where it wasn't
listing the proper records, or any at all. The second was that it wasn't
adding the invoice number (the field that had a one to many relationshp) to
the new records on the subform as they were created, even though i set the
default value to [Forms]![myform]![myinvoicenumberfield].
i thought i understood this concept fairly well, however when i flick over
to the next record on the main form, the subform is still showing the same
set of records, rather than a blank set like it should be, since no records
exist where the subform's invoice number match the second record in the main
form. What am i doing wrong?