Sei sulla pagina 1di 35

SCIENT INSTITUTE OF TECHNOLOGY

COMPUTER APPLICATIONS IN PHARMACY

Class : I Year II Semester

Branch : B pharamacy

Prepared By : Mr. A.Premkumar Goud

(8374846896)

Year : 2017-18

Week1

1)Aim: Create a HTML web page to show personal information.


<html>

<head> <title>pharmacy</title> </head>

<BODY BGCOLOR="SILVER">

<marquee style="color:GREEN">SCIENT</MARQUEE>

<CAPTION STYLE="COLOR:PINK"><H3><BLINK>STUDENT DATA</BLINK></H3></CAPTION>

<TABLE BORDER="5">

<TR>

<TH STYLE="COLOR:RED">NAME</TH>

<TD STYLE="COLOR:BLUE">LAkshmi</TD></TR>

<TR>

<th style="color:red">PHOTO</th>

<td><img src="C:\Users\Public\Pictures\Sample
Pictures\Tulips.jpg"height="100"width="100"></td></tr><tr>

<TH STYLE="COLOR:RED">ADDRESS</TH>

<TD STYLE="COLOR:BLUE">H.NO:2-2-122/66/2,<BR>SR
COLONY,<BR>ameetpet,<BR>HYD.</TD></TR>

<TR>

<TH STYLE="COLOR:RED">EDUCATION</TH>

<TD STYLE="COLOR:BLUE"><UL TYPE="CIRLCE">

<LI>SSC</LI>

<LI>INTER</LI>

<LI>B.pharmacy</LI>

</UL></TD></TR>

<TR>

<TH STYLE="COLOR:RED">SKILLS</TH>

<TD STYLE="COLOR:BLUE"><OL TYPE="I">

<LI>C-LANGUAGE</LI>

<LI>HTML</LI>
</TD></TR></BODY></HTML>

STUDENT DATA

NAME LAkshmi

PHOTO

H.NO:2-2-122/66/2,
SR COLONY,
ADDRESS
ameetpet,
HYD.
● SSC
EDUCATION ● INTER
● B.pharmacy

I.C-LANGUAGE
SKILLS
II.HTML
2)Aim: Write HTML Program For student Marks using Table Tag

<html>
<head>
<title>table</title>
</head>
<body bgcolor="green">>
<th>marks list of pharmacy</th>
<table border="3">
<tr>
<td>s.no</td>
<td>student</td>
<td>marks</td>
</tr>
<td>1</td>
<td>premgoud</td>
<td>85%</td>
</tr>
<tr>
<td>2</td>
<td>naveen</td>
<td>87%</td>
</tr>
<td>3</td>
<td>srinivas</td>
<td>90%</td>
</tr>
</body>
</html>

Output
marks list of pharmacy
s.no student marks
1 premgoud 85%
2 naveen 87%

3 srinivas 90%
3)Aim:Creating mailing labels Using Label Wizard , generating label in MS
WORD

HOW TO CREATE MAILING LABELS IN WORD

Time to create Mailing Labels? If so, did you know that your
Microsoft Office Word has its own label wizard app, which is
very powerful for designing and creating labels, including mail
merge? Now, with the help of this App you can create mailing
address labels right from your current version of Word!

A) Creating your Mailing Labels:

-Start Microsoft Word.


-Click the New Document button.
-From the Tools menu, select Letters and Mailings, then select Envelopes and
Labels.
-Select the Labels tab, click Options, select the type of labels you want to create
and then click OK.
-Click New Document.
B) Type and format the content of your labels.

-Turn on table gridlines (borders) so that you can see the outline of your labels:
from the Table menu, choose Show Gridlines.
-If youíre creating a page of labels that will all look the same, type and format one
label, then use copy and paste to create the rest of the labels (see step 5 for
details on copy and paste).

C) Insert photos into your labels:

-Scan your photos.


OR
-Use photos that you have saved on your computer's hard drive.
D) Resize or move each image as needed so that it fits in the
label.

E) If you want to duplicate information (text and/or photos) in


every label, copy and paste the information into each label. To
do this you need to:

-Select the text and/or photos you want to duplicate.


-From the Edit menu, select Copy.
-Place your cursor in a label where you want to place the information.
-From the Edit menu, select Paste.

F). Save your Mailing labels:


- From the File menu, select Save.
- In the Save As window, locate and open the folder where you want to save the
labels.
- Type a name for your labels, then click Save.

G) If you want to preview your labels:

-From the File menu, select Print Preview.


OR
-Click the Print Preview button.
When you are done previewing, click Close to close the preview window.

Click on File and press on Print


