ICT Notes
Access
To create a data entry form, use the form wizard
4 well designed features of a form are:
Use closed questions
Whitespace between each entry box
Radio buttons are used where possible
Title that states what data is being collected
To search for data or add any filters, create a query and open design view. There under the desired
field name, add the criteria. Criteria keywords are:
"Ford" - This will only get the data with the word Ford
"Ford" Or "Vauxhall" - This will get the data with either Ford or Vauxhall
Not "Vauxhall" - This will get the data not containing the words Vauxhall
“*Alloy Wheels*” - This will get the data with the words Alloy Wheels, but this can be a
partial match, as in it could be Damaged Alloy Wheels , but it will still show up.
You can also use Formulas, such as <=25 , or >15
Len([FieldName])>10 - Returns records whose name’s length is longer than 10
In(“Ford”, “Vauxhall”, “Cadillac”) - Returns records whose name is in the list
“[A-F]*” - This will get the data whose name starts with letters A-F inclusive
Right([FieldName]), 2) = “y” - Returns records whose second character from the right
is y
Date and Time criterions
Use # to distinguish between Date and Text
#2/2/2023# - Returns records, whose date is 2 Feb 2023
< #2/2/2023 - Returns date before 2 Feb 2023
DatePart(‘m’, [FieldName]) = 10 - Returns records where the date is in October,
irrespective of the year
To calculate a field at runtime, you must create a Query, through the Query Wizard, and then type the
formula in this format - NewFieldName: [SomeField]-[SomeOtherField]
If you see values like ##### in Datasheet view, then the field is too small to display the data. So, resize
the field
To create a report, use the Report Wizard.
To add a formula at the end of the report, in Design View, you must extend the Report Footer, add a
new Text Box and open its Properties tab. In the control source pane, add the formula in the following
format - =Sum([FieldName])
The functions used here are slightly different than the ones used in Excel, but the autotype feature will
help you in that.
To sort the data in a Report, in the Report Wizard itself, there is a sort order, where you select your
field name and choose either Ascending or Descending. Or you can sort the data in the Query itself.
Remember that when sorting in the query, the order is reversed. If the questions says to sort by x and
then sort by y , first you should sort by y and then sort by x
To create a label, use the Label button located right below Report Wizard.
Select a custom size (usually specified), and then in the Prototype label part, add the title, then press
enter and select all the field names. Remember to put each field name on a separate line (if specified).
In the end, if the question asks you to add your name or anything else at the end, press enter and type
whatever they ask.
Excel
SUM - Adds cells together - =SUM(B1:B4)
AVERAGE - Finds the average - =AVERAGE(B1:B4)
MAX - Finds the max value - =MAX(B1:B4)
MIN - Finds the min value - =MIN(B1:B4)
INT - Creates a whole number from a decimal - =INT(B10)
ROUND - Rounds a whole number - =ROUND(B10, 2) , =ROUND(Cell, Decimal place) Negative
integers are rounded to the nearest ten, hundreds, or thousands
COUNT - Counts the number of cells with numeric values - =COUNT(B1:B4)
COUNTA - Counts the number of cells with any content in them - =COUNTA(B1:B4)
COUNTIF - Counts the number of cells meeting a specific condition - =COUNTIF(B1:B4, "Director")
IF - Comparisons between values - =IF(A1=5, "A1 is equal to 5", "A1 is not equal to 5") ;
These can be nested as well, that is, multiple if statements can be inside one if statement
SUMIF - Adds all the number of cells meeting a specific condition - =SUMIF(A1:A4, “>12", B1:B4)
This says that if cells from A1:A4 are greater than 12, corresponding cells from B1:B4 get added
up
HLOOKUP - Looks up the data in a table where a single row contains the data. For example:
Name Joe Biden Donald Trump
Job Description Worst President Also Worst President
Work Experience 1 day 0.5 days
To use - =HLOOKUP(A1, B2:C4, 2) , =HLOOKUP(Reference Value, Range, Row to get the value
from)
VLOOKUP - Looks up the data in a table where a single column contains the data. For example:
Name Job Description Work Experience
Joe Biden Worst President 1 day
Donald Trump Also Worst President 0.5 days
To use - =VLOOKUP(A1, B2:D3, 2) , =VLOOKUP(Reference Value, Range, Column to get the
value from)
XLOOKUP - This is the big brother to all the Lookups. Can be used for any table. - =XLOOKUP(A1,
B2:B8, C2:C8, "Data not Found") , =XLOOKUP(Reference Value, Column/Row to search for,
Column/Row to get the value from, Error Message)
To print a spreadsheet in a set number of pages, open Page Layout , and set the number of pages
for the Width and Height
To delete duplicate values, select the column and go to Data and under Data Validation , select
Remove Duplicates
Website Authoring
HTML Tags
2
<sup> — Superscript ( )
<sub> — Subscript ( 2 )
<table> — Table
<tr> — Row
<td> — Cell
<thead> — Header row
<th> — Header cell
<img src=“Path” alt=“Alternate Text” /> — Image
<video> — Video
autoplay — Autoplays video
muted — Mutes Video
Note autoplay and muted both have to be included
loop — Loops video
controls — Controls
<source src=“Path” type=“video/mp4”> — References video
<audio> — Audio
controls — Shows controls
<source src=“Path” type=“audio/mpeg”> — References Audio
<ol> — Ordered List (Numbered)
𝐻
𝐻
<li> — List item
<ul> — Unordered List (Bullets)
<li> — List item
<a> — Anchor tags
id=“” -- Used to create an anchor, so it could be referred
href=“” — Link
mailto:
[email protected]?subject=Example%20Subject&body=Body%20Text
target=“” — Where the link is opened
_blank — Opens a new browser window
_self — Opens in current window
_w3s — Opens in a window called w3s
<head>
<meta>
charset=“”
UTF-8 — Unicode
ISO-8859-1 — Latin
name=“author” content=“Name” — Author
name=“description” content=“Description” — Description
name=“keywords” content=“Keyword1, Keyword 2” — Keywords
name=“viewport” content=“width=device-width, initial-scale=1.0” — Viewport
Settings
<base> — Target window
target=“” — Same as anchor tag target
<link rel=“stylesheet” href=“Path”> — External stylesheet
<style> — Internal stylesheet
<div> — A division. Only groups stuff, does not have any other purpose
CSS Styles
width: — Width
height: — Height
margin-right: auto; margin-left: auto; — To centre a div
padding: top right bottom left — Space between the content and the cell
/* Comment */ — Comments in CSS
.example — Assigns style to class example
#example — Assigns style to id example
Font
text-align: center left right justify — Aligning text
font-family: — Font type
font-size: — Font Size
font-weight: bold; — Makes font bold
font-style: italic; — Makes font italic
text-decoration: underline; — Makes font underlined
color: — Changes text colour
Table
border-collapse: collapse seperate — Collapses Border and separate stops the border
form collapsing
vertical-align: top middle bottom — Aligns text vertically
colspan: — Merges column
rowspan: — Merges row
border-spacing: top right bottom left — Space between the borders
For padding and border-spacing , if only one value is input, it will apply that value to all sides.
If two values are given, first is for top and bottom and the second is for left and right
Background
background-color: — Background colour
background-image: url(“Path”); — Sets background image
background-size: width height — Sets the size of the background image
background-repeat: no-repeat repeat repeat-x repeat-y — Image repeat
background-position: top right bottom left
background-attachment: fixed scroll — Stops the image from scrolling with the web
page and scroll allows the image to scroll