A.7. Chapter 7
Linking stores only a pointer to the location of the underlying data source, and updates are made to the original data itself. Linking is a good idea when the data resides on a database server that your application and others can use, the data is used by another program that requires the native file format, or the underlying data needs to be updated on a regular basis in its native format. Importing data actually brings a copy of the data into your Access database. Reasons for importing data include moving an existing system that is being migrated to a new application, and having numerous data operations that need to be run against the data from another source in a speedy fashion when you do not need to change that data.
TransferDatabase allows you to import, export, and link to various types of databases, such as Access and SQL Server. You specify various parameters to indicate which type of action should be performed. TransferSQLDatabase transfers the entire contents of a particular SQL Server database to your application.
You can use the SendObject method to generate an e-mail programmatically using VBA. This method allows you to generate an e-mail with or without attachments. You can use this method to create just one e-mail, or multiple e-mails, such as for a mailing list.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access