I have a form which contains data from 3 tables:
Table A - the main table
Table B, C - supplemental tables
A is linked to B and C in one-to-many relationships. Because there are 3 tables with one-to-many relatioships, this is not an updatable recordset. I can view records but not add, update or delete.
I have created a form based on table A only. All the fields are unbound. I can add records just fine; however, I can't find or update records. I've used the recordsource property:
strSQL = "SELECT * from A where key1 = '" & txtKey1 & "'"
Me.RecordSource = strSQL
but the form doesn't update.
What am I doing wrong? Do I need to use a recordset and pull each field value in to the form variable?
Thanks.
Table A - the main table
Table B, C - supplemental tables
A is linked to B and C in one-to-many relationships. Because there are 3 tables with one-to-many relatioships, this is not an updatable recordset. I can view records but not add, update or delete.
I have created a form based on table A only. All the fields are unbound. I can add records just fine; however, I can't find or update records. I've used the recordsource property:
strSQL = "SELECT * from A where key1 = '" & txtKey1 & "'"
Me.RecordSource = strSQL
but the form doesn't update.
What am I doing wrong? Do I need to use a recordset and pull each field value in to the form variable?
Thanks.