You are on page 1of 64

PHARMACY

DATA BASE NIRILL PHARMCY

ANALYSIS 1. DESCRIPTION OF THE PROBLEM Nirill pharmacy is one of the biggest pharmacies in GN. Fuvamulah . Every day many people visit this pharmacy to buy medicine. This pharmacy is not computerized. Four pharmacists are working in this pharmacy. All the information about medicines is recorded in a book. When ever they want to check details about any medicine they have to search the book. In which information is recorded. This pharmacy is opened from morning till eleven at night. After selling each medicine they are recording quantity of medicine renaming in a book. If they want check weather there enough medicine or weather they have to order for medicine they have to search the book. So we need to computerize this system of maintaining stock and sales details. 2. SPECIFIC OBJECTIVS Generating reports regarding daily and monthly sales and the stock position and also the items to be ordered that reached the recorder. To make jobs faster. To reduce the writing work of staffs To store the information about the details of customers and the suppliers in the computer data base. To make more profit. To improve the business. To provide the facilities quickly to the customers. Reduce the salary overhead by reducing the number of workers. 3. DESCRIPTION OF THE EXISTING SOLUTION In this pharmacy four pharmacists are working. There is only one register in this pharmacy. They enter the daily sales on each day, in the register. They use the formula FEFO [First Expiry First Out] old drugs stock should always be used first, new drugs stocks should always be placed behind old stock so that the old stock will used first. If the new drug expires at the same time as drug in stock still place it behind the old. If the new drug expires before the drug in stock place it in front and use first. The out put details are clearly entered in the register. 4. EVALUTION OF EXSISTING SOLUTION

The pharmacy runs with a manual disadvantages and advantages.

ADVNTAGES Since the existing is done manually less electricity is needed. No virus attacks to data. It will reduce unemployment. DISADVANTAGES It is a difficult task to write the stocks in the book. Some people take medicines for credit and to check who has paid and unpaid they have to check the long book every day. The account and daily stocks written in a book. If the book was damaged by a disaster the pharmacy will get a great loss. To check whether the medicines are going to be finished is also mundane task. There is chance for errors and mistakes. 5. DESCRIPTION OF OTHER POSSIBLE SOLUTION SOLUTIONS 1. Using computer system. 2. Increasing the no. of staffs. 3. Keeping separate shelves for different types of medicine. 6. EVALUATION OF OTHER POSSIBLE SOLUTIONS SOLUTION 1 ADVANTAGES It is a safer way to store data the staffs can have can have pass word to access to the data. The tasks carried out by the staffs will be more efficient than manually. If reduces the no. of paper wastages as there will not be mistakes. They can easily make stock files and the computer will warn before the stock going to be sold completely. No paper will be used so it saves the environment.

DISADVANTAGES Virus attacks. If any disaster occurred it will damage the whole data in the system and the pharmacy will get a great loss. Electricity bill will increase and to provide this system it is quick expensive. SOLUTION 3 ADVANTAGES It will be easy to find types of medicines. We can keep more medicines. DIADANTAGES It will cost much to make shelves for each type of medicines. More place needed.

DESINE PHASE
1. OVER ALL PLANE STAGES Analysis phase Design Implementation Testing Documentation Evaluation 2. HARDWAR REQUAIMENNTS RAM Hard disk Mouse Key board TIME 2 weeks 2 weeks 1 week 1 week 2 weeks 2 weeks

Monitor CD writer

REASONS FOR HARD WARES

RAM
In RAM all the details will be accessed as far as possible. Than the customers will be satisfied. So RAM capacity is good that can be very quickly and many information can find with out wasting time. HARD DISK In this application it has many information and it will grow day to day. So high storage space is needed MOUSE It needs location to locate material in a specified period. KEY BOARD It is needed for screen display. 3. SOFT WARE REQUIREMENTS Soft ware requirements for the application. The operating system chosen for this system is windows XP profession application. Even though widows XP is recommended windows as and above versions will be compatible for this application. This application is designed by using visual basic versions. This is chosen due to many reasons often are: It has many ready made tools or controls which improves the quality of application. Reports certain are very simple using this soft ware.

4. FLOW CHART Customer

Requesting for medicine

Availability will be checked

Checking Customers file

Information about customers

Details of medicines they got

Bill calculation

Bill

Customers master file and update bill 5

PRODUCING BILL Start

Input the transaction record Error report Validation Customers master file

Producing bill

Bill

Up dated

Error report

Bill list

To find medicines available or not

Medicin es name

Medicines file searching

VDU

Explanation of the flow chart 1. First they will enter medicines name and they will search a medicine file and if the medicines are available then details of medicines will also available 2. If that is not the massage will say that the medicine is not available.

TABLE STRUCTURE Suppliers table Field Data type name text Id no numeric Address Text Phone no Numeric Age Data type Width 30 10 15 7 3 Validation check Sample data Aminath Mohamed 001-007-222 Fehivina 540000 25

Medicine table Field Name of medicine Export place Medicines to be brought SCREEN DESIGN Welcome screen

Data type Text text text

width 25 15 25

Validation check -

Sample data Panadol Pakistan Strepsil

Title

Logo

Next

Cancel

Medicines information

Title

Medicines name Export place Medicines to be brought

Back

Ok

Cancel

Medicines to be brought

Title

Back

Next

Cancel

IMPLEMENTATION Form design and codes Welcome screen

Supplier Form

10

Main Menu

Medicine Screen

11

TESTING
All the fields of the forms of the project, where the validation checks are to be performed is tested with the two categories of the data. These are the two categories of data with which validation checks are going to be performed. Normal data Abnormal data Extreme data Following are the forms, with the fields to be tested; 1. suppliers form 2. medicines form Testing the fields 1-suppliers form Examples of normal data Name - aminath ahmed Id number - G54 Address - fehivina Age -25

12

Documentation
User Manual

The user manual guides the person using the system. All the necessary details about the application will be described in a way that the user finds easy to deal with it. The whole user manual will be described under the following headings. Loading the application Leaving the application

1. loading the application To install the software first insert the CD in the drive. Open the CD contents. There you will find a file named as setup. Open it you will find a form named as installing the soft ware. There will be instructions written on it. Read it and click next button. Again a window will appear, there you will find the label saying select the path. So give the following path to the computer. C:/ pharmacy. Mdb Create a directory in the C drive, and then wait for sometime for the computer to finish the installation. You need to restart the PC after installation.

13

2-Running the program


To run the program you need the following software Microsoft Access First when you run the application you can see a form in front of you. It is the welcome screen. Click Go Command to go to next form.

14

In Main Menu we can see the three things. In this screen if we want go back to Welcome Screen click << Back and if we want exit the screen click Stop putton In this menu if we click Suppliers table it will open this screen

15

In this screen if we want add new patient information click Add and if we want to delete any transaction click Delete and if we want to exit this screen we can see the Main Menu To close the window click Stop. And then, in the Main Menu we click Medicine table to open it. It will look like this

16

In this screen if we want add new patient information click Add and if we want to delete any transaction click Delete and if we want to exit this screen we can see the Main Menu To close the window click Stop.

17

Technical Documentation
Table: medicines table Properties DateCreated: 4/13/2005 12:06:38 PM Datasheet GUID: {guid {DC88B22A-EC854/13/2005 12:07:17 PM 4D53-88B5-1EB9390D4B68}} NameMap: Long binary data OrderByOn: Orientation: Left-to-Right RecordCount: Updatable: True Columns Name Type Size name_ of_ medicines Text 50 AllowZeroLength: True Attributes: Variable Length CollatingOrder: General ColumnHidden: False ColumnOrder: Default ColumnWidth: Default DataUpdatable: False DisplayControl: Text Box GUID: {guid {26585DD8-10F6-43E0-A2B2AFD4C8F70B08}} IMEMode: 0 IMESentenceMode: 3 OrdinalPosition: 0 Required: False SourceField: name_ of_ medicines SourceTable: medicines table

DefaultView: LastUpdated: False 1

18

UnicodeCompression:

True

export place Text 50 AllowZeroLength: True Attributes: Variable Length CollatingOrder: General ColumnHidden: False ColumnOrder: Default ColumnWidth: Default DataUpdatable: False DisplayControl: Text Box GUID: {guid {7828CA3E-9A63-45FC-B151DD4A7F45E963}} IMEMode: 0 IMESentenceMode: 3 OrdinalPosition: 1 Required: False SourceField: export place SourceTable: medicines table UnicodeCompression: True medicines_to_be brought Text AllowZeroLength: True Attributes: Variable Length CollatingOrder: General ColumnHidden: False 50

Table: medicines table olumnOrder: Default ColumnWidth: Default DataUpdatable: False DisplayControl: Text Box GUID: {guid {C858EDD6-C9DF-4F51-B3A8548E8BC7D841}} IMEMode: 0 IMESentenceMode: 3 OrdinalPosition: 2 Required: False SourceField: medicines_to_be brought SourceTable: medicines table UnicodeCompression: True

User Permissions admin Delete, Read Permissions, Set Permissions, 19

Change Owner, Read Definition, Write Definition, Read Data, Insert Data, Update Data, Delete Data

Group Permissions Admins Delete, Read Permissions, Set Permissions, Change Owner, Read Definition, Write Definition, Read Data, Insert Data, Update Data, Delete Data Users Delete, Read Permissions, Set Permissions, Change Owner, Read Definition, Write Definition, Read Data, Insert Data, Update Data, Delete Data Table: supplier table Properties DateCreated: 4/13/2005 12:03:19 PM Datasheet GUID: {guid {8FD4F142-70FC4/13/2005 12:25:40 PM 4A23-8E44-513CEC08B6B8}} NameMap: Long binary data OrderByOn: Orientation: Left-to-Right RecordCount: Updatable: True Columns Name name Type Text Size 50

DefaultView: LastUpdated: False 0

AllowZeroLength: True Attributes: Variable Length CollatingOrder: General ColumnHidden: False ColumnOrder: Default ColumnWidth: Default DataUpdatable: False DisplayControl: Text Box GUID: {guid {DC3248F8-0527-4888-9187B69BBD88442A}} IMEMode: 0 IMESentenceMode: 3 20

OrdinalPosition: 0 Required: False SourceField: name SourceTable: supplier table UnicodeCompression: True id_number Long Integer AllowZeroLength: False Attributes: Fixed Size CollatingOrder: General ColumnHidden: False ColumnOrder: Default ColumnWidth: Default DataUpdatable: False DecimalPlaces: Auto DisplayControl: Text Box GUID: {guid {5F058EE3-C8D0-4878-874A628A6BC710D1}} OrdinalPosition: 1 Required: False SourceField: id_number SourceTable: supplier table address Text AllowZeroLength: True Attributes: Variable Length CollatingOrder: General ColumnHidden: False ColumnOrder: Default ColumnWidth: Default Table: supplier table DataUpdatable: False DisplayControl: Text Box GUID: {guid {FFFE645A-1C7F-4351-9E30E323F10231B9}} IMEMode: 0 IMESentenceMode: 3 OrdinalPosition: 2 Required: False SourceField: address SourceTable: supplier table UnicodeCompression: True phon_ number AllowZeroLength: Long Integer False 21 4 4

50

Attributes: CollatingOrder: ColumnHidden: ColumnOrder: ColumnWidth: DataUpdatable: DecimalPlaces: DisplayControl: GUID: 22F7F37D4120}} OrdinalPosition: Required: SourceField: SourceTable: age

Fixed Size General False Default Default False Auto Text Box {guid {CEC6A759-2FEA-42CF-81463 False phon_ number supplier table 4

Long Integer AllowZeroLength: False Attributes: Fixed Size CollatingOrder: General ColumnHidden: False ColumnOrder: Default ColumnWidth: Default DataUpdatable: False DecimalPlaces: Auto DisplayControl: Text Box GUID: {guid {33B20E0F-5A02-486F-93334694E82A56F2}} OrdinalPosition: 4 Required: False SourceField: age SourceTable: supplier table Table Indexes Name id number Clustered: DistinctCount: Foreign: IgnoreNulls: Name: Primary: Required: Unique: Table: supplier table

Number of Fields 1 False 1 False False id number False False False 5 22

Fields: id_number PrimaryKey Clustered: DistinctCount: Foreign: IgnoreNulls: Name: Primary: Required: Unique: Fields: id_number

Ascending 1 False 1 False False PrimaryKey True True True Ascending

User Permissions admin Delete, Read Permissions, Set Permissions, Change Owner, Read Definition, Write Definition, Read Data, Insert Data, Update Data, Delete Data

Group Permissions Admins Delete, Read Permissions, Set Permissions, Change Owner, Read Definition, Write Definition, Read Data, Insert Data, Update Data, Delete Data Users Delete, Read Permissions, Set Permissions, Change Owner, Read Definition, Write Definition, Read Data, Insert Data, Update Data, Delete Data

23

Form: Main Menu Screen Properties AllowAdditions: True AllowDeletions: True AllowEditing: True AllowFilters: True AllowPivotChartView: AllowPivotTableView: AllowUpdating: No AutoResize: True CloseButton: True ControlBox: True CurrentView: 0 DataEntry: False DatasheetBorderLineStyle: DatasheetCellsEffect: DatasheetColumnHeaderU DatasheetFontHeight: DatasheetFontItalic: DatasheetFontName: DatasheetFontUnderline: DatasheetFontWeight: DatasheetForeColor: DatasheetGridlinesBehavior DatasheetGridlinesColor: 4/13/2005 12:54:24 PM DefaultEditing: 2 DividingLines: True FetchDefaults: True FrozenColumns: GridY: 24 051E-47591BCC3FFA25E9}} HasModule: True HorizontalDatasheetGridline 1507720 InsideHeight: 8160 KeyPreview: False 12:54:24 PM LayoutForPrint: False MaxButton: True

AllowDatasheetView: True AllowDesignChanges: True AllowEdits: True AllowFormView: True True True AutoCenter: False BorderStyle: Sizable Container: Forms Count: 6 Cycle: All Records DatasheetBackColor: 16777215 1 Flat 1 10 False Arial False Normal 0 Both 12632256 DateCreated: DefaultView: Single Form FastLaserPrinting: True FilterOn: False 1 GridX: 24 GUID: {guid {467F319B93A2HelpContextId: 1 InsideWidth: LastUpdated: 0 Hwnd: 14325 4/13/2005

LogicalPageWidth: 9360 MinButton: True

24

MinMaxButtons: Both Enabled Moveable: True NavigationButtons: Orientation: Left-to-Right Painting: True Picture: (none) PictureSizeMode: False PictureType: 0 PrtDevMode: Long binary data PrtMip: Long binary data RecordSelectors: Dynaset RowHeight: Default ShortcutMenu: True SubdatasheetExpanded: SubdatasheetHeight: TimerInterval: 0 VerticalDatasheetGridlineSt Both Visible: False Width: 14040 WindowLeft: 270 WindowWidth: 14760 Form: Main Menu Screen Objects Section: Detail BackColor: CanShrink: Always EventProcPrefix: HasContinued: InSelection: Name: Detail SpecialEffect: WillContinue: False Rectangle: Box5 BackColor: Transparent BorderColor: BorderStyle: Hairline ControlType:

Modal: False NameMap: Long binary data True OrderByOn: False Owner: admin PaletteSource: (Default) PictureAlignment: Center Clip PictureTiling: PopUp: PrtDevNames: RecordLocks: True ScrollBars: ShowGrid: False 0 UserName: 1 False Long binary data No Locks RecordsetType: Both True admin ViewsAllowed:

WhatsThisButton: False WindowHeight: 8985 WindowTop: 600

-2147483633 CanGrow: False DisplayWhen:

False

Detail ForceNew None False Height: 8100 False KeepTogether: False NewRowOrCol: None Flat Visible: True

16777215 BackStyle: 0 Solid 101 BorderLineStyle: Solid BorderWidth: DisplayWhen: 25

Always EventProcPrefix: Left: 3420 OldBorderStyle: SpecialEffect: Visible: True Command Button: Command3 AutoRepeat: Caption: <<Back Default: False Enabled: True FontBold: No FontName: FontUnderline: Normal ForeColor: -2147483630 HelpContextId: Name: Command3 Picture: (none) ReadingOrder: TabIndex: 2 TextFontCharSet: Transparent: Width: 810 Command Button: Command4 AutoRepeat: Caption: Command4 ControlType: DisplayWhen: EventProcPrefix: FontItalic: False FontSize: 8 FontWeight: 2147483630 Height: 576 Left: 5700 ObjectPalette: [Event Procedure] Picture: (bitmap) PictureType: Context Section: 0 TabStop: True

Box5 Name: 1 Etched Width:

Height: Box5 Section: Top: 720 5220

6180 0

False Cancel: False ControlType: 104 DisplayWhen: Always EventProcPrefix: Command3 FontItalic: False Tahoma FontSize: 8 False FontWeight: Height: 576 0 Left: 4380 OnClick: [Event Procedure] PictureType: 0 Context Section: 0 TabStop: True 0 Top: 5760 False Visible: True

False Cancel: False ControlTipText: Close Form 104 Default: False Always Enabled: True Command4 FontBold: No FontName: Tahoma FontUnderline: False Normal ForeColor: HelpContextId: 0 Name: Command4 Long binary data OnClick: PictureData: Long binary data 0 ReadingOrder: TabIndex: 3 TextFontCharSet: 0

26

Form: Main Menu Screen Top: Visible: 5760 True Transparent: Width: 726 False

Label: Label0 BackColor: Transparent BorderColor: BorderStyle: Hairline BottomMargin: Screen ControlType: Always EventProcPrefix: FontItalic: False FontSize: 25 FontWeight: Height: 840 Left: 3900 LineSpacing: NumeralShapes: ReadingOrder: Section: 0 TextAlign: General Top: 1080 Vertical: False Width: 4380 Toggle Button: Toggle1 Caption: Suppliers Table ColumnOrder: Default ControlType: Always Enabled: True FontBold: No FontName: FontUnderline: Normal ForeColor: 255 HelpContextId: Locked: False Picture: (none) ReadingOrder: TabIndex: 0

16777215 BackStyle: 0 BorderLineStyle: Solid Transparent BorderWidth: 0 100 Caption: Main Menu

DisplayWhen:

Label0 FontBold: No FontName: Tahoma FontUnderline: False Normal ForeColor: 16711680 HelpContextId: 0 LeftMargin: 0 0 Name: Label0 System OldBorderStyle: 0 Context RightMargin: 0 SpecialEffect: Flat TextFontCharSet: 0 TopMargin: 0 Visible: True

ColumnHidden: False Default ColumnWidth: 122 DisplayWhen:

EventProcPrefix: Toggle1 FontItalic: False Tahoma FontSize: 12 False FontWeight: Height: 900 0 Left: 4320 Name: Toggle1 PictureType: 0 Context Section: 0 TabStop: True

27

TextFontCharSet: TripleState: Width: 2940 Toggle Button: Toggle2 Caption: Medicines Table ColumnOrder: Default ControlType: Always Enabled: True FontBold: No FontName: FontUnderline: Normal ForeColor: 255 HelpContextId: Locked: False Picture: (none) ReadingOrder: TabIndex: 1 TextFontCharSet: Form: Main Menu Screen TripleState: Width: 2940

0 False

Top: 2580 Visible: True

ColumnHidden: False Default ColumnWidth: 122 DisplayWhen:

EventProcPrefix: Toggle2 FontItalic: False Tahoma FontSize: 12 False FontWeight: Height: 900 0 Left: 4320 Name: Toggle2 PictureType: 0 Context Section: 0 TabStop: True 0 Top: 3600 9 False Visible: True

Code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

VERSION 1.0 CLASS BEGIN MultiUse = -1 'True END Attribute VB_Name = "Form_Main Menu Screen" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = True Attribute VB_PredeclaredId = True Attribute VB_Exposed = False Option Compare Database Private Sub Command3_Click() On Error GoTo Err_Command3_Click DoCmd.GoToRecord , , acLast 28

17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39

Exit_Command3_Click: Exit Sub Err_Command3_Click: MsgBox Err.Description Resume Exit_Command3_Click End Sub Private Sub Command4_Click() On Error GoTo Err_Command4_Click DoCmd.Close Exit_Command4_Click: Exit Sub Err_Command4_Click: MsgBox Err.Description Resume Exit_Command4_Click End Sub

User Permissions admin Delete, Read Permissions, Set Permissions, Change Owner, Read Definition, Modify Definition, Execute Form: Main Menu Screen 10

Group Permissions Admins Delete, Read Permissions, Set Permissions, Change Owner, Read Definition, Modify Definition, Execute Users Delete, Read Permissions, Set Permissions, Change Owner, Read Definition, Modify Definition, Execute Form: Medicines Table 11

29

Properties AllowAdditions: True AllowDatasheetView: True AllowDeletions: True AllowDesignChanges: True AllowEditing: True AllowEdits: True AllowFilters: True AllowFormView: True AllowPivotChartView: True AllowPivotTableView: True AllowUpdating: No AutoCenter: True AutoResize: True BorderStyle: Sizable Caption: medicines table CloseButton: True Container: Forms ControlBox: True Count: 13 CurrentView: 0 Cycle: All Records DataEntry: False DatasheetBackColor: 16777215 DatasheetBorderLineStyle: 1 DatasheetCellsEffect: Flat DatasheetColumnHeaderU 1 DatasheetFontHeight: 10 DatasheetFontItalic: False DatasheetFontName: Arial DatasheetFontUnderline: False DatasheetFontWeight: Normal DatasheetForeColor: 0 DatasheetGridlinesBehavior Both DatasheetGridlinesColor: 12632256 DateCreated: 4/13/2005 12:07:17 PM DefaultEditing: 2 DefaultView: Single Form DividingLines: True FastLaserPrinting: True FetchDefaults: True FilterOn: False FrozenColumns: 1 GridX: 24 GridY: 24 GUID: {guid {DAEC82D3-6C1EHasModule: True 4BA0-A492HelpContextId: 0 HorizontalDatasheetGridline 1 Hwnd: 1573256 InsideHeight: 1260 InsideWidth: 4575 KeyPreview: False LastUpdated: 4/13/2005 12:07:17 PM LayoutForPrint: False LogicalPageWidth: 9360 MaxButton: True MinButton: True MinMaxButtons: Both Enabled Modal: False Moveable: True NameMap: Long binary data NavigationButtons: True OrderByOn: False Orientation: Left-to-Right Owner: admin Painting: True PaintPalette: Long binary data PaletteSource: (Custom) 30

Picture: (bitmap) PictureAlignment: Center PictureData: Long binary data PictureSizeMode: Clip PictureTiling: True PictureType: 0 PopUp: False PrtDevMode: Long binary data PrtDevNames: Long binary data PrtMip: Long binary data RecordLocks: No Locks RecordSelectors: True RecordsetType: Dynaset RecordSource: medicines table RowHeight: Default ScrollBars: Both ShortcutMenu: True ShowGrid: True SubdatasheetExpanded: False SubdatasheetHeight: 0 TimerInterval: 0 UserName: admin VerticalDatasheetGridlineSt 1 ViewsAllowed: Both Visible: False WhatsThisButton: False Width: 14160 WindowHeight: 2085 WindowLeft: 3885 WindowTop: 1335 WindowWidth: 5010 Form: Medicines Table Objects Section: Detail BackColor: CanShrink: Always EventProcPrefix: HasContinued: InSelection: Name: Detail SpecialEffect: WillContinue: False Section: FormFooter BackColor: CanShrink: Always EventProcPrefix: HasContinued: InSelection: Name: FormFooter SpecialEffect: WillContinue: False Section: FormHeader 31 -2147483633 CanGrow: False DisplayWhen: False 12

Detail ForceNew None False Height: 7860 False KeepTogether: False NewRowOrCol: None Flat Visible: True

-2147483633 CanGrow: False DisplayWhen:

False

FormFooter ForceNew None False Height: 0 False KeepTogether: False NewRowOrCol: None Flat Visible: True

BackColor: CanShrink: Always EventProcPrefix: HasContinued: InSelection: Name: FormHeader SpecialEffect: WillContinue: False Rectangle: Box12 BackColor: Transparent BorderColor: BorderStyle: ControlType: Always EventProcPrefix: Left: 3900 OldBorderStyle: SpecialEffect: Visible: True

-2147483633 CanGrow: False DisplayWhen:

False

FormHeader ForceNew None False Height: 0 False KeepTogether: False NewRowOrCol: None Flat Visible: True

16777215 BackStyle: 8421504 Solid 101 Box12 Name: 1 Shadowed Width: BorderLineStyle: Solid BorderWidth: 3 pt DisplayWhen: Height: Box12 Section: Top: 900 6360 4800 0

Command Button: Command10 AutoRepeat: False Cancel: False Caption: Edit ControlType: 104 Default: False DisplayWhen: Always Enabled: True EventProcPrefix: Command10 FontBold: Yes FontItalic: False FontName: Times New Roman FontSize: 10 FontUnderline: False FontWeight: Bold ForeColor: 0 Height: 450 HelpContextId: 0 Left: 6120 Name: Command10 OnClick: [Event Procedure] Picture: (none) PictureType: 0 Form: Medicines Table ReadingOrder: TabIndex: 6 TextFontCharSet: Transparent: Width: 705 Context TabStop: 0 False Section: 0 True Top: 4440 Visible: True 13

Command Button: Command11 AutoRepeat: False

Cancel:

False

32

Caption: Command11 ControlType: DisplayWhen: EventProcPrefix: FontItalic: False FontSize: 10 FontWeight: Height: 450 Left: 7860 ObjectPalette: [Event Procedure] Picture: (bitmap) PictureType: Context Section: 0 TabStop: True Top: 4440 Visible: True Command Button: Command7 AutoRepeat: Caption: Back Default: False Enabled: True FontBold: Yes FontName: 10 FontUnderline: ForeColor: 0 HelpContextId: Name: Command7 Picture: (none) ReadingOrder: TabIndex: 3 TextFontCharSet: Transparent: Width: 705

ControlTipText: Close Form 104 Default: False Always Enabled: True Command11 FontBold: Yes FontName: Times New Roman FontUnderline: False Bold ForeColor: 0 HelpContextId: 0 Name: Command11 Long binary data OnClick: PictureData: Long binary data 0 ReadingOrder: TabIndex: 7 TextFontCharSet: 0 Transparent: False Width: 705 False Cancel: False ControlType: 104 DisplayWhen: Always EventProcPrefix: Command7 FontItalic: False Times New Roman FontSize: False FontWeight: Bold Height: 450 0 Left: 5340 OnClick: [Event Procedure] PictureType: 0 Context Section: 0 TabStop: True 0 Top: 4440 False Visible: True

Command Button: Command8 AutoRepeat: False Cancel: False Caption: Add ControlType: 104 Default: False DisplayWhen: Always Enabled: True EventProcPrefix: Command8 FontBold: Yes FontItalic: False FontName: Times New Roman FontSize: 10 FontUnderline: False FontWeight: Bold 33

ForeColor: 0 HelpContextId: Name: Command8 Picture: (none) ReadingOrder: TabIndex: 4 Form: Medicines Table TextFontCharSet: Transparent: Width: 705 Command Button: Command9 AutoRepeat: Caption: Save Default: False Enabled: True FontBold: Yes FontName: 10 FontUnderline: ForeColor: 0 HelpContextId: Name: Command9 Picture: (none) ReadingOrder: TabIndex: 5 TextFontCharSet: Transparent: Width: 705 Text Box: export place AllowAutoCorrect: BackColor: BorderColor: BorderStyle: Hairline BottomMargin: CanShrink: ColumnOrder: ControlSource: 109 DecimalPlaces: Always Enabled: True EventProcPrefix:

Height: 450 0 Left: 4560 OnClick: [Event Procedure] PictureType: 0 Context Section: 0 TabStop: True 14 0 False Top: 4440 Visible: True

False Cancel: False ControlType: 104 DisplayWhen: Always EventProcPrefix: Command9 FontItalic: False Times New Roman FontSize: False FontWeight: Bold Height: 450 0 Left: 7020 OnClick: [Event Procedure] PictureType: 0 Context Section: 0 TabStop: True 0 Top: 4440 False Visible: True

True 16777215 8421504 Solid

AutoTab: False BackStyle: Normal BorderLineStyle: Solid BorderWidth:

0 CanGrow: False False ColumnHidden: False Default ColumnWidth: 2310 export place ControlType: Auto DisplayWhen:

EnterKeyBehavior: False export_place FilterLookup: 34

Database Default FontBold: No FontName: 12 FontUnderline: Normal ForeColor: 0 HelpContextId: IMEMode: 0 IsHyperlink: 0 Left: 7500 LineSpacing: Name: export place OldBorderStyle: Context RightMargin: System ScrollBars: Neither SpecialEffect: TabStop: True TextFontCharSet: TopMargin: Visible: True Label: export place_Label BackColor: Transparent

FontItalic: False Times New Roman False

FontSize:

FontWeight:

Height: 300 0 IMEHold: False IMESentenceMode 3 : False KeyboardLanguage : LeftMargin: 0 0 Locked: False NumeralShapes: System 1 ReadingOrder: 0 Section: Flat TextAlign: 0 0 Width: 13209 ScrollBarAlign: 0 TabIndex: 1 General Top: 2640 Vertical: False 2130 BackStyle:

35

Form: Medicines Table BorderColor: BorderStyle: Hairline BottomMargin: place ControlType: Always EventProcPrefix: Yes FontItalic: False FontSize: 12 FontWeight: Height: 300 Left: 4500 LineSpacing: place_Label NumeralShapes: ReadingOrder: Section: 0 TextAlign: General Top: 2640 Vertical: False Width: 1860 Label: Label6 BackColor: Transparent BorderColor: BorderStyle: Hairline BottomMargin: Medicines Record ControlType: Always EventProcPrefix: FontItalic: False FontSize: 24 FontWeight: Height: 780 Left: 4260 LineSpacing: NumeralShapes: ReadingOrder:

15 0 BorderLineStyle: Solid Transparent BorderWidth: 0 100 Caption: export

DisplayWhen: FontBold:

export_place_Label

FontName: Times New Roman FontUnderline: False Bold ForeColor: 0 HelpContextId: 0 LeftMargin: 0 0 Name: export System OldBorderStyle: Context RightMargin: SpecialEffect: Flat TextFontCharSet: 0 TopMargin: 0 Visible: True 0 0

13209

BackStyle:

0 BorderLineStyle: Solid Transparent BorderWidth: 0 100 Caption: DisplayWhen:

Label6 FontBold: Yes FontName: Times New Roman FontUnderline: False Bold ForeColor: 0 HelpContextId: 0 LeftMargin: 0 0 Name: Label6 System OldBorderStyle: 0 Context RightMargin: 0

36

Section: TextAlign: Top: Vertical: Width:

0 General 1080 False 4680

SpecialEffect: Flat TextFontCharSet: TopMargin: 0 Visible: True

Text Box: medicines_to_be brought AllowAutoCorrect: True AutoTab: False BackColor: 16777215 BackStyle: Normal BorderColor: 8421504 BorderLineStyle: Solid BorderStyle: Solid BorderWidth: Hairline BottomMargin: 0 CanGrow: False CanShrink: False ColumnHidden: False ColumnOrder: Default ColumnWidth: 2310 ControlSource: medicines_to_be brought ControlType: 109 DecimalPlaces: Auto DisplayWhen: Always Enabled: True EnterKeyBehavior: False EventProcPrefix: medicines_to_be_brought FilterLookup: Database Default FontBold: No FontItalic: False FontName: Times New Roman FontSize: 12 FontUnderline: False FontWeight: Normal ForeColor: 0 Height: 300 Form: Medicines Table HelpContextId: IMEMode: 0 IsHyperlink: 0 0 IMEHold: False IMESentenceMode 3 : False KeyboardLanguage 16

: Left: 7500 LeftMargin: 0 LineSpacing: 0 Locked: False Name: medicines_to_be brought NumeralShapes: System OldBorderStyle: 1 ReadingOrder: Context RightMargin: 0 ScrollBarAlign: System ScrollBars: Neither Section: 0

37

SpecialEffect: TabStop: True TextFontCharSet: TopMargin: Visible: True

Flat TextAlign: 0 0 Width:

TabIndex: 2 General Top: 3060 Vertical: False 2460

Label: medicines_to_be brought_Label BackColor: 13209 BackStyle: Transparent BorderColor: 0 BorderLineStyle: Solid BorderStyle: Transparent BorderWidth: Hairline BottomMargin: 0 Caption: medicines_to_be brought ControlType: 100 DisplayWhen: Always EventProcPrefix: medicines_to_be_brought_Label FontBold: Yes FontItalic: False FontName: Times New Roman FontSize: 12 FontUnderline: False FontWeight: Bold ForeColor: 0 Height: 300 HelpContextId: 0 Left: 4500 LeftMargin: 0 LineSpacing: 0 Name: medicines_to_be brought_Label NumeralShapes: System OldBorderStyle: 0 ReadingOrder: Context RightMargin: 0 Section: 0 SpecialEffect: Flat TextAlign: General TextFontCharSet: 0 Top: 3060 TopMargin: 0 Vertical: False Visible: True Width: 2580 Text Box: name_ of_ medicines AllowAutoCorrect: True AutoTab: False BackColor: 16777215 BackStyle: Normal BorderColor: 8421504 BorderLineStyle: Solid BorderStyle: Solid BorderWidth: Hairline BottomMargin: 0 CanGrow: False CanShrink: False ColumnHidden: False ColumnOrder: Default ColumnWidth: 2310 ControlSource: name_ of_ medicines ControlType: 109 DecimalPlaces: Auto DisplayWhen: Always Enabled: True EnterKeyBehavior: False 38

EventProcPrefix: FilterLookup: FontBold: No FontName: 12 FontUnderline: Normal ForeColor: 0 HelpContextId: IMEMode: 0

name__of__medicines Database Default FontItalic: False Times New Roman False

FontSize:

FontWeight: False 3

Height: 300 0 IMEHold: IMESentenceMode :

Form: Medicines Table IsHyperlink: 0 Left: 7500 LineSpacing: Name: name_ of_ medicines OldBorderStyle: Context RightMargin: System ScrollBars: Neither SpecialEffect: TabStop: True TextFontCharSet: TopMargin: Visible: True False KeyboardLanguage

17

: LeftMargin: 0 0 Locked: False NumeralShapes: System 1 ReadingOrder: 0 Section: Flat TextAlign: 0 0 Width: ScrollBarAlign: 0 TabIndex: 0 General Top: 2280 Vertical: False 2310

Label: name_ of_ medicines_Label BackColor: 13209 BackStyle: Transparent BorderColor: 0 BorderLineStyle: Solid BorderStyle: Transparent BorderWidth: Hairline BottomMargin: 0 Caption: name_ of_ medicines ControlType: 100 DisplayWhen: Always EventProcPrefix: name__of__medicines_Label FontBold: Yes FontItalic: False FontName: Times New Roman FontSize: 12 FontUnderline: False FontWeight: Bold ForeColor: 0

39

Height: 300 Left: 4500 LineSpacing: medicines_Label NumeralShapes: ReadingOrder: Section: 0 TextAlign: General Top: 2220 Vertical: False Width: 2280

HelpContextId: 0 LeftMargin: 0 0 Name:

name_ of_ 0 0

System OldBorderStyle: Context RightMargin: SpecialEffect: Flat TextFontCharSet: 0 TopMargin: 0 Visible: True

Code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

VERSION 1.0 CLASS BEGIN MultiUse = -1 'True END Attribute VB_Name = "Form_medicines table" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = True Attribute VB_PredeclaredId = True Attribute VB_Exposed = False Option Compare Database Private Sub Command7_Click() On Error GoTo Err_Command7_Click Screen.PreviousControl.SetFocus DoCmd.FindNext

Form: Medicines Table 19 20 21 22 23 24 25 26 27 28 Exit_Command7_Click: Exit Sub Err_Command7_Click: MsgBox Err.Description Resume Exit_Command7_Click End Sub Private Sub Command8_Click() On Error GoTo Err_Command8_Click

18

40

29 30 31 DoCmd.GoToRecord , , acNewRec 32 33 Exit_Command8_Click: 34 Exit Sub 35 36 Err_Command8_Click: 37 MsgBox Err.Description 38 Resume Exit_Command8_Click 39 40 End Sub 41 Private Sub Command9_Click() 42 On Error GoTo Err_Command9_Click 43 44 45 DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70 46 47 Exit_Command9_Click: 48 Exit Sub 49 50 Err_Command9_Click: 51 MsgBox Err.Description 52 Resume Exit_Command9_Click 53 54 End Sub 55 Private Sub Command10_Click() 56 On Error GoTo Err_Command10_Click 57 58 59 DoCmd.DoMenuItem acFormBar, acRecordsMenu, 0, 2, acMenuVer70 60 61 Exit_Command10_Click: 62 Exit Sub 63 64 Err_Command10_Click: 65 MsgBox Err.Description 66 Resume Exit_Command10_Click 67 68 End Sub 69 Private Sub Command11_Click() 70 On Error GoTo Err_Command11_Click 71 72 41

Form: Medicines Table 73 DoCmd.Close 74 75 Exit_Command11_Click: 76 Exit Sub 77 78 Err_Command11_Click: 79 MsgBox Err.Description 80 Resume Exit_Command11_Click 81 82 End Sub

19

User Permissions admin Delete, Read Permissions, Set Permissions, Change Owner, Read Definition, Modify Definition, Execute

Group Permissions Admins Delete, Read Permissions, Set Permissions, Change Owner, Read Definition, Modify Definition, Execute Users Delete, Read Permissions, Set Permissions, Change Owner, Read Definition, Modify Definition, Execute Form: Suppliers Table Properties AllowAdditions: True AllowDeletions: True AllowEditing: True AllowFilters: True AllowPivotChartView: AllowPivotTableView: AllowUpdating: No AutoResize: True Caption: supplier table Container: Forms 20

AllowDatasheetView: True AllowDesignChanges: True AllowEdits: True AllowFormView: True True True AutoCenter: True BorderStyle: Sizable CloseButton: True ControlBox: True

42

Count: 18 CurrentView: 0 Cycle: All Records DataEntry: False DatasheetBackColor: 16777215 DatasheetBorderLineStyle: 1 DatasheetCellsEffect: Flat DatasheetColumnHeaderU 1 DatasheetFontHeight: 10 DatasheetFontItalic: False DatasheetFontName: Arial DatasheetFontUnderline: False DatasheetFontWeight: Normal DatasheetForeColor: 0 DatasheetGridlinesBehavior Both DatasheetGridlinesColor: 12632256 DateCreated: 4/13/2005 12:26:26 PM DefaultEditing: 2 DefaultView: Single Form DividingLines: True FastLaserPrinting: True FetchDefaults: True FilterOn: False FrozenColumns: 1 GridX: 24 GridY: 24 GUID: {guid {95FDB4AC-098DHasModule: True 494F-B0ADHelpContextId: 0 HorizontalDatasheetGridline 1 Hwnd: 1638792 InsideHeight: 2205 InsideWidth: 4575 KeyPreview: False LastUpdated: 4/13/2005 12:26:26 PM LayoutForPrint: False LogicalPageWidth: 9360 MaxButton: True MinButton: True MinMaxButtons: Both Enabled Modal: False Moveable: True NameMap: Long binary data NavigationButtons: True OrderByOn: False Orientation: Left-to-Right Owner: admin Painting: True PaletteSource: (Default) Picture: (bitmap) PictureAlignment: Center PictureData: Long binary data PictureSizeMode: Clip PictureTiling: True PictureType: 0 PopUp: False PrtDevMode: Long binary data PrtDevNames: Long binary data PrtMip: Long binary data RecordLocks: No Locks RecordSelectors: True RecordsetType: Dynaset RecordSource: supplier table RowHeight: Default ScrollBars: Both ShortcutMenu: True 43

ShowGrid: True SubdatasheetHeight: 0 UserName: admin ViewsAllowed: Both WhatsThisButton: 14280 WindowHeight: 3030 WindowTop: 1935 Form: Suppliers Table Objects Section: Detail BackColor: CanShrink: Always EventProcPrefix: HasContinued: InSelection: Name: Detail OnClick: [Event Procedure] Visible: True Section: FormFooter BackColor: CanShrink: Always EventProcPrefix: HasContinued: InSelection: Name: FormFooter SpecialEffect: WillContinue: False Section: FormHeader BackColor: CanShrink: Always EventProcPrefix: HasContinued: InSelection: Name: FormHeader SpecialEffect: WillContinue: False

SubdatasheetExpanded: False 0 TimerInterval: VerticalDatasheetGridlineSt Visible: False False Width: WindowLeft: WindowWidth: 3480 5010 21 1

-2147483633 CanGrow: False DisplayWhen:

False

Detail ForceNew None False Height: 7980 False KeepTogether: False NewRowOrCol: None SpecialEffect: Flat WillContinue: False -2147483633 CanGrow: False DisplayWhen: False

FormFooter ForceNew None False Height: 0 False KeepTogether: False NewRowOrCol: None Flat Visible: True

-2147483633 CanGrow: False DisplayWhen:

False

FormHeader ForceNew None False Height: 0 False KeepTogether: False NewRowOrCol: None Flat Visible: True

44

Text Box: address AllowAutoCorrect: BackColor: BorderColor: BorderStyle: Hairline BottomMargin: CanShrink: ColumnOrder: ControlSource: DecimalPlaces: Always Enabled: True EventProcPrefix: Database Default FontBold: No FontName: FontUnderline: Normal ForeColor: 0 HelpContextId: IMEMode: 0 IsHyperlink: 0 Left: 6720 LineSpacing: Name: address Form: Suppliers Table OldBorderStyle: Context RightMargin: System ScrollBars: Neither SpecialEffect: TabStop: True TextFontCharSet: TopMargin: Visible: True Label: address_Label BackColor: Transparent

True 16777215 13209 Solid 0 False Default address Auto

AutoTab: False BackStyle: Normal BorderLineStyle: Solid BorderWidth: CanGrow: False ColumnHidden: False ColumnWidth: 2310 ControlType: 109 DisplayWhen:

EnterKeyBehavior: False address FilterLookup: FontItalic: Arial False False FontSize: 12 FontWeight:

Height: 285 0 IMEHold: False IMESentenceMode 3 : False KeyboardLanguage : LeftMargin: 0 0 Locked: False NumeralShapes: System 22 1 0 Section: Flat TextAlign: 0 0 Width: ReadingOrder: ScrollBarAlign: 0 TabIndex: 2 General Top: 2820 Vertical: False 2310

16777215 BackStyle:

45

BorderColor: BorderStyle: Hairline BottomMargin: ControlType: Always EventProcPrefix: FontItalic: False FontSize: 12 FontWeight: Height: 300 Left: 4860 LineSpacing: address_Label NumeralShapes: ReadingOrder: Section: 0 TextAlign: General Top: 2820 Vertical: False Width: 1860 Text Box: age AllowAutoCorrect: BackColor: BorderColor: BorderStyle: Hairline BottomMargin: CanShrink: ColumnOrder: ControlSource: DecimalPlaces: Always Enabled: True EventProcPrefix: Database Default FontBold: No FontName: FontUnderline: Normal ForeColor: 0 HelpContextId: IMEMode: 0 IsHyperlink:

0 BorderLineStyle: Solid Transparent BorderWidth: 0 100 Caption: address DisplayWhen:

address_Label FontBold: Yes FontName: Times New Roman FontUnderline: False Bold ForeColor: 13209 HelpContextId: 0 LeftMargin: 0 0 Name: System OldBorderStyle: Context RightMargin: SpecialEffect: Flat TextFontCharSet: 0 TopMargin: 0 Visible: True 0 0

True 16777215 13209 Solid 0 False Default age Auto

AutoTab: False BackStyle: Normal BorderLineStyle: Solid BorderWidth: CanGrow: False ColumnHidden: False ColumnWidth: 1215 ControlType: 109 DisplayWhen:

EnterKeyBehavior: False age FilterLookup: FontItalic: Arial False False FontSize: 12 FontWeight:

Height: 285 0 IMEHold: False IMESentenceMode 3 : False KeyboardLanguage

46

0 Left: 6720 LineSpacing: Name: age OldBorderStyle: Context RightMargin: System ScrollBars: Neither Form: Suppliers Table SpecialEffect: TabStop: True TextFontCharSet: TopMargin: Visible: True Label: age_Label BackColor: Transparent BorderColor: BorderStyle: Hairline BottomMargin: ControlType: Always EventProcPrefix: FontItalic: False FontSize: 12 FontWeight: Height: 300 Left: 4860 LineSpacing: NumeralShapes: ReadingOrder: Section: 0 TextAlign: General Top: 3660 Vertical: False Width: 1860 Rectangle: Box17 BackColor: Transparent BorderColor: Flat TextAlign: 0 0 Width: TabIndex: 4 General Top: 3660 Vertical: False 1215 : LeftMargin: 0 0 Locked: False NumeralShapes: System 1 ReadingOrder: 0 Section: ScrollBarAlign: 0 23

16777215 BackStyle: 0 BorderLineStyle: Solid Transparent BorderWidth: 0 100 Caption: age DisplayWhen:

age_Label FontBold: Yes FontName: Times New Roman FontUnderline: False Bold ForeColor: 13209 HelpContextId: 0 LeftMargin: 0 0 Name: age_Label System OldBorderStyle: 0 Context RightMargin: 0 SpecialEffect: Flat TextFontCharSet: 0 TopMargin: 0 Visible: True

16777215 BackStyle: 13209 BorderLineStyle: Solid 47

BorderStyle: ControlType: Always EventProcPrefix: Left: 3840 OldBorderStyle: SpecialEffect: Visible: True

Solid 101 Box17 Name: 1 Shadowed Width:

BorderWidth: DisplayWhen: Height: Box17 Section: Top: 420 6780 5700 0

3 pt

Command Button: Command11 AutoRepeat: False Cancel: False Caption: Next ControlType: 104 Default: False DisplayWhen: Always Enabled: True EventProcPrefix: Command11 FontBold: Yes FontItalic: False FontName: Times New Roman FontSize: 10 FontUnderline: False FontWeight: Bold ForeColor: 13209 Height: 450 HelpContextId: 0 Left: 4440 Name: Command11 OnClick: [Event Procedure] Picture: (none) PictureType: 0 ReadingOrder: Context Section: 0 TabIndex: 5 TabStop: True TextFontCharSet: 0 Top: 4860 Transparent: False Visible: True Width: 855 Command Button: Command12 Form: Suppliers Table AutoRepeat: Caption: Back Default: False Enabled: True FontBold: Yes FontName: 10 FontUnderline: ForeColor: 13209 HelpContextId: Name: Command12 Picture: (none) ReadingOrder: TabIndex: 6 TextFontCharSet: False Cancel: False ControlType: 104 DisplayWhen: Always EventProcPrefix: Command12 FontItalic: False Times New Roman FontSize: False FontWeight: Bold Height: 450 0 Left: 5340 OnClick: [Event Procedure] PictureType: 0 Context Section: 0 TabStop: True 0 Top: 4860 48 24

Transparent: Width: 855

False

Visible:

True

Command Button: Command13 AutoRepeat: False Cancel: False Caption: Add ControlType: 104 Default: False DisplayWhen: Always Enabled: True EventProcPrefix: Command13 FontBold: Yes FontItalic: False FontName: Times New Roman FontSize: 10 FontUnderline: False FontWeight: Bold ForeColor: 13209 Height: 450 HelpContextId: 0 Left: 6240 Name: Command13 OnClick: [Event Procedure] Picture: (none) PictureType: 0 ReadingOrder: Context Section: 0 TabIndex: 7 TabStop: True TextFontCharSet: 0 Top: 4860 Transparent: False Visible: True Width: 855 Command Button: Command14 AutoRepeat: False Cancel: False Caption: Edit ControlType: 104 Default: False DisplayWhen: Always Enabled: True EventProcPrefix: Command14 FontBold: Yes FontItalic: False FontName: Times New Roman FontSize: 10 FontUnderline: False FontWeight: Bold ForeColor: 13209 Height: 450 HelpContextId: 0 Left: 7140 Name: Command14 OnClick: [Event Procedure] Picture: (none) PictureType: 0 ReadingOrder: Context Section: 0 TabIndex: 8 TabStop: True TextFontCharSet: 0 Top: 4860 Transparent: False Visible: True Width: 855 Command Button: Command15 AutoRepeat: False Cancel: False Caption: Save ControlType: 104 Default: False DisplayWhen: Always Form: Suppliers Table 25 49

Enabled: True FontBold: Yes FontName: 10 FontUnderline: ForeColor: 13209 HelpContextId: Name: Command15 Picture: (none) ReadingOrder: TabIndex: 9 TextFontCharSet: Transparent: Width: 855

EventProcPrefix: Command15 FontItalic: False Times New Roman FontSize: False FontWeight: Bold Height: 450 0 Left: 8040 OnClick: [Event Procedure] PictureType: 0 Context Section: 0 TabStop: True 0 Top: 4860 False Visible: True

Command Button: Command16 AutoRepeat: False Cancel: False Caption: Delete ControlType: 104 Default: False DisplayWhen: Always Enabled: True EventProcPrefix: Command16 FontBold: Yes FontItalic: False FontName: Times New Roman FontSize: 10 FontUnderline: False FontWeight: Bold ForeColor: 13209 Height: 450 HelpContextId: 0 Left: 8940 Name: Command16 OnClick: [Event Procedure] Picture: (none) PictureType: 0 ReadingOrder: Context Section: 0 TabIndex: 10 TabStop: True TextFontCharSet: 0 Top: 4860 Transparent: False Visible: True Width: 855 Text Box: id_number AllowAutoCorrect: BackColor: BorderColor: BorderStyle: Hairline BottomMargin: CanShrink: ColumnOrder: ControlSource: DecimalPlaces: Always Enabled: True True 16777215 13209 Solid 0 False Default id_number Auto AutoTab: False BackStyle: Normal BorderLineStyle: Solid BorderWidth: CanGrow: False ColumnHidden: False ColumnWidth: 1215 ControlType: 109 DisplayWhen: False 50

EnterKeyBehavior:

EventProcPrefix: Database Default FontBold: No FontName: FontUnderline: Normal ForeColor: 0 HelpContextId: IMEMode: 0 IsHyperlink: 0 Left: 6720 LineSpacing: Name: id_number OldBorderStyle: Context Form: Suppliers Table RightMargin: System ScrollBars: Neither SpecialEffect: TabStop: True TextFontCharSet: TopMargin: Visible: True Label: id_number_Label BackColor: Transparent BorderColor: BorderStyle: Hairline BottomMargin: ControlType: Always EventProcPrefix: FontItalic: False FontSize: 12 FontWeight: Height: 300 Left: 4860 LineSpacing:

id_number FilterLookup: FontItalic: Arial False False FontSize: 12 FontWeight:

Height: 285 0 IMEHold: False IMESentenceMode 3 : False KeyboardLanguage : LeftMargin: 0 0 Locked: False NumeralShapes: System 1 ReadingOrder:

26 0 Section: Flat TextAlign: 0 0 Width: ScrollBarAlign: 0 TabIndex: 1 General Top: 2400 Vertical: False 1215

16777215 BackStyle: 0 BorderLineStyle: Solid Transparent BorderWidth: 0 100 Caption: id_number DisplayWhen:

id_number_Label FontBold: Yes FontName: Times New Roman FontUnderline: False Bold ForeColor: 13209 HelpContextId: 0 LeftMargin: 0 0 Name:

51

id_number_Label NumeralShapes: ReadingOrder: Section: 0 TextAlign: General Top: 2400 Vertical: False Width: 1860 Label: Label10 BackColor: Transparent BorderColor: BorderStyle: Hairline BottomMargin: Register ControlType: Always EventProcPrefix: FontItalic: False FontSize: 26 FontWeight: Height: 900 Left: 4440 LineSpacing: NumeralShapes: ReadingOrder: Section: 0 TextAlign: General Top: 840 Vertical: False Width: 5640 Text Box: name AllowAutoCorrect: BackColor: BorderColor: BorderStyle: Hairline BottomMargin: CanShrink: Form: Suppliers Table ColumnOrder: ControlSource:

System OldBorderStyle: Context RightMargin: SpecialEffect: Flat TextFontCharSet: 0 TopMargin: 0 Visible: True

0 0

16777215 BackStyle: 0 BorderLineStyle: Solid Transparent BorderWidth: 0 100 Caption: DisplayWhen: Suppliers

Label10 FontBold: Yes FontName: Times New Roman FontUnderline: False Bold ForeColor: 13209 HelpContextId: 0 LeftMargin: 0 0 Name: Label10 System OldBorderStyle: 0 Context RightMargin: 0 SpecialEffect: Flat TextFontCharSet: 0 TopMargin: 0 Visible: True

True 16777215 13209 Solid 0 False

AutoTab: False BackStyle: Normal BorderLineStyle: Solid BorderWidth: CanGrow: False ColumnHidden: False 27

Default name

ColumnWidth: ControlType:

2310 109 52

DecimalPlaces: Always Enabled: True EventProcPrefix: Database Default FontBold: No FontName: FontUnderline: Normal ForeColor: 0 HelpContextId: IMEMode: 0 IsHyperlink: 0 Left: 6720 LineSpacing: Name: name OldBorderStyle: Context RightMargin: System ScrollBars: Neither SpecialEffect: TabStop: True TextFontCharSet: TopMargin: Visible: True Label: name_Label BackColor: Transparent BorderColor: BorderStyle: Hairline BottomMargin: ControlType: Always EventProcPrefix: FontItalic: False FontSize: 12 FontWeight: Height: 300 Left: 4860 LineSpacing:

Auto

DisplayWhen:

EnterKeyBehavior: False name FilterLookup: FontItalic: Arial False False FontSize: 12 FontWeight:

Height: 285 0 IMEHold: False IMESentenceMode 3 : False KeyboardLanguage : LeftMargin: 0 0 Locked: False NumeralShapes: System 1 ReadingOrder: 0 Section: Flat TextAlign: 0 0 Width: ScrollBarAlign: 0 TabIndex: 0 General Top: 1980 Vertical: False 2310

16777215 BackStyle: 0 BorderLineStyle: Solid Transparent BorderWidth: 0 100 Caption: name DisplayWhen:

name_Label FontBold: Yes FontName: Times New Roman FontUnderline: False Bold ForeColor: 13209 HelpContextId: 0 LeftMargin: 0 0 Name:

53

name_Label NumeralShapes: ReadingOrder: Section: 0 TextAlign: General Top: 1980 Vertical: False Width: 1860 Text Box: phon_ number AllowAutoCorrect: BackColor: BorderColor: BorderStyle: Hairline BottomMargin: CanShrink: ColumnOrder: ControlSource: 109 DecimalPlaces: Always Form: Suppliers Table Enabled: True EventProcPrefix: Database Default FontBold: No FontName: FontUnderline: Normal ForeColor: 0 HelpContextId: IMEMode: 0 IsHyperlink: 0 Left: 6720 LineSpacing: Name: phon_ number OldBorderStyle: Context RightMargin: System

System OldBorderStyle: Context RightMargin: SpecialEffect: Flat TextFontCharSet: 0 TopMargin: 0 Visible: True

0 0

True 16777215 13209 Solid

AutoTab: False BackStyle: Normal BorderLineStyle: Solid BorderWidth:

0 CanGrow: False False ColumnHidden: False Default ColumnWidth: 1215 phon_ number ControlType: Auto DisplayWhen:

28 EnterKeyBehavior: False phon__number FilterLookup: FontItalic: Arial False False FontSize: 12 FontWeight:

Height: 285 0 IMEHold: False IMESentenceMode 3 : False KeyboardLanguage : LeftMargin: 0 0 Locked: False NumeralShapes: System 1 ReadingOrder: 0 ScrollBarAlign:

54

ScrollBars: Neither SpecialEffect: TabStop: True TextFontCharSet: TopMargin: Visible: True Label: phon_ number_Label BackColor: Transparent BorderColor: BorderStyle: Hairline BottomMargin: number ControlType: Always EventProcPrefix: Yes FontItalic: False FontSize: 12 FontWeight: Height: 300 Left: 4860 LineSpacing: number_Label NumeralShapes: ReadingOrder: Section: 0 TextAlign: General Top: 3240 Vertical: False Width: 1860

Section: Flat TextAlign: 0 0 Width:

0 TabIndex: 3 General Top: 3240 Vertical: False 2040

16777215 BackStyle: 0 BorderLineStyle: Solid Transparent BorderWidth: 0 100 Caption: phon_

DisplayWhen: FontBold:

phon__number_Label

FontName: Times New Roman FontUnderline: False Bold ForeColor: 13209 HelpContextId: 0 LeftMargin: 0 0 Name: phon_ System OldBorderStyle: Context RightMargin: SpecialEffect: Flat TextFontCharSet: 0 TopMargin: 0 Visible: True 0 0

Code 1 2 3 4 5 6 7 8 9

VERSION 1.0 CLASS BEGIN MultiUse = -1 'True END Attribute VB_Name = "Form_suppliers table" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = True Attribute VB_PredeclaredId = True Attribute VB_Exposed = False

55

Form: Suppliers Table 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 Option Compare Database Private Sub Command11_Click() On Error GoTo Err_Command11_Click Screen.PreviousControl.SetFocus DoCmd.FindNext Exit_Command11_Click: Exit Sub Err_Command11_Click: MsgBox Err.Description Resume Exit_Command11_Click End Sub Private Sub Command12_Click() On Error GoTo Err_Command12_Click DoCmd.GoToRecord , , acPrevious Exit_Command12_Click: Exit Sub Err_Command12_Click: MsgBox Err.Description Resume Exit_Command12_Click End Sub Private Sub Command13_Click() On Error GoTo Err_Command13_Click DoCmd.GoToRecord , , acNewRec Exit_Command13_Click: Exit Sub Err_Command13_Click: MsgBox Err.Description Resume Exit_Command13_Click

29

56

53 54 End Sub 55 Private Sub Command14_Click() 56 On Error GoTo Err_Command14_Click 57 58 59 DoCmd.DoMenuItem acFormBar, acRecordsMenu, 0, 2, acMenuVer70 60 61 Exit_Command14_Click: 62 Exit Sub 63 Form: Suppliers Table 64 Err_Command14_Click: 65 MsgBox Err.Description 66 Resume Exit_Command14_Click 67 68 End Sub 69 Private Sub Command15_Click() 70 On Error GoTo Err_Command15_Click 71 72 73 DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70 74 75 Exit_Command15_Click: 76 Exit Sub 77 78 Err_Command15_Click: 79 MsgBox Err.Description 80 Resume Exit_Command15_Click 81 82 End Sub 83 Private Sub Command16_Click() 84 On Error GoTo Err_Command16_Click 85 86 87 DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70 88 DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70 89 90 Exit_Command16_Click: 91 Exit Sub 57 30

92 93 94 95 96 97 98 99 100 101 102

Err_Command16_Click: MsgBox Err.Description Resume Exit_Command16_Click End Sub Private Sub Detail_Click() MsgBox "Enter Numeric data" End Sub

User Permissions admin Delete, Read Permissions, Set Permissions, Change Owner, Read Definition, Modify Definition, Execute

Group Permissions Admins Delete, Read Permissions, Set Permissions, Change Owner, Read Definition, Modify Definition, Execute Users Delete, Read Permissions, Set Permissions, Change Owner, Read Definition, Modify Definition, Execute Form: Welcome Screen Properties AllowAdditions: True AllowDeletions: True AllowEditing: True AllowFilters: True AllowPivotChartView: AllowPivotTableView: AllowUpdating: No AutoResize: True CloseButton: True ControlBox: True CurrentView: 0 DataEntry: False 31

AllowDatasheetView: True AllowDesignChanges: True AllowEdits: True AllowFormView: True True True AutoCenter: False BorderStyle: Sizable Container: Forms Count: 4 Cycle: All Records DatasheetBackColor: 16777215

58

DatasheetBorderLineStyle: DatasheetCellsEffect: DatasheetColumnHeaderU DatasheetFontHeight: DatasheetFontItalic: DatasheetFontName: DatasheetFontUnderline: DatasheetFontWeight: DatasheetForeColor: DatasheetGridlinesBehavior DatasheetGridlinesColor: 4/13/2005 12:44:36 PM DefaultEditing: 2 DividingLines: True FetchDefaults: True FrozenColumns: GridY: 24 {1C3C175E-E765HasModule: True HorizontalDatasheetGridline 1704328 InsideHeight: 8160 KeyPreview: False 12:44:36 PM LayoutForPrint: False MaxButton: True MinMaxButtons: Both Enabled Moveable: True NavigationButtons: Orientation: Left-to-Right Painting: True Picture: (none) PictureSizeMode: False PictureType: 0 PrtDevMode: Long binary data PrtMip: Long binary data RecordSelectors: Dynaset RowHeight: Default ShortcutMenu: True SubdatasheetExpanded: SubdatasheetHeight: TimerInterval: 0 VerticalDatasheetGridlineSt

1 Flat 1 10 False Arial False Normal 0 Both 12632256

DateCreated:

DefaultView: Single Form FastLaserPrinting: True FilterOn: False 1 GridX: 24 GUID: {guid HelpContextId: 1 InsideWidth: LastUpdated: 4A19-980E0 Hwnd: 14325 4/13/2005

LogicalPageWidth: 9360 MinButton: True Modal: False NameMap: Long binary data True OrderByOn: False Owner: admin PaletteSource: (Default) PictureAlignment: Center Clip PictureTiling: PopUp: PrtDevNames: RecordLocks: True ScrollBars: ShowGrid: False 0 UserName: 1 False Long binary data No Locks RecordsetType: Both True admin ViewsAllowed: 59

Both Visible: Width: WindowLeft: WindowWidth:

False 13500 270 14760

WhatsThisButton: False WindowHeight: 8985 WindowTop: 600

Form: Welcome Screen Objects Section: Detail BackColor: CanShrink: Always EventProcPrefix: HasContinued: InSelection: Name: Detail SpecialEffect: WillContinue: False Rectangle: Box4 BackColor: Transparent BorderColor: BorderStyle: Hairline ControlType: Always EventProcPrefix: Left: 4200 OldBorderStyle: SpecialEffect: Visible: True Command Button: Command2 AutoRepeat: Caption: Go>> Default: False Enabled: True FontBold: No FontName: FontUnderline: Normal ForeColor: -2147483630 HelpContextId: Name: Command2 -2147483633 CanGrow: False DisplayWhen:

32

False

Detail ForceNew None False Height: 7620 False KeepTogether: False NewRowOrCol: None Flat Visible: True

16777215 BackStyle: 0 Solid 101 Box4 Name: 1 Etched Width: BorderLineStyle: Solid BorderWidth: DisplayWhen: Height: Box4 Section: Top: 600 5820 4980 0

False Cancel: False ControlType: 104 DisplayWhen: Always EventProcPrefix: Command2 FontItalic: False Tahoma FontSize: 8 False FontWeight: Height: 0 OnClick: 681 Left: 5040 [Event Procedure]

60

Picture: (none) ReadingOrder: TabIndex: 0 TextFontCharSet: Transparent: Width: 576 Command Button: Command3 AutoRepeat: Caption: Command3 ControlType: DisplayWhen: EventProcPrefix: FontItalic: False FontSize: 8 FontWeight: 2147483630 Height: 681 Left: 8400 ObjectPalette: [Event Procedure] Picture: (bitmap) PictureType: Context Section: 0 TabStop: True Form: Welcome Screen Top: Visible: 3840 True

PictureType: 0 Context Section: 0 TabStop: True 0 Top: 3840 False Visible: True

False Cancel: False ControlTipText: Close Form 104 Default: False Always Enabled: True Command3 FontBold: No FontName: Tahoma FontUnderline: False Normal ForeColor: HelpContextId: 0 Name: Command3 Long binary data OnClick: PictureData: Long binary data 0 ReadingOrder: TabIndex: 1 TextFontCharSet: 0 33 Transparent: Width: 576 False

Label: Label0 BackColor: Transparent BorderColor: BorderStyle: Hairline BottomMargin: Data Base ControlType: Always EventProcPrefix: FontItalic: False FontSize: 25 FontWeight: Height: 780

16777215 BackStyle: 0 BorderLineStyle: Solid Transparent BorderWidth: 0 100 Caption: Pharmacy

DisplayWhen:

Label0 FontBold: No FontName: Tahoma FontUnderline: False Normal ForeColor: 33023 HelpContextId: 0 61

Left: 4500 LineSpacing: NumeralShapes: ReadingOrder: Section: 0 TextAlign: General Top: 1140 Vertical: False Width: 4980

LeftMargin: 0 0 Name: Label0 System OldBorderStyle: 0 Context RightMargin: 0 SpecialEffect: Flat TextFontCharSet: 0 TopMargin: 0 Visible: True

Code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28

VERSION 1.0 CLASS BEGIN MultiUse = -1 'True END Attribute VB_Name = "Form_Welcome Screen" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = True Attribute VB_PredeclaredId = True Attribute VB_Exposed = False Option Compare Database Private Sub Command2_Click() On Error GoTo Err_Command2_Click DoCmd.GoToRecord , , acFirst Exit_Command2_Click: Exit Sub Err_Command2_Click: MsgBox Err.Description Resume Exit_Command2_Click End Sub Private Sub Command3_Click() On Error GoTo Err_Command3_Click

Form: Welcome Screen 29 30 DoCmd.Close

34

62

31 32 Exit_Command3_Click: 33 Exit Sub 34 35 Err_Command3_Click: 36 MsgBox Err.Description 37 Resume Exit_Command3_Click 38 39 End Sub

User Permissions admin Delete, Read Permissions, Set Permissions, Change Owner, Read Definition, Modify Definition, Execute

Group Permissions Admins Delete, Read Permissions, Set Permissions, Change Owner, Read Definition, Modify Definition, Execute Users Delete, Read Permissions, Set Permissions, Change Owner, Read Definition, Modify Definition, Execute

63

Evaluation and Future Enhancements


E valuation The proposed system will be evaluated periodically to see whether it is reaching its objectives. If it does not provide accurate solution, the system will be updated to get the needed solution. The system will also be updated as the suggestions given by the employees, who use the system. DEVELOPMENT Data security is very important in the system, so we could introduce biometric testing so that only authorize employees could only access the system.

64

You might also like