SAS 2 – Text Orientation

  • Prepare the 2 sheets shown below.
2015-11-24 10_47_32-

SHEET 1 – EXCEL QUIZ

2015-11-24 10_48_49-

SHEET 2 – PAYMENTS

  • Format the sheets to look like the ones shown below.
    • Highlight the cells to be edited.
    • Click ‘Orientation’.
    • Select the orientation needed for each sheet.

2015-11-24 10_48_28-

2015-11-24 10_49_01-

-glenoid

IDP 1 – Importing (Access to Access)

Follow the instructions on how to import data from MS Access to another MS Access. This will be checked so in case of a glitch, ask for assistance.

  • Open the previous Access file created from the previous activity. Then open another blank Access database. You should Database1 in order to complete the import.
2015-11-23 10_25_59-Access (Product Activation Failed)

Database1

2015-11-23 10_26_28-Access (Product Activation Failed) - Database2 _ Database- C__Users_GlenoiD-Corr

Database2

  • On Database2, click External Data.

2015-11-23 10_28_09-Access (Product Activation Failed) - Database2 _ Database- C__Users_GlenoiD-Corr

  • Click Access.

2015-11-23 10_29_32-Access (Product Activation Failed) - Database2 _ Database- C__Users_GlenoiD-Corr

  • Click Browse. Find your Database1 or your first database. Click OK.

2015-11-23 10_30_48-Get External Data - Access Database

  • Click the table that you want to import. In this example tblDebian. Then click OK.

2015-11-23 10_32_27-Access (Product Activation Failed) - Database2 _ Database- C__Users_GlenoiD-Corr.png

  • This window will appear upon successful import. Click Close to dismiss.

2015-11-23 10_34_21-Access (Product Activation Failed) - Database2 _ Database- C__Users_GlenoiD-Corr.png

  • Check if the table was successfully imported to the new Access database.

2015-11-23 10_35_21-Access (Product Activation Failed) - Database2 _ Database- C__Users_GlenoiD-Corr.png

-glenoid

IDP 1 – Importing (Excel to Access)

Follow the instructions on how to import data from MS Excel to MS Access. This will be checked so in case of a glitch, ask for assistance.

  • Create a simple sheet in excel as shown in the figure below. Save it and close, then open MS Access.

2015-11-17 10_09_47-Class List 2nd Sem 2015-16.xlsx - Excel

  • Click EXTERNAL DATA.

2015-11-17 10_10_14-Access - Database1 _ Database- C__Users_GlenoiD-Corrie_Documents_Database1.accdb

  • Click Excel.

2015-11-17 10_10_24-Access - Database1 _ Database- C__Users_GlenoiD-Corrie_Documents_Database1.accdb

  • Browse your saved Excel file you saved earlier. Follow the setup below then click OK.

2015-11-17 10_10_50-Access - Database1 _ Database- C__Users_GlenoiD-Corrie_Documents_Database1.accdb

  • Choose the first sheet. Then click Next.

2015-11-17 10_11_09-Import Spreadsheet Wizard

  • No checks should be made in this step. Just click Next.

2015-11-17 10_11_26-Import Spreadsheet Wizard

  • Click the first column and rename it to s_no. Set type to Integer.

2015-11-17 10_11_45-Import Spreadsheet Wizard

  • Click the next column and rename it to s_name. Set type to Short Text or Text. Click Next.

2015-11-17 10_12_03-Import Spreadsheet Wizard

  • Choose s_no as the primary key value. Click Next.

2015-11-17 10_12_17-Import Spreadsheet Wizard

  • Rename the table to tblDebian. Check the checkbox to analyze. Then click Finish.

2015-11-17 10_12_36-Import Spreadsheet Wizard

  • Click Yes to analyze.

2015-11-17 10_12_49-Import Spreadsheet Wizard

  • Click Cancel to exit the tutorial.

2015-11-17 10_13_03-Access - Database1 _ Database- C__Users_GlenoiD-Corrie_Documents_Database1.accdb

  • Click Close to Finish the setup.

2015-11-17 10_13_13-Get External Data - Excel Spreadsheet

  • Open your tblDebian to check if data was successfully imported.

2015-11-17 10_13_32-Access - Database1 _ Database- C__Users_GlenoiD-Corrie_Documents_Database1.accdb

-glenoid

IDP 1 – Creating and Formatting a New Table

When creating a database, the next best thing to do is to create table to put some data in. Here’s how:

  • Right-click on Table1 and click Design View.

2015-11-10 13_19_08-Access - Database1 _ Database- C__Users_GlenoiD-Corrie_Documents_Database1.accdb

  • Change the name of the table to tblFriends.

2015-11-10 13_20_13-Access - Database1 _ Database- C__Users_GlenoiD-Corrie_Documents_Database1.accdb

  • Type in the Field name and its data type. After encoding, press CTRL+S to save the configuration. Then close the table Design View.

2015-11-10 13_21_20-Access - Database1 _ Database- C__Users_GlenoiD-Corrie_Documents_Database1.accdb

  • Double-click on tblFriends now.

2015-11-10 13_21_53-Access - Database1 _ Database- C__Users_GlenoiD-Corrie_Documents_Database1.accdb

  • Encode at least 10 rows of data to your new table.

2015-11-10 13_22_07-Access - Database1 _ Database- C__Users_GlenoiD-Corrie_Documents_Database1.accdb

  • Congratulations, you have a new table with data in it.

 

– glenoid

Setting Up Connection Between MS Access and Netbeans (for Mint and Debian)

Follow the following procedures carefully. In order to make a connection, you will download the following file first.

  1. Click to download ucanaccess files here.
    1. Extract the zip file.
    2. Copy ucanaccess-3.0.1.jar
    3. Copy from lib folder commons-lang-2.6.jar, commons-logging-1.1.1.jar, hsqldb.jar, jackcess-2.1.2.jar
    4. Paste all 5 jar files to C:\Program Files\Java\jdk1.8.0_40\jre\lib\ext
  2. Create a new Project named Basic Databasing. Then a new jFrame named SampleConnector.java.
  3. Create or download your previous Access Database files from your sent email or you can recreate a new one.
  4. Make sure your Access file is saved inside your Basic Databasing folder.
  5. Code the connection.

– glenoid

Comeback Sample for Java (Mint) – August 25, 2015

Project Name: ProgressLoader
Class Name for Frame 1: ProgressPage

Instruction 1: Create 2 forms (ProgressPage.java & mainMenu.java).

Screenshot (5)

Instruction 2: Put the imports for timer and timertask. Then type the loader function to run the progress bar.

Screenshot (4)

Instruction 3: Right-click ProgressPage and have the windowopened event coded.

Screenshot (6)

– glenoid