I am trying create a form that has the main form as medbill containing vendor name, account number etc. I also have a subform medbilldetail that has invoice number, description, etc. There are two tables, medbill & medbilldetail; medbilldetail has a field medbillID, numeric long integer. The tables are linked 1 to many from ,medbill's ID field to medbilldetail field medbillID (numeric long integer) I created a query that includes all of the fields from both tables.
When I enter data, eveything is fine for the form (medbill data) but when I go to the subform I get the error linkmasterfields property setting has produced "The object doesn't contain the automation object medbill.
I hope that makes sense. Essentially, I am trying to enter information into two linked tables, one as the mainform and the second as a subform on the mainform. I am new to accesss programming so I may be overlooking the obvious. Any suggestions on how to set this form ans subform to process this info?
Thanks
When I enter data, eveything is fine for the form (medbill data) but when I go to the subform I get the error linkmasterfields property setting has produced "The object doesn't contain the automation object medbill.
I hope that makes sense. Essentially, I am trying to enter information into two linked tables, one as the mainform and the second as a subform on the mainform. I am new to accesss programming so I may be overlooking the obvious. Any suggestions on how to set this form ans subform to process this info?
Thanks