Saturday, 6 September 2014

Microsoft Access

Microsoft Access

Microsoft Access, also known as Microsoft Office Access, is a database management system from Microsoftthat combines the relational Microsoft Jet Database Engine with a graphical user interface and software-development tools. It is a member of the Microsoft Office suite of applications, included in the Professional and higher editions or sold separately.
Microsoft Access stores data in its own format based on the Access Jet Database Engine. It can also import or link directly to data stored in other applications and databases.
Software developers and data architects can use Microsoft Access to develop application software, and "power users" can use it to build software applications. Like other Office applications, Access is supported by Visual Basic for Applications, an object-oriented programming language that can reference a variety of objects including DAO (Data Access Objects), ActiveX Data Objects, and many other ActiveX components. Visual objects used in forms and reports expose their methods and properties in the VBA programming environment, and VBA code modules may declare and call Windows operating-system functions.


HTML

This is the simple coding for HTML basic for document.


VLOOKUP

VLOOKUP

vlookups are usually done between different spreadsheets, but to make it easier to show how they work, I’ve put the data on to one spreadsheet (see image below).
The tables in the spreadsheet have some of the most famous 100m runners in the world. They are numbered from 1 to 10 in column B (the numbers are for illustrative purposes only).
I’ve put the names of the runners / athletes in column C.
IMPORTANT: You should note that the table on the LEFT HAND SIDE is set in ASCENDING NUMERCIAL order ie numbers 1 to 10.
However, the table on the RIGHT HAND SIDE is arranged in ALPHABETICAL order of the names of the athletes. So the numbers in that table DO NOT go from 1 to 10 in ascending order.
We’ll use the vlookup function to get the ‘Prize Money’ each athlete has won in column J in the second table into column D in the first table.

Image_2007_1

If you want to actually test out the instructions below with exactly the same data in Excel, then we have included a link to the file with the data here -
vlookup specimen file – Usain Bolt, etc.

STEP 1
First, click into cell D2 – as this is where we want the first vlookup result to appear.

STEP 2
Click on the ‘fx’ button above column B – many people start by typing “=vlookup…” but you don’t have to! Clicking the “fx” button is much quicker!
(you will see the ‘Insert Function’ table pop up – screenshot below)

From this window, we will select the vlookup function, as it is one of the ‘most recently used’ functions in the category here.



If the vlookup function isn’t one of the ‘most recently used’ functions, then change the “Or Select a Category” field to ‘All, then scroll to the bottom, where you will see the word ‘vlookup’ and click on it.
screenshot

Click ‘ok’ and the function arguments window will pop up. This table will show the Syntax (a fancy word for the format of the formula) and it will display the different parts of the syntax.

screenshot


screenshot

VLOOKUP(lookup_value,table_array,col_index_num,range_lookup)

STEP 3
Here, you should click into cell ‘B2’ because that’s the first number or reference for which you want to lookup a value. The ‘look up value’ is the corresponding value we want to find in the first column of the second table – so we want to find out what ‘Prize Money’ the runner in position 1 got in the table that spans columns H to J.

STEP 4
Now click in the next field, the ‘table array’ field (the table array consists of two or more columns of data and the first column in the table array – in this case col. H – has the corresponding numbers that the ‘lookup value is looking at ie the runner positions in this case).
screenshot

STEP 5
After clicking in the ‘table array’ field, you then need to highlight the columns that that you want to look up data from; so here, we will highlight columns H to J, because our lookup value column starts from column H in the second table, and the Prize Money which we want to check is in col. J
An alternative way to populate the “Table_array” field is to highlight the range of data you’re looking up, starting with your first unique value – in this case cell H2. So you’d highlight cells H2 to J11, because J11 is the last cell in the range. You’d then need to FIX this table array by putting dollar signs in before the H, before the 2, before the J and before the 11, so your formula at the end looks like this: =VLOOKUP(B2,$H$2:$J$11,3,FALSE). If you’re in the table array field and you press F4, then Excel will do this automatically for you. This is useful to know if the spreadsheet doesn’t allow you to highlight cells H to J because some cells are merged or you’re getting an invalid error. But for now, just leave it, ensure, you’re fields look the same as those in the screenshot above then proceed to Step 6, the second last step.



STEP 6
When you highlight the columns, you should note that column J is the 3rd column from column H. We then move onto the next step, Col_index_num, which is the column Index number. Click in that field and type the number 3) – this is because column J is three columns away from column H.
screenshot

STEP 7
Now, for the last bit, simply click in the ‘range lookup’ field and type in the word false. You should always type in the word false here, because we want the vlookup to return an exact match for what we‘re looking for, and if it doesn’t then we want it to return the word false.
screenshot

