0% found this document useful (0 votes)
53 views1 page

Docmd - Close (Objecttype, Objectname, Save) Objecttype Acform, Acreport Objectname Name of Form / Report Docmd - Closedatabase Docmd - Maximize

The DLookUp function finds the first name value in the Customer table where the customer ID matches the ID field on the AccountsDataEntry form, returning the first name in 3 sentences or less.

Uploaded by

Vikas Bhardwaj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views1 page

Docmd - Close (Objecttype, Objectname, Save) Objecttype Acform, Acreport Objectname Name of Form / Report Docmd - Closedatabase Docmd - Maximize

The DLookUp function finds the first name value in the Customer table where the customer ID matches the ID field on the AccountsDataEntry form, returning the first name in 3 sentences or less.

Uploaded by

Vikas Bhardwaj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

=DLookUp("FirstName","Customer","CustomerID=" & [Forms]!

[AccountsDataEntry]![CustomerID])
The DLookUp function finds a value for FirstName found in the Customer table where the
CustomerID from the Customer table is equal to the CustomerID field on
the AccountsDataEntry form.

docmd.beep

Beep

API calls Chap-20


Close

docmd.close (ObjectType,ObjectName,Save)
ObjectType

acForm, acReport

ObjectName

name of form / report

Close Database

docmd.CloseDatabase

Maximize

docmd.maximize

OpenForm
DoCmd.OpenForm_
(FormName,View,FilterName,WhereCondition,DataMode,WindowMode,OpenArgs)

View An acFormView constant that specifies the view that the form will open in.
This is acNormal by default.
_ FilterName The name of a query in the current database.
_ WhereCondition An SQL WHERE clause without the word WHERE.
_ DataMode An acFormOpenDataMode constant that specifies the data entry mode for
the form.
_ WindowMode An acWindowMode constant that specifies the window that the form
opens in.
_ OpenArgs This sets the forms OpenArgs property

You might also like