You have Created your own Mailing Labels - see below for an example of mailing
labels printed on our Laser Glossy Material.
Introduction to

Microsoft Access 2007


4)Aim: Create a database in MS Access to store the patient information
with the required fields Using access

Introduction
A database is a collection of information that's related. Access allows you to
manage your information in one database file. Within Access there are four
major areas: Tables, Queries, Forms and Reports

• Tables store your data in your database

• Queries ask questions about information stored in your tables


• Forms allow you to view data stored in your tables
• Reports allow you to print data based on queries/tables that you
have created

Creating a Database
1) Start Access
2) Select Blank Database

3) In the File Name field enter a name for the database and will see the
following appear in the lower-right corner of the screen:

4) Click Create

Microsoft Access automatically creates a new table in the database called

Table1. This is a temporary name until the table is saved.

Access holds data in tables.


Each entry in the database is held as a record

The individual details of each entry are held in fields.

It is easiest to create a new table in Design view where you first define the fields that you will
be using. From the initial screen, click the arrow below the View button, found in the Views
group on the Home tab, and from the menu select Design View.
A dialog box will require that you name the table, for now leave the default Table1 and click
the OK button.
5)Aim: Design a form in MS Access to view, add, delete and
modify the patient record in the database

Understanding the Views


There are 2 basic views when you work in a table: Design View and Datasheet
View. Design View is used to set the data types, insert or delete fields, and set
the Primary key. Datasheet View is used to enter the data for the records. By
default, Access places you in Datasheet View.

To Switch to Design view:

1) Click the View button on the Home Ribbon


2) Type a name for the table
3) Click OK
Before proceeding, it is important to understand common Microsoft Access Data

Types. (Explained in the table below)

To Enter Fields in a Table:

1) Type a name for the first field in the table


2) Press Enter
3) Select a data type
4) Press Enter
5) Type a description for the field

6) Press Enter

Continue this until all necessary fields have been entered into the table.

Note: The order that you enter the field names is the order the fields will
appear in the table and on a form.
To View the Datasheet:

Click the View button on the Ribbon

Setting a Primary Key


The Primary Key is the unique identifier for each record in a table. Access will
not allow duplicate entries in a Primary Key field. By default, Access sets the first
field in the table as the Primary Key field. An example of a Primary Key would be
your Social Security Number. This is something unique about you and should not
be duplicated.

To Set a Primary Key:

1) Switch to Design View


2) Position your cursor in the field you wish to set as the Primary Key
3) Click the Primary Key button on the Ribbon
To Switch Back to Datasheet View to Enter your Records:

Click the View button on the Ribbon.

Entering Data in a Table


Once you have entered the fields and set the data types it is now time to
enter the records in a table.

To Enter Data in a Table:

1) Make sure you are in Datasheet View


2) Enter the data into the table by pressing the tab key to move from one
cell to another
3) When you have completed the record (row), press Enter

4
When inputting data into the table, Access automatically saves the data
after each new record.

Input Masks
An Input Mask is used to pre-format a field to “look/act” a certain way when a
user inputs data.

Example: You could create an input mask for a Social Security Number
field that automatically inserts the dash.

The Input Mask data can either be stored in the table or simply displayed and not
stored. (The latter is preferred)

To Create an Input Mask for a Field

1) Open a table in Design View


2) Click in a field for which you’d like to create an input mask
3) In the Field Properties section at the bottom of the screen, click in the
Input Mask line and notice the Build button that appears at the right end of the
line (see below)

4) Click the Build button

5) Select Input Mask


6) Click Next
5
7) Select a Placeholder character

8) Click Next

9) Select Without the symbols in the mask

10)Click Next
11)Click Finish

Now, when entering data that has been formatted with an Input Mask, you do not
have to type the format into the record.
6
The following is an example of a table with a field that has been formatted with
an Input Mask on the Social Security Field.

Notice, the only thing that the user has to enter is the digits, not the symbols.

Navigating Records
Use the arrows at the bottom of the table to navigate among records.

You are able to navigate from the first record, previous record, next record, last
record, and create a new record (as shown in the picture below).

Notice that the total number of records in the table is shown at the right end of
the navigation arrows.

Sorting Records in a Table


By sorting your records in a table, you are easily able to view/locate records in
your table.

To Sort Records in a Table:

1) Position your cursor in the field that you wish to sort by, by clicking on any
record in that field.
2) Click either the Sort Ascending or Sort Descending icon
Notice, the table above has been sorted by the Last Name field in ascending
order.
6) Aim; Generating report and printing the report from patient
database

Reports
Reports can be based on tables or queries and can be made with the Report
Wizard.

To Create a Report Using the Report Wizard:

