Module Members (Access)
A Module object refers to a standard module or a class module.
Methods
Name |
Description |
---|---|
The AddFromFile method adds the contents of a text file to a Module object. The Module object may represent a standard module or a class module. |
|
The AddFromString method adds a string to a Module object. The Module object may represent a standard module or a class module. |
|
The CreateEventProc method creates an event procedure in a class module. |
|
The DeleteLines method deletes lines from a standard module or a class module. |
|
Finds specified text in a standard module or class module. |
|
The InsertLines method inserts a line or group of lines of code in a standard module or a class module. |
|
The InsertText method inserts a specified string of text into a standard module or a class module. |
|
The ReplaceLine method replaces a specified line in a standard module or a class module. |
Properties
Name |
Description |
---|---|
You can use the Application property to access the active Microsoft Access Application object and its related properties. Read-only Application object. |
|
The CountOfDeclarationLines property returns a Long value indicating the number of lines of code in the Declarations section in a standard module or class module. Read-only Long. |
|
The CountOfLines property returns a Long value indicating the number of lines of code in a standard module or class module. Read-only Long. |
|
The Lines property returns a string containing the contents of a specified line or lines in a standard module or a class module. Read-only String. |
|
You can use the Name property to specify or determine the string expression that identifies the name of an object. Read/write String. |
|
Returns the parent object for the specified object. Read-only. |
|
The ProcBodyLine property returns the number of the line at which the body of a specified procedure begins in a standard module or a class module. Read-only Long. |
|
The ProcCountLines property returns the number of lines in a specified procedure in a standard module or a class module. Read-only Long. |
|
The ProcOfLine property returns the name of the procedure that contains a specified line in a standard module or a class module. Read-only string. |
|
The ProcStartLine property returns avalue identifying the line at which a specified procedure begins in a standard module or a class module. Read-only Long. |
|
Indicates whether a module is a standard module or a class module. Read-only AcModuleType. |