I have created a database using the RecordSet function. So for example:
Set History = db1.OpenRecordSet ("InventoryHistory")
HOwever, previous to this function, I declared :
dim History as Database
and then:
Set dbsCurrent = OpenDatabase("c:\fluid system database\fluidsys22.mdb")
Is there a way to just declare the database as the current one? Because what happens if I change the database's name or directory (it will probaly mess up the function)?
Is there some shorthand to it, like Me.something, instead of Forms!FormName.something?
Please help!
Set History = db1.OpenRecordSet ("InventoryHistory")
HOwever, previous to this function, I declared :
dim History as Database
and then:
Set dbsCurrent = OpenDatabase("c:\fluid system database\fluidsys22.mdb")
Is there a way to just declare the database as the current one? Because what happens if I change the database's name or directory (it will probaly mess up the function)?
Is there some shorthand to it, like Me.something, instead of Forms!FormName.something?
Please help!