Microsoft Access project
final project/5630281_f260.jpg
final project/clone_request_application_high_level_pro.docx
Project Objective
Develop a form based application that captures all the relevant information in database tables regarding a clone request. Where feasible, the necessary information will be driven by pick lists and not manual entry. The new application will capture all requests and provided the ability to enter clone dates or reject the request. The application will also provide a mechanism to enter the actual date the clone was completed and capture any reasons for delay. There will be a reporting mechanism in the application that will track SLAs and report on delays by categories. The application must have functionality to copy an existing clone request to a new request and allow the user to modify all data prior to submitting the request. The application must have the ability to search for past clone request by request id, source id, target id, requested by name or date.
Current Clone Request Process
The current request process is to manually fill in a word document template with necessary clone details and email to responsible group. Once these paper requests are reviewed, a clone schedule is developed and a calendar is published and emailed to all interested parties. This is a very manual process that requires additional man-hours and is not conducive to proactive notifications. In addition, a manual form does not validate for correct entries or ensure all necessary data is captured
Environments – A working area consisting of the E-Business database and corresponding application software for a particular defined objective. Examples of environments are production, test, development, performance test and project development etc
Clone – A copy of the E-Business database and application software to another environment that eliminates any references from the original environment.
Source – The environment that will be utilized to start a clone
Target – The environment that the source will be copied into and then modified
Masking – Altering or scrambling of data
OAM – Software that integrates with E-Business for Single Sign on
OBIEE – Data Warehouse for E-Business
SLA – Service Level Agreement
final project/CloneDatabaseTables.xlsx
CLONE_REQUESTS
| CLONE_REQUEST_ID | CLONE_STATUS_CODE | CLONE_BUSINESS_REASON | REQUESTING_ACCOUNT | CLONE_SUITABLE_START | CLONE_SUITABLE_END | PREFERRED_START | PREFERRED_END | USED_OFFSHORE | SOURCE_ENVIRONMENT_SID_ID | SOURCE_BACKUP_DATE | TARGET_ENVIRONMENT_SID_ID | TARGET_REPURPOSE | REQUIRE_OBIEE_CLONE | ASSIGNED_DBA_ACCOUNT | SCHEDULED_BACKUP_DATE | SCHEDULED_RESTORE_DATE | SCHEDULED_CLONE_START_DATE | SCHEDULED_CLONE_END_DATE | ACTUAL_CLONE_START_DATE | ACTUAL_CLONE_END_DATE | SERVICE_LEVEL_AGREEMENT_CODE | RESTORE_USERS_FROM_TARGET | REV_DATE | REV_SESSION_ID |
| 1 | I | Test | bok8526 | 4/13/15 | 4/15/15 | 4/12/15 | 4/14/15 | TRUE | fuxbs4 | 4/10/15 | fixbs6 | TRUE | FALSE | FALSE | 4/10/15 | 1 | ||||||||
| AutoNumber | Short Text 5 | Short Text 255 | Short Text 8 | Data | Date | Date | Date | Yes/No | Short Text 15 | Date | Short Text 15 | Yes/No | Yes/No | Short Text 8 | Date | Date | Date | Date | Date | Date | Short Text 15 | Yes/No | Date | Number Long Integer |
CLONE_STATUS_REFERENCE
| CLONE_STATUS_CODE | SHORT_DESC | LONG_DESC | REV_DATE | REV_SESSION_ID |
| A | Approved | Approved | 4/10/15 | 1 |
| D | Disapproved | Disapproved | 4/10/15 | 1 |
| I | Initiated | Initiated | 4/10/15 | 1 |
| Short Text 2 | Short Text 255 | Short Test 255 | Date | Number Long Integer |
PERSON
| ACCOUNT | PERSON_FNAME | PERSON_LNAME | PERSON_EMAIL | SECURITY_GROUP_CODE | TEAM_NAME_CODE | REV_DATE | REV_SESSION_ID |
| bok8526 | Barbara | King | [email protected] | M1 | A | 4/10/15 | 1 |
| Short Text 8 | Short Text 25 | Short Text 25 | Short Text 25 | Short Text 5 | Short Text 5 | Date | Number Long Integer |
SECURITY_GROUP_REFERENCE
| SECURITY_GROUP_CODE | SHORT_DESC | LONG_DESC | REV_DATE | REV_SESSION_ID |
| L1 | Low | Low Security | 4/10/15 | 1 |
| M1 | Maximum | Maximum Security | 4/10/15 | 1 |
| M2 | Medium | Medium Security | 4/10/15 | 1 |
| Short Text 5 | Short Text 255 | Short Text 255 | Date | Number Long Integer |
TEAM_REFERENCE
| TEAM_NAME_CODE | SHORT_DESC | LONG_DESC | REV_DATE | REV_SESSION_ID |
| A | Team A | Team A | 4/10/15 | 1 |
| B | Team B | Team B | 4/10/15 | 1 |
| C | Team C | Team C | 4/10/15 | 1 |
| D | Team D | Team D | 4/10/15 | 1 |
| Short Text 5 | Short Text 255 | Short Text 255 | Date | Number Long Integer |
ENVIRONMENT_DB_INFO
| ENVIRONMENT_SID_ID | SHORT_DESC | LONG_DESC | ENVIRONMENT_TYPE_CODE | ENVIRONMENT_SECURE | ENVIRONMENT_MASKED | INTEGRATED_WITH_OAM | RAC | REV_DATE | REV_SESSION_ID |
| fuxbs4 | Production | Production 15.02 PT3 | P | TRUE | FALSE | TRUE | FALSE | 4/10/15 | 1 |
| muxbs5 | Staging | Staging 15.10 | S | TRUE | TRUE | FALSE | TRUE | 4/10/15 | 1 |
| puxbs4 | Production | Production 15.02 PT2 | P | TRUE | TRUE | TRUE | FALSE | 4/10/15 | 1 |
| quxbs4 | Production | Production 13.02 PT3 | P | TRUE | FALSE | TRUE | FALSE | 4/10/15 | 1 |
| Short Text 8 | Short Text 255 | Short Text 255 | Short Text 5 | Yes/No | Yes/No | Yes/No | Yes/No | Date | Number Long Integer |
ENVIRONMENT_TYPE_REFERENCE
| ENVIRONMENT_TYPE_CODE | SHORT_DESC | LONG_DESC | REV_DATE | REV_SESSION_ID |
| D | Development | Development | 4/10/15 | 1 |
| P | Production | Production | 4/10/15 | 1 |
| S | Staging | Staging | 4/10/15 | 1 |
| Short Text 5 | Short Text 255 | Short Text 255 | Date | Number Long Integer |
TARGET_REPURPOSE_DETAILS
| REPURPOSE_DATABASE_ID | SERVER_NAME | ENVIRONMENT_SHORT_DESC | ENVIRONMENT_LONG_DESC | ENVIRONMENT_TYPE_CODE | ENVIRONMENT_SECURE | ENVIRONMENT_MASKED | INTEGRATED_WITH_OAM | URL | RAC | SOA_REQUIRED | OBIEE_REQUIRED | TRANS_VOL_COMPARE_REF_CODE | PROD_SIZE_COMPARE_REF_CODE | PROD_USER_COMPARE_REF_CODE | BACKUPS | APP_TIERS | VIZIYA | STR | REV_DATE | REV_SESSION_ID |
| fixbs6 | MINI | Mini | Mini | D | TRUE | FALSE | TRUE | FALSE | FALSE | TRUE | FALSE | FALSE | FALSE | FALSE | 4/10/15 | 1 | ||||
| pixbs6 | MAXI | Maxi | Maxi | D | FALSE | TRUE | TRUE | FALSE | FALSE | FALSE | FALSE | FALSE | FALSE | FALSE | 4/10/15 | 1 | ||||
| Short Text 15 | Short Text 255 | Short Text 255 | Short Text 255 | Short Text 5 | Yes/No | Yes/No | Yes/No | Short Text 255 | Yes/No | Yes/no | Yes/no | Short Text 5 | Short Text 5 | Short Text 5 | Yes/No | Yes/No | Yes/No | Yes/No | Date | Number Long Integer |
SERVICE_LEVEL_AGREEMENT
| SERVICE_LEVEL_AGREEMENT_CODE | SHORT_DESC | LONG_DESC | REV_DATE | REV_SESSION_ID |
| CorpSLA | covers all Service Level Management (SLM) issues | covers all Service Level Management (SLM) issues | 4/10/15 | 1 |
| CustSLA | agreement with an individual customer | agreement with an individual customer | 4/10/15 | 1 |
| ServSLA | agreement is for every customer making use of the services being provided | agreement is for every customer making use of the services being provided | 4/10/15 | 1 |
| Short Text 15 | Short Text 255 | Short Text 255 | Date | Number, Long Integer |
RELATIONSHIPS
image1.PNG
final project/Database_ForClass.accdb.accdb
| CLONE_REQUEST_ID | CLONE_BUSINESS_REASON | CLONE_SUITABLE_START | CLONE_SUITABLE_END | PREFERRED_START | PREFERRED_END | USED_OFFSHORE | CLONE_STATUS_CODE | SOURCE_ENVIRONMENT_SID_ID | SOURCE_BACKUP_DATE | TARGET_ENVIRONMENT_SID_ID | TARGET_REPURPOSE | REQUIRE_OBIEE_CLONE | ASSIGNED_DBA_ACCOUNT | SCHEDULED_BACKUP_DATE | SCHEDULED_RESTORE_DATE | SCHEDULED_CLONE_START_DATE | SCHEDULED_CLONE_END_DATE | ACTUAL_CLONE_START_DATE | ACTUAL_CLONE_END_DATE | RESTORE_USERS_FROM_TARGET | REV_DATE | REV_SESSION_ID | REQUESTING_ACCOUNT | SERVICE_LEVEL_AGREEMENT_CODE |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Test | 2015-04-13 | 2015-04-15 | 2015-04-12 | 2015-04-14 | true | I | fuxbs4 | 2015-04-10 | fixbs6 | true | false | false | 2015-04-10 | 1 | bok8526 |
| CLONE_STATUS_CODE | SHORT_DESC | LONG_DESC | REV_DATE | REV_SESSION_ID |
|---|---|---|---|---|
| I | Initiated | Initiated | 2015-04-10 | 1 |
| A | Approved | Approved | 2015-04-10 | 1 |
| D | Disapproved | Disapproved | 2015-04-10 | 1 |
| SHORT_DESC | LONG_DESC | ENVIRONMENT_TYPE_CODE | ENVIRONMENT_SECURE | ENVIRONMENT_MASKED | INTEGRATED_WITH_OAM | RAC | REV_DATE | REV_SESSION_ID | ENVIRONMENT_SID_ID |
|---|---|---|---|---|---|---|---|---|---|
| Production | Production 15.02 PT2 | P | true | true | true | false | 2015-04-10 | 1 | puxbs4 |
| Production | Production 13.02 PT3 | P | true | false | true | false | 2015-04-10 | 1 | quxbs4 |
| Production | Production 15.02 PT3 | P | true | false | true | false | 2015-04-10 | 1 | fuxbs4 |
| Staging | Staging 15.10 | S | true | true | false | true | 2015-04-10 | 1 | muxbs5 |
| ENVIRONMENT_DATABASE_ID | SHORT_DESC | LONG_DESC | ENVIRONMENT_TYPE_CODE | ENVIRONMENT_SECURE | ENVIRONMENT_MASKED | INTEGRATED_WITH_OAM | RAC | REV_DATE | REV_SESSION_ID | SERVER_NAME |
|---|
| ENVIRONMENT_TYPE_CODE | SHORT_DESC | LONG_DESC | REV_DATE | REV_SESSION_ID |
|---|---|---|---|---|
| P | Production | Production | 2015-04-10 | 1 |
| S | Staging | Staging | 2015-04-10 | 1 |
| D | Development | Development | 2015-04-10 | 1 |
| PERSON_FNAME | PERSON_LNAME | PERSON_EMAIL | SECURITY_GROUP_CODE | TEAM_NAME_CODE | REV_DATE | REV_SESSION_ID | ACCOUNT |
|---|---|---|---|---|---|---|---|
| Barbara | King | [email protected] | M1 | A | 2015-04-10 | 1 | bok8526 |
| SECURITY_GROUP_CODE | SHORT_DESC | LONG_DESC | REV_DATE | REV_SESSION_ID |
|---|---|---|---|---|
| M1 | Maximum | Maximum Security | 2015-04-10 | 1 |
| M2 | Medium | Medium Security | 2015-04-10 | 1 |
| L1 | Low | Low Security | 2015-04-10 | 1 |
| SHORT_DESC | LONG_DESC | REV_DATE | REV_SESSION_ID | SERVICE_LEVEL_AGREEMENT_CODE |
|---|---|---|---|---|
| agreement with an individual customer | agreement with an individual customer | 2015-04-10 | 1 | CustSLA |
| agreement is for every customer making use of the services being provided | agreement is for every customer making use of the services being provided | 2015-04-10 | 1 | ServSLA |
| covers all Service Level Management (SLM) issues | covers all Service Level Management (SLM) issues | 2015-04-10 | 1 | CorpSLA |
| SERVER_NAME | ENVIRONMENT_SHORT_DESC | ENVIRONMENT_LONG_DESC | ENVIRONMENT_TYPE_CODE | ENVIRONMENT_SECURE | ENVIRONMENT_MASKED | INTEGRATED_WITH_OAM | URL | RAC | SOA_REQUIRED | OBIEE_REQUIRED | BACKUPS | APP_TIERS | VIZIYA | STR | REV_DATE | REV_SESSION_ID | REPURPOSE_DATABASE_ID | TRANS_VOL_COMPARE_REF_CODE | PROD_SIZE_COMPARE_REF_CODE | PROD_USER_COMPARE_REF_CODE |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MAXI | Maxi | Maxi | D | false | true | true | false | false | false | false | false | false | false | 2015-04-10 | 1 | pixbs6 | ||||
| MINI | Mini | Mini | D | true | false | true | false | false | true | false | false | false | false | 2015-04-10 | 1 | fixbs6 |
| TEAM_NAME_CODE | SHORT_DESC | LONG_DESC | REV_DATE | REV_SESSION_ID |
|---|---|---|---|---|
| A | Team A | Team A | 2015-04-10 | 1 |
| B | Team B | Team B | 2015-04-10 | 1 |
| C | Team C | Team C | 2015-04-10 | 1 |
| D | Team D | Team D | 2015-04-10 | 1 |
final project/Database2_-_ForClass.accdb.accdb
| CLONE_BUSINESS_REASON | CLONE_SUITABLE_START | CLONE_SUITABLE_END | PREFERRED_START | PREFERRED_END | USED_OFFSHORE | CLONE_STATUS_CODE | SOURCE_ENVIRONMENT_SID_ID | SOURCE_BACKUP_DATE | TARGET_ENVIRONMENT_SID_ID | TARGET_REPURPOSE | REQUIRE_OBIEE_CLONE | ASSIGNED_DBA_ACCOUNT | SCHEDULED_BACKUP_DATE | SCHEDULED_RESTORE_DATE | SCHEDULED_CLONE_START_DATE | SCHEDULED_CLONE_END_DATE | ACTUAL_CLONE_START_DATE | ACTUAL_CLONE_END_DATE | RESTORE_USERS_FROM_TARGET | REV_DATE | REV_SESSION_ID | REQUESTING_ACCOUNT | SERVICE_LEVEL_AGREEMENT_CODE | CLONE_REQUEST_ID |
|---|
| CLONE_STATUS_CODE | SHORT_DESC | LONG_DESC | REV_DATE | REV_SESSION_ID |
|---|---|---|---|---|
| I | Initiated | Initiated | 2015-04-10 | 1 |
| A | Approved | Approved | 2015-04-10 | 1 |
| D | Disapproved | Disapproved | 2015-04-10 | 1 |
| SHORT_DESC | LONG_DESC | ENVIRONMENT_TYPE_CODE | ENVIRONMENT_SECURE | ENVIRONMENT_MASKED | INTEGRATED_WITH_OAM | RAC | REV_DATE | REV_SESSION_ID | ENVIRONMENT_SID_ID |
|---|---|---|---|---|---|---|---|---|---|
| Production | Production 15.02 PT2 | P | true | true | true | false | 2015-04-10 | 1 | puxbs4 |
| Production | Production 13.02 PT3 | P | true | false | true | false | 2015-04-10 | 1 | quxbs4 |
| Production | Production 15.02 PT3 | P | true | false | true | false | 2015-04-10 | 1 | fuxbs4 |
| Staging | Staging 15.10 | S | true | true | false | true | 2015-04-10 | 1 | muxbs5 |
| ENVIRONMENT_DATABASE_ID | SHORT_DESC | LONG_DESC | ENVIRONMENT_TYPE_CODE | ENVIRONMENT_SECURE | ENVIRONMENT_MASKED | INTEGRATED_WITH_OAM | RAC | REV_DATE | REV_SESSION_ID | SERVER_NAME |
|---|
| ENVIRONMENT_TYPE_CODE | SHORT_DESC | LONG_DESC | REV_DATE | REV_SESSION_ID |
|---|---|---|---|---|
| P | Production | Production | 2015-04-10 | 1 |
| S | Staging | Staging | 2015-04-10 | 1 |
| D | Development | Development | 2015-04-10 | 1 |
| PERSON_FNAME | PERSON_LNAME | PERSON_EMAIL | SECURITY_GROUP_CODE | TEAM_NAME_CODE | REV_DATE | REV_SESSION_ID | ACCOUNT |
|---|---|---|---|---|---|---|---|
| Daniel | Tanner | [email protected] | L1 | B | 2015-04-07 | 0 | dat6678 |
| Barbara | King | [email protected] | M1 | A | 2015-04-10 | 1 | bok8526 |
| Janice | Totleben | [email protected] | M1 | A | 2015-04-13 | 1 | jat3356 |
| Sarah | Thomsen | [email protected] | L1 | A | 2015-04-14 | 0 | sat2233 |
| SECURITY_GROUP_CODE | SHORT_DESC | LONG_DESC | REV_DATE | REV_SESSION_ID |
|---|---|---|---|---|
| M1 | Maximum | Maximum Security | 2015-04-10 | 1 |
| M2 | Medium | Medium Security | 2015-04-10 | 1 |
| L1 | Low | Low Security | 2015-04-10 | 1 |
| SHORT_DESC | LONG_DESC | REV_DATE | REV_SESSION_ID | SERVICE_LEVEL_AGREEMENT_CODE |
|---|---|---|---|---|
| agreement with an individual customer | agreement with an individual customer | 2015-04-10 | 1 | CustSLA |
| agreement is for every customer making use of the services being provided | agreement is for every customer making use of the services being provided | 2015-04-10 | 1 | ServSLA |
| covers all Service Level Management (SLM) issues | covers all Service Level Management (SLM) issues | 2015-04-10 | 1 | CorpSLA |
| SERVER_NAME | ENVIRONMENT_SHORT_DESC | ENVIRONMENT_LONG_DESC | ENVIRONMENT_TYPE_CODE | ENVIRONMENT_SECURE | ENVIRONMENT_MASKED | INTEGRATED_WITH_OAM | URL | RAC | SOA_REQUIRED | OBIEE_REQUIRED | BACKUPS | APP_TIERS | VIZIYA | STR | REV_DATE | REV_SESSION_ID | REPURPOSE_DATABASE_ID | TRANS_VOL_COMPARE_REF_CODE | PROD_SIZE_COMPARE_REF_CODE | PROD_USER_COMPARE_REF_CODE |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MAXI | Maxi | Maxi | D | false | true | true | false | false | false | false | false | false | false | 2015-04-10 | 1 | pixbs6 | ||||
| MINI | Mini | Mini | D | true | false | true | false | false | true | false | false | false | false | 2015-04-10 | 1 | fixbs6 |
| TEAM_NAME_CODE | SHORT_DESC | LONG_DESC | REV_DATE | REV_SESSION_ID |
|---|---|---|---|---|
| A | Team A | Team A | 2015-04-10 | 1 |
| B | Team B | Team B | 2015-04-10 | 1 |
| C | Team C | Team C | 2015-04-10 | 1 |
| D | Team D | Team D | 2015-04-10 | 1 |
final project/DESIGN_CHANGES_PER_US_STEEL.docx
DESIGN CHANGES PER US STEEL 4/17/2015
Target Repurpose Details Table
The Clone Request Table
· Source_Environmnet_SID_ID relates to the ENVIRONMENT_SID_ID in the ENVIRONMENT_DB_INFO
· Target_Environment_SDI_ID relates to the ENVIRONMENT_SID_ID in the ENVIRONMENT_DB_INFO
Sample Data
image6.PNG
image1.PNG
image2.PNG
image3.PNG
image4.PNG
image5.PNG
final project/FinalProject1.rtf
WRITTEN DOCUMENT
System Definition:
• Introduction – Include Company Name and objective of company
• Scope and boundaries – Include its major application area and user groups
Requirements Specifications:
• Data Requirements
List all tables and Relationships
Tables
Person
Field Name Data Type Size
Account(PK) Short Text 8
Person_FName Short Text 25
Person_LName Short Text 25
Person_Email Short Text 25
Security_Group_Code(FK) Short Text 5
Team_Name_Code(FK) Short Text 5
Rev_Date Date Short Date
Rev_Session_ID Number Long Integer
Show the Database Relationships
• Transaction Requirements
Main Form
Introduce the Application
Eliminate Scroll Bars and Record Selectors
Person Form
Create Form called Person which will show current person data
Use APPROPRIATE CONTROLS
Be sure to use Labels, Text Boxes, Combo Boxes, CheckBox/Radio Buttons, Option Groups
Make sure users cannot change data in this form
Create a Combo Box that Searches for Records(Make sure the combo box is synchronized to current record)
Use Conditional Formatting
Eliminate Scroll Bars and Record Selectors
Create Command Buttons First Next Last Previous
Enable/Disable Buttons where appropriate.
Person Add Form
Create an interface to Add new Person and Edit Person Data. Make sure that the interface works correctly and that it is easy for the user. Things to consider are: locking and unlocking fields, cursor placement when tabbing through the fields, correct inserting/editing data on the tables
Describe all Forms
Reports
Scheduled Requests
Describe all Reports
Application:
• Tables Generate tables with the appropriate attributes, data types and key fields
• Relationships Make sure relationships are described
• Application Design
• User Interface
• Forms
• Reports
• Required in Access Application
• Tables
• Relationships between tables
• Good User Interface(Make sure system is easy to use)
• Minimum of 6 Forms
• Minimum of 3 Reports
• Minimum of 3 Queries
• Macros and Visual Basic Code should be used!
Your system will be evaluated from the perspective of the end user. This means that you must carefully test your system to ensure that the user cannot store invalid data, that adequate messages are sent to the user, and that the user doesn’t get “stuck” navigating through the application.
Design issues you should address:
· Ease of use and attractiveness of forms
· Ensuring accurate and complete data entry
· Avoiding “jargon.”
· Make the forms look and act consistently
· Use a uniform color scheme
Testing is VERY important. Make sure you go through enough test situations with both valid and invalid data.
Each will be required to :
Hand in a written document with the above requirements
The Access Application
final project/Notes1.docx
Form Design Guidelines
· Use forms to perform all database updates, because forms provide better readability and control than do table and query recordsets
· Determine the fields and record source needed for each form. A form’s Record Source property specifies the table or query that provides the fields for the form
· Group related fields and position them in a meaningful, logical order
· If users will refer to a source document while working with the form, design the form to match the source document closely
· Identify each field value with a label that names the field, and align field values and labels for readability
· Size the width of each text box to fully display the values it contains and also to provide a visual clue to users about the length of those values
· Display calculated fields in a distinctive way, and prevent users from changing and updating them
· Use default values, list boxes, and other form controls whenever possible to reduce user errors by minimizing keystrokes and limiting entries. A control is item, such as a text box or command button, that you place on a form or report
· Use colors, fonts, and graphics sparingly to keep the form uncluttered and to keep the focus on the data
· Use a consistent style for all forms in a database
Bound Form
Bound Control
Private Sub Command33_Click()
DoCmd.GoToRecord , , acNext
End Sub
Unbound Form Main
ToolBox Controls
Form Properties
F
Person_Add Form
Use a Combo Box for Security Group Code
· In the Controls group on the Design tab, make sure the Use Control Wizards button is selected
· In the Controls group on the Design tab, click the combo box button
· Place the combo box on the form
· Click I want the combo box to look up the values in a table or query, click Next, Click the Table Security Code Reference and then click Next
· Select Security Group Code and Short Desc click Next
· You can choose a sort order
· Click Next
Set the tab order for controls
When you use a form, you can switch between controls by pressing the TAB key. You can specify the order in which the controls on a form respond to the TAB key. On a well-designed form, the controls respond to the TAB key in a logical order
· In the Navigation Pane, right-click the form and then click Design View.
· On the Design tab, in the Tools group, click Tab Order.
The name of the Command Button may be different. May have a different number
Clone Request Form to add new requests
Combo Box
· In the Controls group on the Design tab, make sure the Use Control Wizards button is selected
· In the Controls group on the Design tab, click the combo box button
· Place the combo box on the form
· Click I want the combo box to look up the values in a table or query, click Next, Click the Table Person and then click Next
· Select Account, Person_Fname, Person_Lname and click Next
· You can choose a sort order
· Click Next
·
Click Next
Initialize the Clone_status_code to be set to ‘I’ Initiated by setting the default property in the table
Clone Request Form For Inserts
Initialize the Clone_status_code to be set to ‘I’ Initiated by setting the default property in the table
Enviornment_DB_Info
If Target Repurpose Is Yes…..Then Target Repurpose Details form will be opened with the Repurpose_Database_id filled in the the Target Source ID
Private Sub Command39_Click()
MsgBox Forms![CLONE_REQUESTS_3]![TARGET_ENVIRONMENT_SID_ID]
DoCmd.OpenForm "Target_Repurpose_details", acNormal, , , acFormAdd
Forms![Target_Repurpose_details]![REPURPOSE_DATABASE_ID] = Forms![CLONE_REQUESTS_3]![TARGET_ENVIRONMENT_SID_ID]
Forms![Target_Repurpose_details]![CLONE_REQUEST_ID] = Forms![CLONE_REQUESTS_3]![CLONE_REQUEST_ID]
End Sub
Target Repurpose Details Form…
Initialize the Repurpose Database Date to Date()
Clone Request Initiate Status to Scheduled Status
Create a Query Clone Status
SELECT CLONE_REQUESTS.CLONE_REQUEST_ID, CLONE_STATUS_REFERENCE.SHORT_DESC, CLONE_REQUESTS.CLONE_STATUS_CODE, PERSON.PERSON_FNAME, PERSON.PERSON_LNAME, CLONE_REQUESTS.REQUESTING_ACCOUNT, CLONE_REQUESTS.SOURCE_ENVIRONMENT_SID_ID, CLONE_REQUESTS.TARGET_ENVIRONMENT_SID_ID, CLONE_REQUESTS.ASSIGNED_DBA_ACCOUNT, CLONE_REQUESTS.SCHEDULED_CLONE_START_DATE, CLONE_REQUESTS.SCHEDULED_CLONE_END_DATE
FROM PERSON INNER JOIN (CLONE_STATUS_REFERENCE INNER JOIN CLONE_REQUESTS ON CLONE_STATUS_REFERENCE.CLONE_STATUS_CODE = CLONE_REQUESTS.CLONE_STATUS_CODE) ON PERSON.ACCOUNT = CLONE_REQUESTS.REQUESTING_ACCOUNT
WHERE (((CLONE_REQUESTS.CLONE_STATUS_CODE)="I"));
Clone Request Scheduled Status to Completed Status
Reports
Scheduled Requests
Create a Query
SELECT CLONE_REQUESTS.CLONE_REQUEST_ID, CLONE_REQUESTS.CLONE_BUSINESS_REASON, CLONE_REQUESTS.SOURCE_ENVIRONMENT_SID_ID, CLONE_REQUESTS.TARGET_ENVIRONMENT_SID_ID, CLONE_REQUESTS.ASSIGNED_DBA_ACCOUNT, PERSON.PERSON_FNAME, PERSON.PERSON_LNAME, CLONE_REQUESTS.CLONE_STATUS_CODE, CLONE_REQUESTS.SCHEDULED_CLONE_START_DATE, CLONE_REQUESTS.SCHEDULED_CLONE_END_DATE
FROM PERSON INNER JOIN CLONE_REQUESTS ON PERSON.ACCOUNT = CLONE_REQUESTS.REQUESTING_ACCOUNT
WHERE (((CLONE_REQUESTS.CLONE_STATUS_CODE)="S"));
Create Report and use this query as the record source
Sample Data
image6.png
image7.PNG
image8.PNG
image9.PNG
image10.PNG
image11.PNG
image12.PNG
image13.PNG
image14.PNG
image15.PNG
image16.PNG
image17.PNG
image18.PNG
image19.PNG
image20.PNG
image21.PNG
image22.PNG
image23.PNG
image24.PNG
image25.PNG
image26.PNG
image27.PNG
image28.PNG
image29.PNG
image30.PNG
image31.PNG
image32.PNG
image1.PNG
image2.PNG
image3.PNG
image4.PNG
image5.PNG
final project/part 1/clone_request_application_high_level_pro.docx
Project Objective
Develop a form based application that captures all the relevant information in database tables regarding a clone request. Where feasible, the necessary information will be driven by pick lists and not manual entry. The new application will capture all requests and provided the ability to enter clone dates or reject the request. The application will also provide a mechanism to enter the actual date the clone was completed and capture any reasons for delay. There will be a reporting mechanism in the application that will track SLAs and report on delays by categories. The application must have functionality to copy an existing clone request to a new request and allow the user to modify all data prior to submitting the request. The application must have the ability to search for past clone request by request id, source id, target id, requested by name or date.
Current Clone Request Process
The current request process is to manually fill in a word document template with necessary clone details and email to responsible group. Once these paper requests are reviewed, a clone schedule is developed and a calendar is published and emailed to all interested parties. This is a very manual process that requires additional man-hours and is not conducive to proactive notifications. In addition, a manual form does not validate for correct entries or ensure all necessary data is captured
Environments – A working area consisting of the E-Business database and corresponding application software for a particular defined objective. Examples of environments are production, test, development, performance test and project development etc
Clone – A copy of the E-Business database and application software to another environment that eliminates any references from the original environment.
Source – The environment that will be utilized to start a clone
Target – The environment that the source will be copied into and then modified
Masking – Altering or scrambling of data
OAM – Software that integrates with E-Business for Single Sign on
OBIEE – Data Warehouse for E-Business
SLA – Service Level Agreement
final project/part 1/clone_request_form_examples.docx
Request Form – The main form utilized to enter all necessary information for a clone. The majority of the entries are table driven via lookups.
Pending Request Form – This form displays all requests that have not been approved. It allows you to search for previously requested clones regardless of the status. If you select on request id, it will bring up the screen utilized to enter the clone request. If you click on approve, then you will be prompted for a password and go to the next screen.
Approval Screen – Top portion is the only section that has input allowed. Enter the date and time the clone will start, the date and time of the backup, the date and time of the database restore, the date and time of when the clone should be released to the application development groups, comments and who will complete the clone. The other section of the form is display only and displays data entered in the request form.
Approved Schedule – This form displays all approved clone requests that have not been completed. It allows you to search for other requests regardless of the status. The security button also prompts for a different password and allows the security team to enter those fields pertinent to security.
If request id is selected, this screen will display
Status Screen – Displays the status of all requests that are not completed
Achieving clones SLA status screen does not currently exist and is SQL queries into Excel.
image1.png
image2.png
image3.png
image4.png
image5.png
image6.png
final project/part 1/CloneDatabaseTables.xlsx
CLONE_REQUESTS
| CLONE_REQUEST_ID | CLONE_STATUS_CODE | CLONE_BUSINESS_REASON | REQUESTING_ACCOUNT | CLONE_SUITABLE_START | CLONE_SUITABLE_END | PREFERRED_START | PREFERRED_END | USED_OFFSHORE | SOURCE_ENVIRONMENT_SID_ID | SOURCE_BACKUP_DATE | TARGET_ENVIRONMENT_SID_ID | TARGET_REPURPOSE | REQUIRE_OBIEE_CLONE | ASSIGNED_DBA_ACCOUNT | SCHEDULED_BACKUP_DATE | SCHEDULED_RESTORE_DATE | SCHEDULED_CLONE_START_DATE | SCHEDULED_CLONE_END_DATE | ACTUAL_CLONE_START_DATE | ACTUAL_CLONE_END_DATE | SERVICE_LEVEL_AGREEMENT_CODE | RESTORE_USERS_FROM_TARGET | REV_DATE | REV_SESSION_ID |
| 1 | I | Test | bok8526 | 4/13/15 | 4/15/15 | 4/12/15 | 4/14/15 | TRUE | fuxbs4 | 4/10/15 | fixbs6 | TRUE | FALSE | FALSE | 4/10/15 | 1 | ||||||||
| AutoNumber | Short Text 5 | Short Text 255 | Short Text 8 | Data | Date | Date | Date | Yes/No | Short Text 15 | Date | Short Text 15 | Yes/No | Yes/No | Short Text 8 | Date | Date | Date | Date | Date | Date | Short Text 15 | Yes/No | Date | Number Long Integer |
CLONE_STATUS_REFERENCE
| CLONE_STATUS_CODE | SHORT_DESC | LONG_DESC | REV_DATE | REV_SESSION_ID |
| A | Approved | Approved | 4/10/15 | 1 |
| D | Disapproved | Disapproved | 4/10/15 | 1 |
| I | Initiated | Initiated | 4/10/15 | 1 |
| Short Text 2 | Short Text 255 | Short Test 255 | Date | Number Long Integer |
PERSON
| ACCOUNT | PERSON_FNAME | PERSON_LNAME | PERSON_EMAIL | SECURITY_GROUP_CODE | TEAM_NAME_CODE | REV_DATE | REV_SESSION_ID |
| bok8526 | Barbara | King | [email protected] | M1 | A | 4/10/15 | 1 |
| Short Text 8 | Short Text 25 | Short Text 25 | Short Text 25 | Short Text 5 | Short Text 5 | Date | Number Long Integer |
SECURITY_GROUP_REFERENCE
| SECURITY_GROUP_CODE | SHORT_DESC | LONG_DESC | REV_DATE | REV_SESSION_ID |
| L1 | Low | Low Security | 4/10/15 | 1 |
| M1 | Maximum | Maximum Security | 4/10/15 | 1 |
| M2 | Medium | Medium Security | 4/10/15 | 1 |
| Short Text 5 | Short Text 255 | Short Text 255 | Date | Number Long Integer |
TEAM_REFERENCE
| TEAM_NAME_CODE | SHORT_DESC | LONG_DESC | REV_DATE | REV_SESSION_ID |
| A | Team A | Team A | 4/10/15 | 1 |
| B | Team B | Team B | 4/10/15 | 1 |
| C | Team C | Team C | 4/10/15 | 1 |
| D | Team D | Team D | 4/10/15 | 1 |
| Short Text 5 | Short Text 255 | Short Text 255 | Date | Number Long Integer |
ENVIRONMENT_DB_INFO
| ENVIRONMENT_SID_ID | SHORT_DESC | LONG_DESC | ENVIRONMENT_TYPE_CODE | ENVIRONMENT_SECURE | ENVIRONMENT_MASKED | INTEGRATED_WITH_OAM | RAC | REV_DATE | REV_SESSION_ID |
| fuxbs4 | Production | Production 15.02 PT3 | P | TRUE | FALSE | TRUE | FALSE | 4/10/15 | 1 |
| muxbs5 | Staging | Staging 15.10 | S | TRUE | TRUE | FALSE | TRUE | 4/10/15 | 1 |
| puxbs4 | Production | Production 15.02 PT2 | P | TRUE | TRUE | TRUE | FALSE | 4/10/15 | 1 |
| quxbs4 | Production | Production 13.02 PT3 | P | TRUE | FALSE | TRUE | FALSE | 4/10/15 | 1 |
| Short Text 8 | Short Text 255 | Short Text 255 | Short Text 5 | Yes/No | Yes/No | Yes/No | Yes/No | Date | Number Long Integer |
ENVIRONMENT_TYPE_REFERENCE
| ENVIRONMENT_TYPE_CODE | SHORT_DESC | LONG_DESC | REV_DATE | REV_SESSION_ID |
| D | Development | Development | 4/10/15 | 1 |
| P | Production | Production | 4/10/15 | 1 |
| S | Staging | Staging | 4/10/15 | 1 |
| Short Text 5 | Short Text 255 | Short Text 255 | Date | Number Long Integer |
TARGET_REPURPOSE_DETAILS
| REPURPOSE_DATABASE_ID | SERVER_NAME | ENVIRONMENT_SHORT_DESC | ENVIRONMENT_LONG_DESC | ENVIRONMENT_TYPE_CODE | ENVIRONMENT_SECURE | ENVIRONMENT_MASKED | INTEGRATED_WITH_OAM | URL | RAC | SOA_REQUIRED | OBIEE_REQUIRED | TRANS_VOL_COMPARE_REF_CODE | PROD_SIZE_COMPARE_REF_CODE | PROD_USER_COMPARE_REF_CODE | BACKUPS | APP_TIERS | VIZIYA | STR | REV_DATE | REV_SESSION_ID |
| fixbs6 | MINI | Mini | Mini | D | TRUE | FALSE | TRUE | FALSE | FALSE | TRUE | FALSE | FALSE | FALSE | FALSE | 4/10/15 | 1 | ||||
| pixbs6 | MAXI | Maxi | Maxi | D | FALSE | TRUE | TRUE | FALSE | FALSE | FALSE | FALSE | FALSE | FALSE | FALSE | 4/10/15 | 1 | ||||
| Short Text 15 | Short Text 255 | Short Text 255 | Short Text 255 | Short Text 5 | Yes/No | Yes/No | Yes/No | Short Text 255 | Yes/No | Yes/no | Yes/no | Short Text 5 | Short Text 5 | Short Text 5 | Yes/No | Yes/No | Yes/No | Yes/No | Date | Number Long Integer |
SERVICE_LEVEL_AGREEMENT
| SERVICE_LEVEL_AGREEMENT_CODE | SHORT_DESC | LONG_DESC | REV_DATE | REV_SESSION_ID |
| CorpSLA | covers all Service Level Management (SLM) issues | covers all Service Level Management (SLM) issues | 4/10/15 | 1 |
| CustSLA | agreement with an individual customer | agreement with an individual customer | 4/10/15 | 1 |
| ServSLA | agreement is for every customer making use of the services being provided | agreement is for every customer making use of the services being provided | 4/10/15 | 1 |
| Short Text 15 | Short Text 255 | Short Text 255 | Date | Number, Long Integer |
RELATIONSHIPS
image1.PNG
final project/part 1/Description.docx
I have received requirements for a Clone Request System for US Steel. We will be working with the specifications that are given by the user. I have included 2 documents that were provided by the user:
· Clone Request High Level Details
· Clone Request Form Examples
I have laid out the tables and relationships that I believe are accurate and included this in an Excel spreadsheet. The first part of the project will be building the tables and relationships in Access. Also I have provided one or two records for the tables.
This part will be an Access Database for the Clone Request System. You are required to hand in:
Access Database
Tables built in Design View with Correct Datatypes and Primary Keys
Relationships Built with correct primary keys and Foreign Keys. Enforce Referential Integrity.
Each Table will have at least 2 sample data records.
final project/part 1/How_To.docx
Create a New Access Database
Create-> Table Design
Enter Field Names and Data Types as Designed in the Excel Spreadsheet
Make sure to indicate the primary key
This is an example
Put in Data Records as Indicated
To put in relationships
Database Tools -> Relationships
image1.PNG
image2.PNG
image3.PNG
image4.PNG
image5.PNG
final project/Requirements.docx
Requirements:
1. Show Person in Person Table
2. Add Person into Person Table
3. Start a New Clone Request
If Target Repurpose Answer is No Then Finished…Close From
If Target Repurpose Answer Is Yes Then Open a Target Repurpose Details Form With the clone request filled in and the Date filled in with current date
4. Schedule Clone Request-Show Requests that are in Initiated Status and Allow Status to be set to Scheduled and Allow Scheduled Start and End Dates to Be entered and Assign DBA
5. Close Clone Request-Show Requests that are in Scheduled Status and Allows Status to be set to Completed and Allow Completed Start and End Dates to be entered
6. Develop a Form to Allow Requests to be Voided.
Reports
1. Scheduled Requests
2 and 3. Design Reports that you feel would be beneficial.