I have a sub form (sfProposal) linked to its master using the side by side method. Data in inputed into the sub form. This requires several records as each item on a job requires a separate record. Once it is all correct, a button is pushed. This does many calulations putting the data into other tables and finally on other sub forms.
Problem 1. The sub form, sfProposal, has done it job and the records need to be deleted. When I run the code "DoCmd.RunCommand acCmdDeleteRecord", I get a msg box saying "This record can't be deleted". I can delete the records manually. Also I can delete the records in the table using DAO, but on the form, each field on each record shows "#deleted".
Problem 2. In this same form, I am unable to move from one field to another using code "DoCmd.GoToControl "tbDblQuanity"". I get error code "There is no field named "tbDblQuanity" in the current record". Beleive me, it is there. I have tried every field using the field name and the control name.
Any help is appreciated.