ICT Practical Notes
ICT Practical 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
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
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:
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:
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
<video> — Video
autoplay — Autoplays video
<meta>
charset=“”
UTF-8 — Unicode
ISO-8859-1 — Latin
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
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-attachment: fixed scroll — Stops the image from scrolling with the web
page and scroll allows the image to scroll