screenshot

Now click ‘Ok’, and like magic, you will notice that the vlookup has returned the figure of $1,000,000 against Usain Bolt’s name in the first table. If you look at the second table, the figure of $1,000,000 is also against Usain Bolt’s name, so we know the vlookup has worked. And that’s how you string together the vlookup formula in excel.

Now all you have to do is drag down the formula, so that the cells below cell D2 populate, and you save yourself the hassle of manually finding the corresponding Prize Money value for each and every athlete in the first table. In a work scenario, if you had hundreds of rows of data, this would literally save you hours of work!

IMPORTANT point to note – the numbers in the “lookup value” column MUST precede the data you’re looking up! The same is true for the table that you are looking up data from (you must ALWAYS move from the left to the right, when using vlookups!)

Mail merge

Mail merge using an Excel spreadsheet

When you run a mail merge, Word pulls names, addresses, and other information
directly from your Excel spreadsheet into the email messages, labels, envelopes, or
documents you’re creating. The merge runs more smoothly if all the information you
want to include is ready—so, the first step is to make sure:
  • The columns in your spreadsheet match the fields you want to use in your merge.
For example, to address readers by their first name, make sure you have separate
columns for first
 and last names. If you want to sort by city, be sure you have a separate City column.
  • All the data you want to merge is in the spreadsheet.
If you want to add more names or other information, it’s best to make those changes
now—before you start the merge.
  • Number formatting won’t change.
If your spreadsheet includes dates, times, currency values, or postal codes that begin or
 end in 0, see Format mail merge numbers, dates, and other values.
Make any changes or additions in your spreadsheet before you connect it to your mail
merge document in Word.
 TIP    If you’re setting up your Excel spreadsheet by importing information from a .csv or
a .txt file, use the Text Import Wizard. For more information, see Format mail merge
 numbers, dates, and other values.

When the data’s ready, start the mail merge

  1. In Word, open a new document.
  2. Click Mailings > Start Mail Merge, and then click the kind of merge you want to run.
Start Mail Merge command
  1. Click Select Recipients > Use Existing List.
Select Recipients command
  1. Browse to your Excel spreadsheet, and then click Open.
If Word prompts you, select Sheet1$ and click OK.
Now the Excel spreadsheet’s connected to the mail merge document you’re
creating in Word.
To include only some of the people or items from your spreadsheet, click Mailings >
Edit Recipient List.
Edit Recipient List command
The Mail Merge Recipients box opens. Here, you can select just the rows you want 
to include.
 To make them easier to find, you can sort and filter the information. For more information
about sorting and filtering items, see Sort and filter the data for a mail merge.

Next, you can insert mail merge fields that pull the information from your spreadsheet into 
your document. For example, to add a greeting line to an email message or a
 letter, click Mailings > Greeting Line.
Greeting Line mail merge field button
Or add addresses from your list by clicking Mailings > Address Block. For more 
information about
adding fields from your spreadsheet, see Insert mail merge fields.

-When your document’s ready, click Preview Results and click the arrows to see 
each specific copy of the document.
Preview Results group

To finish the merge, click Finish & Merge, and then click Print Documents or 
Send E-mail Messages.
Finish and Merge options

Dinner


Dinner di pejabat, tema fairy tales tapi saya tu apa? Princess barangkali haha,, tidak berkesempatan nak mencari baju. Jadi pakai apa yang tercapai "i am princess allea" hoho hadoo??


Ini semua akan menjadi kenangan yang terindah bagi saya. Saya tak akan lupakan segalanya


Office


Suasana persekitaran di meja saya, haha nampak macam berjaya, tapi memang berjaya sangat pun haha. Sibuk sebenarnya saya ini, nampak peuh meja tu.


Tapi nak buat macammana, kerja tetap kerja mesti dilaksanakan wahh mcm berjaya sangat je kata-kata ni. Semoga menjadi insan yang berguna satu hari nanti suatu hari nanti insyaallah amin.


Baby Boo

Haiwan peliharaan saya, agak comel tapi kuku dia sangat tajam. Takut pula nak pegang selalu, tupai ni saya bagi nama bieba, c'tan dan nija biar dia orang rasa haha. Tapi tinggal seekor je dua ekor lagi mana entah lepas. tapi dia comel dan jinak. Dia suka minum susu.


Ramai yang sayang tupai ni, keluarga saya yang banyak bagi makan, disebabkan saya ni seorang pelajar dan pekerja jadi masa saya terhad untuk menjaga dia. Waktu tidur saja tupai ini dengan saya.