1) Click the Create tab on the Ribbon


2) Click the Report Wizard icon
3) Select the table or query upon which the report will be based

4) Select the fields that you want to include on the report by double clicking
on them
5) Click Next
6) If you would like to add grouping to your report, select the field you wish to
group by double clicking on it (Example: City)
7) Click Next
8) Select a style for the report
9) Click Next
10) Type a title for the report
11)Click Finish

To Print a Report

1) Open the report by double clicking on the object in the Navigation Pane
2) By default, the report opens in Print Preview.

To Adjust the Orientation:

Click the portrait or landscape icon on the Print Preview Ribbon


To Adjust the Margins

1) Click them Margins icon on the Print Preview Ribbon


2) Select a margin size

To Print the Report

1) Click the Print Icon on the Print Preview Ribbon


2) Select the Printer
3) Click OK

7) AIM:Creating invoice table using – MS Access


The CUSTOMERS to INVOICE section of this structure forms a ONE TO MANY
relationship. The one customer can have MANY invoices sent to them over time,
but there will always be ONE customer on each invoice. So the customer table is
the ONE side of the relationship and the INVOICE is the MANY side. We can set
a relationship to link these two tables. There is a problem with the link between
the INVOICE and the PRODUCTS tables. The one invoice can contain many
products and the one product can be included in many invoices. A relational
database cannot cater for a MANY TO MANY relationship as you cannot set
multiple PRIMARY or FOREIGN KEY fields in the one relationship. A further
problem exists, one invoice might contain a sale of 5 of a particular item, the next
invoice might contain a sale of 2 of the same item. The company needs a way of
adding these sales so that it knows how many items it has sold. So this initial
TABLE RELATIONSHIP will need modification. The easiest solution to these
problems is to add a table between INVOICE and PRODUCTS. This table can
store every item sold by the company as a single record allowing the company to
keep track of every item sold. The new table can also provide data to the
INVOICE tab
So a revised TABLE RELATIONSHIP diagram becomes: The ONE invoice can
have MANY items sold within it. The ONE product can be sold MANY times. By
adding the LINE ITEMS table to the system a series of ONE TO MANY
relationships are created and a relational database system can accommodate
these. The next step is to decide on the fields to be placed in each table. The
following TABLE STRUCTURE diagram shows one possibility. Remember, we
do not want to store data more than once (except for PRIMARY KEY or
FOREIGN KEY fields).
8)Aim:Creating and working with queries in MS Access
Queries
You use Queries to view, change, and analyze data in different ways. You can
also use them as a source of records for forms and reports.

To Create a Query:

1) Click the Create tab on the Ribbon


2) Click Query Design icon

3) Double-click Create Query in Design View

4) Select the table that you would like to base your Query on
5) Click Add
6) Close the Show Table window

The table(s) will now be displayed in the upper part of the Query Design
Screen by boxes containing the tables’ fields.
7) Double click on the field names in the field list window which you would
like to include in the Query

Defining Criteria in the Query


In order to control which records are displayed, you must define criteria in a
Query. The most common type of Query is the Select Records Query which
will be discussed below.

To Define Criteria for your Query:

1) Position your cursor in the criteria row in the field for which you wish
to define the criteria for
2) Enter the criteria

Example: To find all people it the table who live in Edison:


• Position your cursor in the criteria row of the City field

• Type Edison

• Click the Run Query button

Below is a picture of the results of the above query:

The result of a query is called a recordset. A recordset can be sorted, printed or


filtered in the same manner as a table.

To Save the Query:

1) Click the Save Icon


2) Enter a name for the Query
3) Click OK
Note: When saving a select Query, you are saving the question that you are
asking, not the results that you see when you run the Query.

9
Creating a Form Using the Forms Wizard
A form is a database object that is used to enter or display data in a database.

To Create a Form Using the Wizard:

1) Navigate to the table you want to base the form on


2) Click Create on the Ribbon

3) Click Forms

You are able to navigate using the navigation arrows at the bottom of the form.

Note: The form feeds the table. If you edit a record on the form, or create a
new record, that data will be passed to the table it is associated with.

To Enter a Record on the Form:

1) Click the View button on the Ribbon to switch from Layout View to Form
View
2) Enter the data for each field in the record, pressing the Enter key to move
to the next field
3) Press Enter after you have entered data for the last field

This will send the record to the table.


9)Aim:Exporting Tables, Queries, Forms and Reports to web pages

Export Access Data to XML Format


XML is a very simple and efficient way to exchange data between different
computer programs. More and more companies choose to use XML files to move
data back and forth, rather than using the Microsoft Access 2007 files. Most often
you’ll be asked to send a XML file, which is easier to integrate with other
reporting programs, rather than the high specialized .ACCDB database format.
In case the entire idea of using XML files scares you, then you have to know this:
you don’t exactly need to know how XML looks like or works in order to use it.
So, fear not the technology, just follow the instructions and Microsoft Access
2007 will produce the XML file for you.
In order to export Access data to an XML file, follow the steps:
1. Click on the External Data Ribbon, then choose Export » More » XML File

Fig 1: Choosing where to export the data


2. Access will ask to choose a destination where to save the file. You can
simply use the one Access suggests (which is exactly where the database you
want to import is located). If you want to save it in other location, just click on
Browse and select the location. Also you can change the name of the file.

In my example, since I’m exporting a file called “Table1”, Microsoft Access


suggests the name “Table1.xml” for the XML file which is about to create:
Fig 2. Choose the location where you want to save the XML file and give it a
name
3. Now it’s time to choose what file type you want to create.

Access allows you to choose between three file types:


▪ Data (XML) – creates a XML file with all the content of all the records in
the table
▪ Schema (XSD) – it doesn’t contain any data, but stores the definition
which describes your table. You can use XSD files to:
▪ Give it to programmers so that they know what type of XML to expect from
Access
▪ Use it to create new, empty table in another Microsoft Access database
▪ Presentation (XSL) – defines how a browser can convert the data in the
XML file into HTML web page (which displays normally online). If you choose this
option, Access also creates a XML file which uses the XSL file. So if you choose
to create a XSL file based on Table1 you’ll end up with "Table1.HTM" and
"Table1.XSL".

For this tutorial, we’ll choose XML file (which you’ll be using most of the time
anyway).
Fig3. Choose the type of file

If you need to export related tables as well, click on "More options". In this case,
Table1 doesn’t have any other tables related to it.

Fig4. Choose the related tables, if any, to be added to the XML file

You can also choose to export any other tables that are related to the main table.
For example, if any other table contained a look up column based on Table1,
then the respective table would have shown under the Table1 in the "Lookup
Data" section.
4. Click OK to create the XML file. The result varies depending on what you
chose at step 3.
5. If, at any time, you need to repeat the process without using the wizard,
then tick the box near "Save Export Steps".
Fig5: Save the export steps if you need to repeat the process at any time

10)Aim :- Design a Questionnaire using word processing package to


gather information about particular disease

Procedure :-

Word Processing Package:


A word processing package is a software which is used to process text. It allows the
user to enter, view, edit, manipulate, transmit, store; retrieve and print text material.
Changes and modifications in the text can also be made at any time very easily.
A word processing package runs on a personal or any other computer. Dedicated
machines which perform only the task of word processing are called “Word processor”.

They are smaller and less expensive as compared to PCs.

As an operator enters characters from the keyboard, they are displayed on the screen.
When the operator reaches the end of a line, the word processing program automatically
moves the text to the next line. This feature of the word processing program is known
as “word wrap”.

The main features of the word processing package are:

1. Page Breaks: This command begins the next page of the text.

2. Formatting or Page Design: All information such as spacing between lines or number
of lines per page, etc. can be specified at the time of entering a text. But these can be
changed as desired before taking prints.

3. Editing of Text: A Powerful set of editing commands are available in a word


processing program, to edit the text after it has been typed in.

4. Scrolling: When a text becomes long the user can move the text up or down this is
called scrolling.

5. Search and Replace: This commands searches through the entire document
to locate each occurrence of a particular character string and replace it with another.

6. Spelling Checker: A word processor program includes a spelling checker component.


It checks every word of the document.

7. Syntax Checkers: A word processing package may also include a syntax checker. It
checks for improper syntax.

8. Mail Merge: Many word processing packages include mail merge facility.

INFECTIOUS DISEASES
Infectious diseases are caused by pathogens (“germs”) including viruses, bacteria, fungi
and parasites, and are ranked as the second leading cause of death worldwide by the
World Health Organization. These infections can lead to temporary discomfort, serious
tissue damage or even result in death.
The severity of an infection is in part dependent on the strength of a person’s immune
system, since most people mount an immune response to the infection which kills or
inactivates the pathogen. In this regard, the character of the immune response helps
determine the consequences of a particular infection. And for some infections, an
excessive immune response is actually bad, as it can cause symptoms such as high fever
and inflammation, which have the potential to be more devastating than direct damage
caused by a pathogen.
An additional important element of immune responses to pathogens is that the diagnosis
of infectious disease with traditional culture methods is often quite slow, whereas new
diagnostic methods that rely on interpreting the immune response can be much quicker,
facilitating earlier appropriate treatment.

Potrebbero piacerti anche