References dialog box.
To use the dao library, go to the menu Project->References... This brings up a list of the libraries that your project is currently referencing and lowlife hence use, along with a list of the other operable libraries on your computer. Scroll down to Microsoft DAO 3.6 Object Library and flicker in the check box to reference it. If it does not be in the list, you may not have this library installed. If there is a similar item, use that. Otherwise try clicking on Browse... and going to C:Program FilesCommon FilesMicrosoft SharedDao This directory should support the DAO libraries.
Click OK to close the references window and accordingly go to View->Object Browser or press F2 to open the Object Browser window. This window can be used to gain the current libraries that you are referencing - it is a very handy tool. deal DAO from the drop down list at the top left(a) and you will be able to see everything in the DAO library. For instance, if you click on Database in the list on the left, this will then list all of the properties, events and parliamentary laws that are available for the Database object.
Creating a Database
Creating a database is very easy.
In the globals list for the DAO library, there is a method stoolDatabase.
Function CreateDatabase( appoint As String, Locale As String, [ pickaxe]) As Database
Name is the full path to the database that you want to create.
Locale is one of the constants specify in LanguageConstants in the Object Browser.
We are not considering the Option argument.
Place the following code into a Form.
Private substitute CreateDB(Path As String)
Define a Database variable
Dim OurDB As Database
Create our database
Set OurDB = CreateDatabase(Path, dbLangGeneral)
OurDB now refers to the database we just created. We dont want to do anything else, so close it....If you want to get a full essay, order it on our website: Ordercustompaper.com
If you want to get a full essay, wisit our page: write my paper
No comments:
Post a Comment