I am needing help with MS Access and creating a database. It's not a program I have ever used or care to learn but is a requirement for my degree completion.

1) You will create the database in MS Access from the attached Excel file.

2) You will use simple SQL inserts to append records to each table you created (3 records per table)


3) You need to save the above SQL statements in text file and submit it with the database


4) Using the database you created:

1)      Create an appropriate form for each table with add/edit/delete functionality

2)      Your forms must include the following

a)      frmBorrower (add, edit, delete, list borrower)

b)     frmMedia (add, edit, delete, list media)

c)      frmQuickSearchMedia (lookup media, show status of the media, such as in house, out and who checked it out)

d)     frmQuickSearchBrower

 

5)Now develop the following

1. Create a report rptMediaList (list all inventory sorted)

2. Create a report rptBorrower (list items that was  borrowed and there due dates)

  3. Create a report rptPastDue (list items that are past due)


6) Create a main menu form (frmMainMenu) that calls other forms (use buttons to open the forms), you should create a form for each table defined in week 2 (you may have to search MS Access Help and the internet)


7) You will be modifying the frmMainMenu to call the caption of each button from the table MainMenu and form or the report.

1)      Create a table MainMenu with at least 3 fields: ID, caption, and form or report to run

2)      Your code (for the button) will dynamically read the caption from the table and assign it to the button

  HINT: Variables (table name) in other areas of the code should not be "hard-coded". If for example a Table name changes in the database it should be reflected in the menu. I do not need to go into the code and look for all entries for the hard-coded name of the table. Dynamic caption means should the name of any table change – the caption on the button for that table must change as well. Test it out …

  3)      Your code (for the button) will dynamically read the form/report name and will run when you press the button.

   HINT: Like the hint for #2 above do the same for the reports. No names should be hard-coded. This prevents errors in the long run which often break a program, and maintenance does not become a nightmare!! This approach is a widely utilized practice amongst professional developers in support of friendly user experience enhancements! Our users want to be able to press buttons that are logical, practical, and smart.

  I encourage you to search the Internet to find resources to help you solve the exercises. These resources may be helpful!

All of these links do worked as of  10/5/2019 @ 2:47PM)

http://msdn.microsoft.com/en-us/library/ff193237.aspx

http://office.microsoft.com/en-us/access-help/dlookup-function-HA001228825.aspx

http://msdn.microsoft.com/en-us/library/ff834404.aspx

http://msdn.microsoft.com/en-us/library/ff834404.aspx

https://support.office.com/en-us/article/DLookup-Function-8896CB03-E31F-45D1-86DB-BED10DCA5937

http://allenbrowne.com/casu-07.html


8) Create a simple excel spreadsheet with data to update the database.

  1.      Create a form (frmUpdateMediaLink) to link the spreadsheet to a table in the database (you can link the spreadsheet manually using the wizard but you will lose 4 points)

 

2.      Create a form (frmUpdateMedia), write a VBA code to extract the data and display it in a listbox, dropdownbox or any from of grid

 

3.       Integrate the spreadsheet data into the application.

HINT: the spreadsheet can contains any special list such new DVDs, or updated notes.

 

Write a code to update (your inventory table, can be CD list or DVD list) from the list.

 

HINT: for the update (the easy way)

 

- delete the current records then insert the records from the spread sheet extra credit (advanced way)

 

- compare each record if it is new add it to the table, if it exists update the info from the spread sheet. If you are going to do this option please indicate in the student comments so I can look for it, make sure you upload the spread sheet with the database
There are usually questions on this assignment so here are some answers to commonly asked quesitons and some links at the Bottom...
   

  Create a simple excel spreadsheet with data to update the database.
>>> This can hold any type of data to be used in this database
In MS Access
1. Create a form (frmUpdateMediaLink) to link the spreadsheet to a table in the database (you can link the spreadsheet manually using the wizard but you will lose 4 points)
>>> Please Create a FORM to accomplish this step…
>>> A Wizard, built into MS Access can accomplish the same task and if you do this, please let me know.
2.Create a form (frmUpdateMedia), write a VBA code to extract the data and display it in a listbox, dropdownbox or any from of grid
>>> This is another FORM…
>>> VBA CODE is needed to complete this step, I check this by Pressing Control-G and I see your VBA code.
>>> This step will take the information in this form and extract it and then populate a listbox, dropdownbox or a grid.
 
3.Integrate the spreadsheet data into the application.
HINT: the spreadsheet can contains any special list such new DVDs, or updated notes.
Write a code to update (your inventory table, can be CD list or DVD list) from the list.
HINT: for the update (the easy way) Same as above but an easier way to accomplish this
- delete the current records then insert the records from the spread sheet extra credit (advanced way)
- compare each record if it is new add it to the table, if it exists update the info from the spread sheet. If you are going to do this option please indicate in the student comments so I can look for it, make sure you upload the spread sheet with the database
 
Some Links to help you… (I used Google with the following search term, “Link Excel Spreadsheet to a MS Access Table using VBA”)
Ms Access Link to Excel Tips
http://www.youtube.com/watch?v=exE5pHLIZwQ
http://office.microsoft.com/en-us/access-help/import-or-link-to-data-in-an-excel-workbook-HA010341760.aspx
http://stackoverflow.com/questions/1849580/export-ms-access-tables-through-vba-to-an-excel-spreadsheet-in-same-directory


9) Review your project; make sure that all the forms are working.

 

Write a one page report on how you could improve the product