I'm sure this will be obvious to most of you...
I have a form which I think I need three ADO Data controls. One for tblInvoices, tblReceipts and tblVoids.
On the screen the user enters a invoice number and the three grids are to then show any data they may have for that invoice number. The table structures are different enough that I don't want to combine them into one SQL Select statement.
When I try to run the screen I get an error. "Method or data member not found" I get it on the Load() adoInvoiceHistory.Mode = adModeRead
Private Sub Form_Load()
cnInvoice.Open "Provider=Microsoft.Jet.OLEDB.4.0; Data Source = " & thePath
adoInvoiceHistory.Mode = adModeRead
adoInvoiceHistory.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source = " & thePath
I guess my question is: Is this because I have 3 ADO connections? I am confusing the form?
Any insight on this would be great!
Thanks.
I have a form which I think I need three ADO Data controls. One for tblInvoices, tblReceipts and tblVoids.
On the screen the user enters a invoice number and the three grids are to then show any data they may have for that invoice number. The table structures are different enough that I don't want to combine them into one SQL Select statement.
When I try to run the screen I get an error. "Method or data member not found" I get it on the Load() adoInvoiceHistory.Mode = adModeRead
Private Sub Form_Load()
cnInvoice.Open "Provider=Microsoft.Jet.OLEDB.4.0; Data Source = " & thePath
adoInvoiceHistory.Mode = adModeRead
adoInvoiceHistory.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source = " & thePath
I guess my question is: Is this because I have 3 ADO connections? I am confusing the form?
Any insight on this would be great!
Thanks.