Skip to content

Module: Form_Product List

Type: Form
Lines of Code: 3754
Source: ms_access_files\vanadium\Forms\Frm Product List.txt

Dependencies

Module Dependencies: - RecSet - ActDatabase - Bookmarks - NewRecSet

Tables Accessed: - the - Start - NewRecSet - Products - RecSet - Product - Qry - End - variables

Forms Referenced: - Frm

External References: - Word.Application

Procedures

UpdateList

Type: Public Sub
Lines: 52

Calls: Column, UpdateList

Complexity Notes: - ⚠️ High branching (8 If statements)

PrintTheProductSheet

Type: Public Sub
Lines: 588

Calls: OpenRecordset, Item, PrintTheProductSheet, CreateObject, Column, Month, Chr, Fields, Dir

Complexity Notes: - ⚠️ High branching (113 If statements) - ⚠️ Large procedure (588 lines)

PrintSelectionMOU

Type: Public Sub
Lines: 177

Calls: OpenRecordset, PrintSelectionMOU, Item, CreateObject, Column, Str, Fields, Dir

Complexity Notes: - ⚠️ High branching (19 If statements) - ⚠️ Large procedure (177 lines)

PrintSelectionServiceProviderAgreement

Type: Public Sub
Lines: 926

Calls: OpenRecordset, Item, CreateObject, Column, session, Chr, PrintSelectionServiceProviderAgreement, Fields, Dir, WHERE

Complexity Notes: - ⚠️ High branching (79 If statements) - ⚠️ Large procedure (926 lines)

PrintSalesAgreement

Type: Public Sub
Lines: 668

Calls: OpenRecordset, services, Item, PrintSalesAgreement, CreateObject, Column, session, Chr, Fields, Dir (+1 more)

Complexity Notes: - ⚠️ High branching (55 If statements) - ⚠️ Large procedure (668 lines)

CreateRevisedProduct

Type: Public Sub
Lines: 1190

Calls: OpenRecordset, CreateRevisedProduct, Fields

Complexity Notes: - ⚠️ High branching (40 If statements) - ⚠️ Large procedure (1190 lines)

AddProduct_Click

Type: Private Sub
Lines: 3

Calls: AddProduct_Click

CloseFOrm_Click

Type: Private Sub
Lines: 13

Calls: CloseFOrm_Click

Complexity Notes: - ⚠️ Contains GoTo statements

EditProduct_Click

Type: Private Sub
Lines: 9

Calls: EditProduct_Click

ExportSales_Click

Type: Private Sub
Lines: 9

Calls: ExportSales_Click

ExportSelectionMOU_Click

Type: Private Sub
Lines: 9

Calls: ExportSelectionMOU_Click

ExportSelectionServiceProvidorAgreement_Click

Type: Private Sub
Lines: 9

Calls: ExportSelectionServiceProvidorAgreement_Click

ExportSheet_Click

Type: Private Sub
Lines: 9

Calls: ExportSheet_Click

Form_Open

Type: Private Sub
Lines: 11
Parameters: Cancel As Integer

Calls: Form_Open, Nz, Selected

MaintenanceMenu_Click

Type: Private Sub
Lines: 3

Calls: MaintenanceMenu_Click

PrintInternalReport_Click

Type: Private Sub
Lines: 28

Calls: OpenRecordset, PrintInternalReport_Click, UpdatePhasesInUse, Column, Fields

ProductList_AfterUpdate

Type: Private Sub
Lines: 3

Calls: ProductList_AfterUpdate

ProductList_DblClick

Type: Private Sub
Lines: 6
Parameters: Cancel As Integer

Calls: ProductList_DblClick

ProductStatus_AfterUpdate

Type: Private Sub
Lines: 3

Calls: ProductStatus_AfterUpdate

ReviseProduct_Click

Type: Private Sub
Lines: 11

Calls: ReviseProduct_Click, Column