NauticalGent
Ignore List Poster Boy
- Local time
- Today, 15:25
- Joined
- Apr 27, 2015
- Messages
- 6,747
Good morning AWF,
I wavered on whether to post in this form or in the Forms...this one seems more appropriate. If Admin sees it differently, please feel free to move it.
As I have started in earlier posts, I have inherited a MONSTER project. I have been slowly addressing the most pressing issues and working through the list.
The original developer (there has been at least 3 that I can determine) was VERY code centric and had a semi-decent grasp of form and table design. The table structure is next after I tackle this one-the Form in question seems to be corrupting the BE on a regular basis.
The form has about 30 some-odd controls, half of them are text fields with DLookUp control sources. I will address that one too!
OK, rant over; my question:
Access 2010, Split DB, BE is in a shared folder on our LAN.
The code associated with this form contains over 1,800 lines of code! The main sub has about 1,000 by itself and is the heart and soul of what this form is for.
The form allows the user to parse formatted OutLook e-mails that are linked to the DB. It performs 4 to 5 loops (depending on the data), assigning texts to variables and writing them to appropriate tables.
As a side note, there is no Option Explicit line so NO variables are defined...I will be fixing that too.
My question is: Would it improve the performance and perhaps make the process more stable if I made it more modular? For example, if I were to make each loop a separate Procedure or even a separate Module, would it make a difference or is having all the code in one spot the best practice?
As always, thanks in advance...
NG
I wavered on whether to post in this form or in the Forms...this one seems more appropriate. If Admin sees it differently, please feel free to move it.
As I have started in earlier posts, I have inherited a MONSTER project. I have been slowly addressing the most pressing issues and working through the list.
The original developer (there has been at least 3 that I can determine) was VERY code centric and had a semi-decent grasp of form and table design. The table structure is next after I tackle this one-the Form in question seems to be corrupting the BE on a regular basis.
The form has about 30 some-odd controls, half of them are text fields with DLookUp control sources. I will address that one too!
OK, rant over; my question:
Access 2010, Split DB, BE is in a shared folder on our LAN.
The code associated with this form contains over 1,800 lines of code! The main sub has about 1,000 by itself and is the heart and soul of what this form is for.
The form allows the user to parse formatted OutLook e-mails that are linked to the DB. It performs 4 to 5 loops (depending on the data), assigning texts to variables and writing them to appropriate tables.
As a side note, there is no Option Explicit line so NO variables are defined...I will be fixing that too.
My question is: Would it improve the performance and perhaps make the process more stable if I made it more modular? For example, if I were to make each loop a separate Procedure or even a separate Module, would it make a difference or is having all the code in one spot the best practice?
As always, thanks in advance...
NG