AlvaroCity
Registered User.
- Local time
- Today, 14:48
- Joined
- Jul 16, 2016
- Messages
- 70
Hello there!
I am working on a database and I bump into a huge problem.
I have 2 tables: Dispatches Notes and Invoices and both are linked together in another table "tblDispatchNotesInvoice"
On the form in order to develop the invoices I choose the "dispatch notes ID" using a combobox with a specific criteria depending on the Client and the "InvoicesID" with the main form.
The outcome its shown on the Subform: Table "tblDispatchNotesInvoice"
Link Master fields: "InvoiceID; cboDispatchNoteID"
Link Child Fields: "InvoiceID;DispatchNoteID"
The problem is when I want to populate the subform
.
First of all I have to type manually the "InvoiceID" from the Subform when this should be done automatically.
And then the rest of the records are cleared so I can just see the records that are introduced at that precisely moment.
If I reopen the form, All the records are displayed and I check the table "tlbDispatchNotesInvoice" and all the records are perfectly introduced.
I think I have to write some code to requery or to do something but I dont know what it is....
Please If you need more information, let me know.
This video shows my database and the problem much more clearly.
ww.youtube.com/watch?v=bTbcexLFR6E
**Please add an "w" to get the link to youtube
Please note that my database is in Spanish. Some extra help to understand it "Albaran" is "Dispatch Note" and "Factura" is "Invoice" (Everyday is School day
)
I hope you can help me.
I am working on a database and I bump into a huge problem.
I have 2 tables: Dispatches Notes and Invoices and both are linked together in another table "tblDispatchNotesInvoice"
On the form in order to develop the invoices I choose the "dispatch notes ID" using a combobox with a specific criteria depending on the Client and the "InvoicesID" with the main form.
The outcome its shown on the Subform: Table "tblDispatchNotesInvoice"
Link Master fields: "InvoiceID; cboDispatchNoteID"
Link Child Fields: "InvoiceID;DispatchNoteID"
The problem is when I want to populate the subform

First of all I have to type manually the "InvoiceID" from the Subform when this should be done automatically.
And then the rest of the records are cleared so I can just see the records that are introduced at that precisely moment.
If I reopen the form, All the records are displayed and I check the table "tlbDispatchNotesInvoice" and all the records are perfectly introduced.
I think I have to write some code to requery or to do something but I dont know what it is....
Please If you need more information, let me know.
This video shows my database and the problem much more clearly.
ww.youtube.com/watch?v=bTbcexLFR6E
**Please add an "w" to get the link to youtube
Please note that my database is in Spanish. Some extra help to understand it "Albaran" is "Dispatch Note" and "Factura" is "Invoice" (Everyday is School day

I hope you can help me.
Last edited: