Folks, hi. Hope you can help.
I have a form which displays a filtered set of data based on a FamilyID field (i.e. I have a family Table and I'm displaying Tax Return data specific to a member of that family). When I click the new record button on the form, I get a blank form page, with a Family ID of 0.
I don't have a family member with that ID, but the table 'Family' has a default for Family ID of 0.
Now, I think I understand why this occurs (something to do with the data set being filtered?).
I've subsequently written some code to insert the record into the database with the correct FamilyID, but I've still got this "duplicate" record with FamilyID=0.
Just wondered if anyone can a) explain what's going on and b) get around this "feature".
Thanks to all who contribute a solution.
Kind Regards
John
I have a form which displays a filtered set of data based on a FamilyID field (i.e. I have a family Table and I'm displaying Tax Return data specific to a member of that family). When I click the new record button on the form, I get a blank form page, with a Family ID of 0.
I don't have a family member with that ID, but the table 'Family' has a default for Family ID of 0.
Now, I think I understand why this occurs (something to do with the data set being filtered?).
I've subsequently written some code to insert the record into the database with the correct FamilyID, but I've still got this "duplicate" record with FamilyID=0.
Just wondered if anyone can a) explain what's going on and b) get around this "feature".
Thanks to all who contribute a solution.
Kind Regards
John
Last edited: