Is it possible to open a database using:
Set MyDb = DBEngine(0).OpenDatabase("DemoData"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
and then set the RecordSource of a Form to a Table within this database, effectively binding it to that Table?
Using an unbound form with 3 fields on it, I was able to open a database (as above) and then create a RecordSet based on a Table within that database. I then put the values of the fields into the relevant fields.
I want to achieve the same result through Binding the Form to a Table which is contained within a .mdb that has been opened using the above code. Is this possible?
Phew!
Set MyDb = DBEngine(0).OpenDatabase("DemoData"
and then set the RecordSource of a Form to a Table within this database, effectively binding it to that Table?
Using an unbound form with 3 fields on it, I was able to open a database (as above) and then create a RecordSet based on a Table within that database. I then put the values of the fields into the relevant fields.
I want to achieve the same result through Binding the Form to a Table which is contained within a .mdb that has been opened using the above code. Is this possible?
Phew!