Professional Documents
Culture Documents
FORM 1
Private Sub Command1_Click()
If Cn.State = 1 Then Cn.Close
conndb
Rs.Open "Select count(User) as cnt from Admin where User like '" & Text1.Text & "' and pass like '" &
Text2.Text & "' and AccountType like '" & Combo1.Text & "' ", Cn, 1, 4
If Rs!cnt = 0 Then
MsgBox "Sorry, Invalid username or password"
Text1.Text = ""
Text2.Text = ""
lbl_tries.Caption = Val(lbl_tries.Caption) - 1
If lbl_tries.Caption = 0 Then
MsgBox "SORRY TOO MUCH ATTEMPT", vbCritical, "FATAL ERROR"
End
Else
End If
Else
FORM 2
Private Sub ManageCages_Click()
Cage_form.Command1.Visible = False
Cage_form.Frame1.Visible = True
Cage_form.Show
End Sub
Dog_form.Show
End Sub
End Sub
Private Sub menufish1_Click()
Fish_form.Command1.Visible = False
Fish_form.Frame1.Visible = True
Fish_form.Show
End Sub
Rabbit_form.Show
End Sub
SOLD.Show
End Sub
BIRD_FORM
Private Sub Command1_Click()
If Cn.State = 1 Then Cn.Close
conndb
Rs.Open "select count(code) as cnt from Bird_Table where code like '" & Text1.Text & "'", Cn, 1, 4
BirdPrinting.Show
If Trim(Text1.Text) <> "" Then
If DataEnvironment1.rsBirdCommand.State = adStateOpen Then
DataEnvironment1.rsBirdCommand.Close
DataEnvironment1.BirdCommand Text1.Text & "%"
BirdPrinting.Show
End If
Cn.Execute "DELETE from Bird_table where code like '" & Text1.Text & "' "
MsgBox "THANK YOU FOR BUYING!", vbOKOnly, ":)"
End Sub
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""
text10.Text = ""
Text11.Text = ""
path.Caption = "D:\Pet Shop\2x2.jpg"
Picture1.Picture = LoadPicture("D:\Pet Shop\2x2.jpg")
Command1.Enabled = False
Command3.Enabled = False
Command4.Enabled = False
Command5.Enabled = False
Else
Text2.Text = Rs!Breed
Text3.Text = Rs!Color
Text4.Text = Rs!Gender
Text5.Text = Rs!AGE
Text6.Text = Rs!PetFood
Text7.Text = Rs!Cage
Text8.Text = Rs!dateRcv
Text9.Text = Rs!Birthday
text10.Text = Rs!Medicine
Text11.Text = Rs!Price
path.Caption = Rs!Picture
Picture1.Picture = LoadPicture(Rs!Picture)
Command1.Enabled = True
Text2.Enabled = True
Text3.Enabled = True
Text4.Enabled = True
Text5.Enabled = True
Text6.Enabled = True
Text7.Enabled = True
Text8.Enabled = True
Text9.Enabled = True
text10.Enabled = True
Text11.Enabled = True
Picture1.Enabled = True
End If
End Sub
Else
If Cn.State = 1 Then Cn.Close
conndb
Rs.Open "select count(code) as cnt from Bird_Table where code like '" & Text1.Text & "'", Cn, 1, 4
If Rs!cnt> 0 Then
MsgBox "PET CODE ALREADY EXIST!", vbOKOnly, "SYSTEM"
Text1.SetFocus
Rs.Close
Cn.Close
Else
Cn.Execute "INSERT into
Bird_table(Code,Breed,Color,Gender,Age,PetFood,Cage,DateRcv,Birthday,Medicine,Price,Picture)
values('" & Text1.Text & "','" & Text2.Text & "','" & Text3.Text & "','" & Text4.Text & "','" & Text5.Text &
"','" & Text6.Text & "','" & Text7.Text & "','" & Text8.Text & "','" & Text9.Text & "', '" & text10.Text & "','"
& Text11.Text & "','" & path.Caption & "') "
MsgBox "SAVE SUCCESSFUL"
End If
End If
End Sub
Else
If Rs!cnt = 0 Then
MsgBox "PET CODE IS NOT VALID!", vbOKOnly, "SYSTEM"
Else
Cn.Execute "UPDATE Bird_table set Breed = '" & Text2.Text & "',Color ='" & Text3.Text & "',Gender ='" &
Text4.Text & "',Age='" & Text5.Text & "',PetFood ='" & Text6.Text & "',Cage ='" & Text7.Text &
"',DateRcv ='" & Text8.Text & "',Birthday ='" & Text9.Text & "',Medicine ='" & text10.Text & "',Price='" &
Text11.Text & "', Picture= '" & path.Caption & "' where CODE like '" & Text1.Text & "'"
MsgBox "RECORD UPDATED", vbOKOnly, "SYSTEM"
End If
End If
End Sub
If Rs!cnt = 0 Then
MsgBox "PET CODE IS NOT VALID!", vbOKOnly, "SYSTEM"
Rs.Close
Cn.Close
Exit Sub
End If
Cn.Execute "Delete from Bird_table where Code like '" & Text1.Text & "'"
MsgBox "RECORD DELETED", vbOKOnly
End If
End Sub
Text1.Enabled = True
Text2.Enabled = True
Text3.Enabled = True
Text4.Enabled = True
Text5.Enabled = True
Text6.Enabled = True
Text7.Enabled = True
Text8.Enabled = True
Text9.Enabled = True
text10.Enabled = True
Text11.Enabled = True
Picture1.Enabled = True
Command3.Enabled = True
Command4.Enabled = True
Command5.Enabled = True
End Sub
With Me.MSHFlexGrid1
.ColWidth(0) = 1400
.ColWidth(1) = 4000
.ColWidth(2) = 2200
.ColWidth(3) = 2200
.ColWidth(4) = 2200
.ColWidth(5) = 0
.ColWidth(6) = 0
.ColWidth(7) = 0
.ColWidth(8) = 0
.ColWidth(9) = 0
.ColWidth(10) = 0
.ColWidth(11) = 0
.ColWidth(12) = 0
.ColWidth(13) = 0
.ColWidth(14) = 0
.ColWidth(15) = 2200
.Row = 0
.Text = "CODE"
.Col = 1
.Text = "BREED"
.Col = 2
.Text = "COLOR"
.Col = 3
.Text = "GENDER"
.Col = 4
.Text = "SIZE"
.Col = 5
.Text = "PRICE"
End With
Rs.Close
Cn.Close
End Sub
Private Sub Picture1_Click()
dlg.Filter = "JPEG Photo (*jpg)|*.jpg|Bitmap File (*.bmp)|*.bmp"
dlg.FilterIndex = 1
dlg.CancelError = True
On Error Resume Next
dlg.ShowOpen
If Err.Number = cdlCancel Then
Exit Sub
Else
If Err.Number <> 0 Then
MsgBox "Error "& Format$(Err.Number) & _
" selecting file." & vbCrLf & _
Err.Description
Exit Sub
End If
On Error GoTo 0
path.Caption = dlg.FileName
Picture1.Visible = True
Picture1.Picture = LoadPicture(dlg.FileName)
End If
End Sub
CAT_FORM
Private Sub Command1_Click()
If Cn.State = 1 Then Cn.Close
conndb
Rs.Open "select count(code) as cnt from Cat_table where code like '" & Text1.Text & "'", Cn, 1, 4
CatPrinting.Show
If Trim(Text1.Text) <> "" Then
If DataEnvironment1.rsCatcommand.State = adStateOpen Then DataEnvironment1.rsCatcommand.Close
DataEnvironment1.CatCommand Text1.Text & "%"
CatPrinting.Show
End If
Cn.Execute "DELETE from Cat_table where code like '" & Text1.Text & "' "
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""
text10.Text = ""
Text11.Text = ""
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
Combo4.Text = ""
path.Caption = "D:\Pet Shop\2x2.jpg"
Picture1.Picture = LoadPicture("D:\Pet Shop\2x2.jpg")
Command1.Enabled = False
Command3.Enabled = False
Command4.Enabled = False
Command5.Enabled = False
Else
Text2.Text = Rs!Breed
Text3.Text = Rs!Color
Text4.Text = Rs!Gender
Text5.Text = Rs!AGE
Text6.Text = Rs!PetFood
Text7.Text = Rs!Cage
Text8.Text = Rs!dateRcv
Text9.Text = Rs!Birthday
text10.Text = Rs!Medicine
Text11.Text = Rs!Price
Combo1.Text = Rs!vaccine1
Combo2.Text = Rs!vaccine2
Combo3.Text = Rs!vaccine3
Combo4.Text = Rs!vaccine4
Combo5.Text = Rs!vaccine5
path.Caption = Rs!Picture
Picture1.Picture = LoadPicture(Rs!Picture)
Command1.Enabled = True
Text2.Enabled = True
Text3.Enabled = True
Text4.Enabled = True
Text5.Enabled = True
Text6.Enabled = True
Text7.Enabled = True
Text8.Enabled = True
Text9.Enabled = True
text10.Enabled = True
Text11.Enabled = True
Combo1.Enabled = True
Combo2.Enabled = True
Combo3.Enabled = True
Combo4.Enabled = True
Combo5.Enabled = True
Picture1.Enabled = True
End If
End Sub
Else
If Cn.State = 1 Then Cn.Close
conndb
Rs.Open "select count(code) as cnt from Cat_table where code like '" & Text1.Text & "'", Cn, 1, 4
If Rs!cnt> 0 Then
MsgBox "PET CODE ALREADY EXIST!", vbOKOnly, "SYSTEM"
Text1.SetFocus
Rs.Close
Cn.Close
Else
Cn.Execute "INSERT into
Cat_table(Code,Breed,Color,Gender,Age,PetFood,Cage,DateRcv,Birthday,Vaccine1,Vaccine2,Vaccine3,V
accine4,Vaccine5,Medicine,Price,Picture) values('" & Text1.Text & "','" & Text2.Text & "','" & Text3.Text
& "','" & Text4.Text & "','" & Text5.Text & "','" & Text6.Text & "','" & Text7.Text & "','" & Text8.Text & "','"
& Text9.Text & "', '" & Combo1.Text & "', '" & Combo2.Text & "', '" & Combo3.Text & "', '" &
Combo4.Text & "', '" & Combo5.Text & "','" & text10.Text & "','" & Text11.Text & "','" & path.Caption &
"') "
MsgBox "SAVE SUCCESSFUL"
End If
End If
End Sub
Else
If Cn.State = 1 Then Cn.Close
conndb
Rs.Open "select count(code) as cnt from Cat_table where code like '" & Text1.Text & "'", Cn, 1, 4
If Rs!cnt = 0 Then
MsgBox "PET CODE IS NOT VALID!", vbOKOnly, "SYSTEM"
Else
Cn.Execute "UPDATE Cat_table set Breed = '" & Text2.Text & "',Color ='" & Text3.Text & "',Gender ='" &
Text4.Text & "',Age='" & Text5.Text & "',PetFood ='" & Text6.Text & "',Cage ='" & Text7.Text &
"',DateRcv ='" & Text8.Text & "',Birthday ='" & Text9.Text & "',Vaccine1 ='" & Combo1.Text &
"',Vaccine2='" & Combo2.Text & "',Vaccine3='" & Combo3.Text & "',Vaccine4='" & Combo4.Text &
"',Vaccine5 ='" & Text5.Text & "',Medicine ='" & text10.Text & "',Price='" & Text11.Text & "', Picture = '"
& path.Caption & "' where CODE like '" & Text1.Text & "'"
MsgBox "RECORD UPDATED", vbOKOnly, "SYSTEM"
End If
End If
End Sub
If Rs!cnt = 0 Then
MsgBox "PET CODE IS NOT VALID!", vbOKOnly, "SYSTEM"
Rs.Close
Cn.Close
Exit Sub
End If
Cn.Execute "Delete from Cat_table where Code like '" & Text1.Text & "'"
MsgBox "RECORD DELETED", vbOKOnly
End If
End Sub
Text1.Enabled = True
Text2.Enabled = True
Text3.Enabled = True
Text4.Enabled = True
Text5.Enabled = True
Text6.Enabled = True
Text7.Enabled = True
Text8.Enabled = True
Text9.Enabled = True
text10.Enabled = True
Text11.Enabled = True
Combo1.Enabled = True
Combo2.Enabled = True
Combo3.Enabled = True
Combo4.Enabled = True
Combo5.Enabled = True
Picture1.Enabled = True
End Sub
With Me.MSHFlexGrid1
.ColWidth(0) = 1400
.ColWidth(1) = 4000
.ColWidth(2) = 2200
.ColWidth(3) = 2200
.ColWidth(4) = 2200
.ColWidth(5) = 0
.ColWidth(6) = 0
.ColWidth(7) = 0
.ColWidth(8) = 0
.ColWidth(9) = 0
.ColWidth(10) = 0
.ColWidth(11) = 0
.ColWidth(12) = 0
.ColWidth(13) = 0
.ColWidth(14) = 0
.ColWidth(15) = 2200
.Row = 0
.Text = "CODE"
.Col = 1
.Text = "BREED"
.Col = 2
.Text = "COLOR"
.Col = 3
.Text = "GENDER"
.Col = 4
.Text = "SIZE"
.Col = 5
.Text = "PRICE"
End With
Rs.Close
Cn.Close
End Sub
On Error GoTo 0
path.Caption = dlg.FileName
Picture1.Visible = True
Picture1.Picture = LoadPicture(dlg.FileName)
End If
End Sub
DOG_FORM
Private Sub Command1_Click()
If Cn.State = 1 Then Cn.Close
conndb
Rs.Open "select count(code) as cnt from Dog_table where code like '" & Text1.Text & "'", Cn, 1, 4
DogPrinting.Show
If Trim(Text1.Text) <> "" Then
If DataEnvironment1.rsDogCommand.State = adStateOpen Then
DataEnvironment1.rsDogCommand.Close
DataEnvironment1.DogCommand Text1.Text & "%"
DogPrinting.Show
End If
Cn.Execute "DELETE from Dog_table where code like '" & Text1.Text & "' "
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""
text10.Text = ""
Text11.Text = ""
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
Combo4.Text = ""
path.Caption = "D:\Pet Shop\2x2.jpg"
Picture1.Picture = LoadPicture("D:\Pet Shop\2x2.jpg")
Command1.Enabled = False
Command3.Enabled = False
Command4.Enabled = False
Command5.Enabled = False
Picture1.Enabled = False
Else
Text2.Text = Rs!Breed
Text3.Text = Rs!Color
Text4.Text = Rs!Gender
Text5.Text = Rs!AGE
Text6.Text = Rs!PetFood
Text7.Text = Rs!Cage
Text8.Text = Rs!dateRcv
Text9.Text = Rs!Birthday
text10.Text = Rs!Medicine
Text11.Text = Rs!Price
Combo1.Text = Rs!vaccine1
Combo2.Text = Rs!vaccine2
Combo3.Text = Rs!vaccine3
Combo4.Text = Rs!vaccine4
Combo5.Text = Rs!vaccine5
path.Caption = Rs!Picture
Picture1.Picture = LoadPicture(Rs!Picture)
Command1.Enabled = True
Text2.Enabled = True
Text3.Enabled = True
Text4.Enabled = True
Text5.Enabled = True
Text6.Enabled = True
Text7.Enabled = True
Text8.Enabled = True
Text9.Enabled = True
text10.Enabled = True
Text11.Enabled = True
Combo1.Enabled = True
Combo2.Enabled = True
Combo3.Enabled = True
Combo4.Enabled = True
Combo5.Enabled = True
Picture1.Enabled = True
End If
End Sub
Else
If Cn.State = 1 Then Cn.Close
conndb
Rs.Open "select count(code) as cnt from Dog_table where code like '" & Text1.Text & "'", Cn, 1, 4
If Rs!cnt> 0 Then
MsgBox "PET CODE ALREADY EXIST!", vbOKOnly, "SYSTEM"
Text1.SetFocus
Rs.Close
Cn.Close
Else
Cn.Execute "INSERT into
Dog_table(Code,Breed,Color,Gender,Age,PetFood,Cage,DateRcv,Birthday,Vaccine1,Vaccine2,Vaccine3,V
accine4,Vaccine5,Medicine,Price,Picture) values('" & Text1.Text & "','" & Text2.Text & "','" & Text3.Text
& "','" & Text4.Text & "','" & Text5.Text & "','" & Text6.Text & "','" & Text7.Text & "','" & Text8.Text & "','"
& Text9.Text & "', '" & Combo1.Text & "', '" & Combo2.Text & "', '" & Combo3.Text & "', '" &
Combo4.Text & "', '" & Combo5.Text & "','" & text10.Text & "','" & Text11.Text & "','" & path.Caption &
"') "
MsgBox "SAVE SUCCESSFUL"
End If
End If
End Sub
Else
If Cn.State = 1 Then Cn.Close
conndb
Rs.Open "select count(code) as cnt from Dog_table where code like '" & Text1.Text & "'", Cn, 1, 4
If Rs!cnt = 0 Then
MsgBox "PET CODE IS NOT VALID!", vbOKOnly, "SYSTEM"
Else
Cn.Execute "UPDATE Dog_table set Breed = '" & Text2.Text & "',Color ='" & Text3.Text & "',Gender ='" &
Text4.Text & "',Age='" & Text5.Text & "',PetFood ='" & Text6.Text & "',Cage ='" & Text7.Text &
"',DateRcv ='" & Text8.Text & "',Birthday ='" & Text9.Text & "',Vaccine1 ='" & Combo1.Text &
"',Vaccine2='" & Combo2.Text & "',Vaccine3='" & Combo3.Text & "',Vaccine4='" & Combo4.Text &
"',Vaccine5 ='" & Text5.Text & "',Medicine ='" & text10.Text & "',Price='" & Text11.Text & "', Picture = '"
& path.Caption & "' where CODE like '" & Text1.Text & "'"
MsgBox "RECORD UPDATED", vbOKOnly, "SYSTEM"
End If
End If
End Sub
If Rs!cnt = 0 Then
MsgBox "PET CODE IS NOT VALID!", vbOKOnly, "SYSTEM"
Rs.Close
Cn.Close
Exit Sub
End If
Cn.Execute "Delete from Dog_table where Code like '" & Text1.Text & "'"
MsgBox "RECORD DELETED", vbOKOnly
End If
End Sub
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""
text10.Text = ""
Text11.Text = ""
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
Combo4.Text = ""
Combo5.Text = ""
Picture1.Picture = LoadPicture("D:\Pet Shop\2x2.jpg")
Text1.Enabled = True
Text2.Enabled = True
Text3.Enabled = True
Text4.Enabled = True
Text5.Enabled = True
Text6.Enabled = True
Text7.Enabled = True
Text8.Enabled = True
Text9.Enabled = True
text10.Enabled = True
Text11.Enabled = True
Combo1.Enabled = True
Combo2.Enabled = True
Combo3.Enabled = True
Combo4.Enabled = True
Combo5.Enabled = True
Picture1.Enabled = True
End Sub
With Me.MSHFlexGrid1
.ColWidth(0) = 1400
.ColWidth(1) = 4000
.ColWidth(2) = 2200
.ColWidth(3) = 2200
.ColWidth(4) = 2200
.ColWidth(5) = 0
.ColWidth(6) = 0
.ColWidth(7) = 0
.ColWidth(8) = 0
.ColWidth(9) = 0
.ColWidth(10) = 0
.ColWidth(11) = 0
.ColWidth(12) = 0
.ColWidth(13) = 0
.ColWidth(14) = 0
.ColWidth(15) = 2200
.Row = 0
.Text = "CODE"
.Col = 1
.Text = "BREED"
.Col = 2
.Text = "COLOR"
.Col = 3
.Text = "GENDER"
.Col = 4
.Text = "SIZE"
.Col = 5
.Text = "PRICE"
End With
Rs.Close
Cn.Close
End Sub
Else
If Err.Number <> 0 Then
MsgBox "Error "& Format$(Err.Number) & _
" selecting file." & vbCrLf & _
Err.Description
Exit Sub
End If
On Error GoTo 0
path.Caption = dlg.FileName
Picture1.Visible = True
Picture1.Picture = LoadPicture(dlg.FileName)
End If
End Sub
FISH_FORM
Private Sub Command1_Click()
If Cn.State = 1 Then Cn.Close
conndb
Rs.Open "select count(code) as cnt from Fish_Table where code like '" & Text1.Text & "'", Cn, 1, 4
FishPrinting.Show
If Trim(Text1.Text) <> "" Then
If DataEnvironment1.rsFishCommand.State = adStateOpen Then
DataEnvironment1.rsFishCommand.Close
DataEnvironment1.FishCommand Text1.Text & "%"
FishPrinting.Show
End If
Cn.Execute "DELETE from Fish_table where code like '" & Text1.Text & "' "
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""
text10.Text = ""
Text11.Text = ""
path.Caption = "D:\Pet Shop\2x2.jpg"
Picture1.Picture = LoadPicture("D:\Pet Shop\2x2.jpg")
Command1.Enabled = False
Command3.Enabled = False
Command4.Enabled = False
Command5.Enabled = False
Picture1.Enabled = False
Else
Text2.Text = Rs!Breed
Text3.Text = Rs!Color
Text4.Text = Rs!Gender
Text5.Text = Rs!AGE
Text6.Text = Rs!PetFood
Text7.Text = Rs!Cage
Text8.Text = Rs!dateRcv
Text9.Text = Rs!Birthday
text10.Text = Rs!Medicine
Text11.Text = Rs!Price
path.Caption = Rs!Picture
Picture1.Picture = LoadPicture(Rs!Picture)
Command1.Enabled = True
Text2.Enabled = True
Text3.Enabled = True
Text4.Enabled = True
Text5.Enabled = True
Text6.Enabled = True
Text7.Enabled = True
Text8.Enabled = True
Text9.Enabled = True
text10.Enabled = True
Text11.Enabled = True
Picture1.Enabled = True
End If
End Sub
If Text1.Text = "" Or Text2.Text = "" Or Text3.Text = "" Or Text4.Text = "" Or Text5.Text = "" Or Text6.Text
= "" Or Text7.Text = "" Or Text8.Text = "" Or Text9.Text = "" Or text10.Text = "" Or Text11.Text = "" Then
MsgBox "FILL UP ALL INFO", vbOKOnly, "SYSTEM"
Else
If Rs!cnt> 0 Then
MsgBox "PET CODE ALREADY EXIST!", vbOKOnly, "SYSTEM"
Text1.SetFocus
Rs.Close
Cn.Close
Else
Cn.Execute "INSERT into
Fish_table(Code,Breed,Color,Gender,Age,PetFood,Cage,DateRcv,Birthday,Medicine,Price,Picture)
values('" & Text1.Text & "','" & Text2.Text & "','" & Text3.Text & "','" & Text4.Text & "','" & Text5.Text &
"','" & Text6.Text & "','" & Text7.Text & "','" & Text8.Text & "','" & Text9.Text & "', '" & text10.Text & "','"
& Text11.Text & "','" & path.Caption & "') "
MsgBox "SAVE SUCCESSFUL"
End If
End If
End Sub
Else
If Cn.State = 1 Then Cn.Close
conndb
Rs.Open "select count(code) as cnt from Fish_table where code like '" & Text1.Text & "'", Cn, 1, 4
If Rs!cnt = 0 Then
MsgBox "PET CODE IS NOT VALID!", vbOKOnly, "SYSTEM"
Else
Cn.Execute "UPDATE Fish_table set Breed = '" & Text2.Text & "',Color ='" & Text3.Text & "',Gender ='" &
Text4.Text & "',Age='" & Text5.Text & "',PetFood ='" & Text6.Text & "',Cage ='" & Text7.Text &
"',DateRcv ='" & Text8.Text & "',Birthday ='" & Text9.Text & "',Medicine ='" & text10.Text & "',Price='" &
Text11.Text & "', Picture = '" & path.Caption & "' where CODE like '" & Text1.Text & "'"
MsgBox "RECORD UPDATED", vbOKOnly, "SYSTEM"
End If
End If
End Sub
If Rs!cnt = 0 Then
MsgBox "PET CODE IS NOT VALID!", vbOKOnly, "SYSTEM"
Rs.Close
Cn.Close
Exit Sub
End If
Cn.Execute "Delete from Fish_table where Code like '" & Text1.Text & "'"
MsgBox "RECORD DELETED", vbOKOnly
End If
End Sub
Text1.Enabled = True
Text2.Enabled = True
Text3.Enabled = True
Text4.Enabled = True
Text5.Enabled = True
Text6.Enabled = True
Text7.Enabled = True
Text8.Enabled = True
Text9.Enabled = True
text10.Enabled = True
Text11.Enabled = True
Picture1.Enabled = True
End Sub
Private Sub Form_Load()
With Me.MSHFlexGrid1
.ColWidth(0) = 1400
.ColWidth(1) = 4000
.ColWidth(2) = 2200
.ColWidth(3) = 2200
.ColWidth(4) = 2200
.ColWidth(5) = 0
.ColWidth(6) = 0
.ColWidth(7) = 0
.ColWidth(8) = 0
.ColWidth(9) = 0
.ColWidth(10) = 0
.ColWidth(11) = 0
.ColWidth(12) = 0
.ColWidth(13) = 0
.ColWidth(14) = 0
.ColWidth(15) = 2200
.Row = 0
.Text = "CODE"
.Col = 1
.Text = "BREED"
.Col = 2
.Text = "COLOR"
.Col = 3
.Text = "GENDER"
.Col = 4
.Text = "SIZE"
.Col = 5
.Text = "PRICE"
End With
Rs.Close
Cn.Close
End Sub
On Error GoTo 0
path.Caption = dlg.FileName
Picture1.Visible = True
Picture1.Picture = LoadPicture(dlg.FileName)
End If
End Sub
HAMSTER_FORM
HamsterPrinting.Show
If Trim(Text1.Text) <> "" Then
If DataEnvironment1.rsHamsterCommand.State = adStateOpen Then
DataEnvironment1.rsHamsterCommand.Close
DataEnvironment1.HamsterCommand Text1.Text & "%"
HamsterPrinting.Show
End If
Cn.Execute "DELETE from Hamster_table where code like '" & Text1.Text & "' "
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""
text10.Text = ""
Text11.Text = ""
path.Caption = "D:\Pet Shop\2x2.jpg"
Picture1.Picture = LoadPicture("D:\Pet Shop\2x2.jpg")
Command1.Enabled = False
Command3.Enabled = False
Command4.Enabled = False
Command5.Enabled = False
Picture1.Enabled = False
Else
Text2.Text = Rs!Breed
Text3.Text = Rs!Color
Text4.Text = Rs!Gender
Text5.Text = Rs!AGE
Text6.Text = Rs!PetFood
Text7.Text = Rs!Cage
Text8.Text = Rs!dateRcv
Text9.Text = Rs!Birthday
text10.Text = Rs!Medicine
Text11.Text = Rs!Price
path.Caption = Rs!Picture
Picture1.Picture = LoadPicture(Rs!Picture)
Command1.Enabled = True
Text2.Enabled = True
Text3.Enabled = True
Text4.Enabled = True
Text5.Enabled = True
Text6.Enabled = True
Text7.Enabled = True
Text8.Enabled = True
Text9.Enabled = True
text10.Enabled = True
Text11.Enabled = True
Picture1.Enabled = True
End If
End Sub
Else
If Rs!cnt> 0 Then
MsgBox "PET CODE ALREADY EXIST!", vbOKOnly, "SYSTEM"
Text1.SetFocus
Rs.Close
Cn.Close
Else
Cn.Execute "INSERT into
Hamster_table(Code,Breed,Color,Gender,Age,PetFood,Cage,DateRcv,Birthday,Medicine,Price,Picture)
values('" & Text1.Text & "','" & Text2.Text & "','" & Text3.Text & "','" & Text4.Text & "','" & Text5.Text &
"','" & Text6.Text & "','" & Text7.Text & "','" & Text8.Text & "','" & Text9.Text & "', '" & text10.Text & "','"
& Text11.Text & "','" & path.Caption & "') "
MsgBox "SAVE SUCCESSFUL"
End If
End If
End Sub
Else
If Cn.State = 1 Then Cn.Close
conndb
Rs.Open "select count(code) as cnt from Hamster_table where code like '" & Text1.Text & "'", Cn, 1, 4
If Rs!cnt = 0 Then
MsgBox "PET CODE IS NOT VALID!", vbOKOnly, "SYSTEM"
Else
Cn.Execute "UPDATE Hamster_table set Breed = '" & Text2.Text & "',Color ='" & Text3.Text &
"',Gender ='" & Text4.Text & "',Age='" & Text5.Text & "',PetFood ='" & Text6.Text & "',Cage ='" &
Text7.Text & "',DateRcv ='" & Text8.Text & "',Birthday ='" & Text9.Text & "',Medicine ='" &
text10.Text & "',Price='" & Text11.Text & "', Picture = '" & path.Caption & "' where CODE like '" &
Text1.Text & "'"
MsgBox "RECORD UPDATED", vbOKOnly, "SYSTEM"
End If
End If
End Sub
If Rs!cnt = 0 Then
MsgBox "PET CODE IS NOT VALID!", vbOKOnly, "SYSTEM"
Rs.Close
Cn.Close
Exit Sub
End If
Cn.Execute "Delete from Hamster_table where Code like '" & Text1.Text & "'"
MsgBox "RECORD DELETED", vbOKOnly
End If
End Sub
Text1.Enabled = True
Text2.Enabled = True
Text3.Enabled = True
Text4.Enabled = True
Text5.Enabled = True
Text6.Enabled = True
Text7.Enabled = True
Text8.Enabled = True
Text9.Enabled = True
text10.Enabled = True
Text11.Enabled = True
Picture1.Enabled = True
End Sub
Private Sub Form_Load()
With Me.MSHFlexGrid1
.ColWidth(0) = 1400
.ColWidth(1) = 4000
.ColWidth(2) = 2200
.ColWidth(3) = 2200
.ColWidth(4) = 2200
.ColWidth(5) = 0
.ColWidth(6) = 0
.ColWidth(7) = 0
.ColWidth(8) = 0
.ColWidth(9) = 0
.ColWidth(10) = 0
.ColWidth(11) = 0
.ColWidth(12) = 0
.ColWidth(13) = 0
.ColWidth(14) = 0
.ColWidth(15) = 2200
.Row = 0
.Text = "CODE"
.Col = 1
.Text = "BREED"
.Col = 2
.Text = "COLOR"
.Col = 3
.Text = "GENDER"
.Col = 4
.Text = "SIZE"
.Col = 5
.Text = "PRICE"
End With
Rs.Close
Cn.Close
End Sub
On Error GoTo 0
path.Caption = dlg.FileName
Picture1.Visible = True
Picture1.Picture = LoadPicture(dlg.FileName)
End If
End Sub
HEDGEHOG_FORM
Private Sub Command1_Click()
If Cn.State = 1 Then Cn.Close
conndb
Rs.Open "select count(code) as cnt from Hedgehog_Table where code like '" & Text1.Text & "'", Cn, 1, 4
HedgehogPrinting.Show
If Trim(Text1.Text) <> "" Then
If DataEnvironment1.rsHedgehogCommand.State = adStateOpen Then
DataEnvironment1.rsHedgehogCommand.Close
DataEnvironment1.HedgehogCommand Text1.Text & "%"
HedgehogPrinting.Show
End If
Cn.Execute "DELETE from Hedgehog_table where code like '" & Text1.Text & "' "
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""
text10.Text = ""
Text11.Text = ""
path.Caption = "D:\Pet Shop\2x2.jpg"
Picture1.Picture = LoadPicture("D:\Pet Shop\2x2.jpg")
Command1.Enabled = False
Command3.Enabled = False
Command4.Enabled = False
Command5.Enabled = False
Else
Text2.Text = Rs!Breed
Text3.Text = Rs!Color
Text4.Text = Rs!Gender
Text5.Text = Rs!AGE
Text6.Text = Rs!PetFood
Text7.Text = Rs!Cage
Text8.Text = Rs!dateRcv
Text9.Text = Rs!Birthday
text10.Text = Rs!Medicine
Text11.Text = Rs!Price
path.Caption = Rs!Picture
Picture1.Picture = LoadPicture(Rs!Picture)
Command1.Enabled = True
Text2.Enabled = True
Text3.Enabled = True
Text4.Enabled = True
Text5.Enabled = True
Text6.Enabled = True
Text7.Enabled = True
Text8.Enabled = True
Text9.Enabled = True
text10.Enabled = True
Text11.Enabled = True
End If
End Sub
Else
If Cn.State = 1 Then Cn.Close
conndb
Rs.Open "select count(code) as cnt from Hedgehog_Table where code like '" & Text1.Text & "'", Cn, 1, 4
If Rs!cnt> 0 Then
MsgBox "PET CODE ALREADY EXIST!", vbOKOnly, "SYSTEM"
Text1.SetFocus
Rs.Close
Cn.Close
Else
Cn.Execute "INSERT into
Hedgehog_table(Code,Breed,Color,Gender,Age,PetFood,Cage,DateRcv,Birthday,Medicine,Price,Picture)
values('" & Text1.Text & "','" & Text2.Text & "','" & Text3.Text & "','" & Text4.Text & "','" & Text5.Text &
"','" & Text6.Text & "','" & Text7.Text & "','" & Text8.Text & "','" & Text9.Text & "', '" & text10.Text & "','"
& Text11.Text & "','" & path.Caption & "') "
MsgBox "SAVE SUCCESSFUL"
End If
End If
End Sub
Else
If Cn.State = 1 Then Cn.Close
conndb
Rs.Open "select count(code) as cnt from Hedgehog_table where code like '" & Text1.Text & "'", Cn, 1, 4
If Rs!cnt = 0 Then
MsgBox "PET CODE IS NOT VALID!", vbOKOnly, "SYSTEM"
Else
Cn.Execute "UPDATE Hedgehog_table set Breed = '" & Text2.Text & "',Color ='" & Text3.Text & "',Gender
='" & Text4.Text & "',Age='" & Text5.Text & "',PetFood ='" & Text6.Text & "',Cage ='" & Text7.Text &
"',DateRcv ='" & Text8.Text & "',Birthday ='" & Text9.Text & "',Medicine ='" & text10.Text & "',Price='" &
Text11.Text & "', Picture= '" & path.Caption & "' where CODE like '" & Text1.Text & "'"
MsgBox "RECORD UPDATED", vbOKOnly, "SYSTEM"
End If
End If
End Sub
Cn.Execute "Delete from Hedgehog_table where Code like '" & Text1.Text & "'"
MsgBox "RECORD DELETED", vbOKOnly
End If
End Sub
Text1.Enabled = True
Text2.Enabled = True
Text3.Enabled = True
Text4.Enabled = True
Text5.Enabled = True
Text6.Enabled = True
Text7.Enabled = True
Text8.Enabled = True
Text9.Enabled = True
text10.Enabled = True
Text11.Enabled = True
Picture1.Enabled = True
End Sub
With Me.MSHFlexGrid1
.ColWidth(0) = 1400
.ColWidth(1) = 4000
.ColWidth(2) = 2200
.ColWidth(3) = 2200
.ColWidth(4) = 2200
.ColWidth(5) = 0
.ColWidth(6) = 0
.ColWidth(7) = 0
.ColWidth(8) = 0
.ColWidth(9) = 0
.ColWidth(10) = 0
.ColWidth(11) = 0
.ColWidth(12) = 0
.ColWidth(13) = 0
.ColWidth(14) = 0
.ColWidth(15) = 2200
.Row = 0
.Text = "CODE"
.Col = 1
.Text = "BREED"
.Col = 2
.Text = "COLOR"
.Col = 3
.Text = "GENDER"
.Col = 4
.Text = "SIZE"
.Col = 5
.Text = "PRICE"
End With
Rs.Close
Cn.Close
End Sub
On Error GoTo 0
path.Caption = dlg.FileName
Picture1.Visible = True
Picture1.Picture = LoadPicture(dlg.FileName)
End If
End Sub
RABBIT_FORM
Private Sub Command1_Click()
If Cn.State = 1 Then Cn.Close
conndb
Rs.Open "select count(code) as cnt from Rabbit_Table where code like '" & Text1.Text & "'", Cn, 1, 4
RabbitPrinting.Show
If Trim(Text1.Text) <> "" Then
If DataEnvironment1.rsRabbitCommand.State = adStateOpen Then
DataEnvironment1.rsRabbitCommand.Close
DataEnvironment1.RabbitCommand Text1.Text & "%"
RabbitPrinting.Show
End If
Cn.Execute "DELETE from Rabbit_table where code like '" & Text1.Text & "' "
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""
text10.Text = ""
Text11.Text = ""
path.Caption = "D:\Pet Shop\2x2.jpg"
Picture1.Picture = LoadPicture("D:\Pet Shop\2x2.jpg")
Command1.Enabled = False
Command3.Enabled = False
Command4.Enabled = False
Command5.Enabled = False
Picture1.Enabled = False
Else
Text2.Text = Rs!Breed
Text3.Text = Rs!Color
Text4.Text = Rs!Gender
Text5.Text = Rs!AGE
Text6.Text = Rs!PetFood
Text7.Text = Rs!Cage
Text8.Text = Rs!dateRcv
Text9.Text = Rs!Birthday
text10.Text = Rs!Medicine
Text11.Text = Rs!Price
path.Caption = Rs!Picture
Picture1.Picture = LoadPicture("D:\Pet Shop\2x2.jpg")
Command1.Enabled = True
Text2.Enabled = True
Text3.Enabled = True
Text4.Enabled = True
Text5.Enabled = True
Text6.Enabled = True
Text7.Enabled = True
Text8.Enabled = True
Text9.Enabled = True
text10.Enabled = True
Text11.Enabled = True
Picture1.Enabled = True
End If
End Sub
Else
If Rs!cnt> 0 Then
MsgBox "PET CODE ALREADY EXIST!", vbOKOnly, "SYSTEM"
Text1.SetFocus
Rs.Close
Cn.Close
Else
Cn.Execute "INSERT into
Rabbit_table(Code,Breed,Color,Gender,Age,PetFood,Cage,DateRcv,Birthday,Medicine,Price,Picture)
values('" & Text1.Text & "','" & Text2.Text & "','" & Text3.Text & "','" & Text4.Text & "','" & Text5.Text &
"','" & Text6.Text & "','" & Text7.Text & "','" & Text8.Text & "','" & Text9.Text & "', '" & text10.Text & "','"
& Text11.Text & "','" & path.Caption & "') "
MsgBox "SAVE SUCCESSFUL"
End If
End If
End Sub
Else
If Rs!cnt = 0 Then
Else
Cn.Execute "UPDATE Rabbit_table set Breed = '" & Text2.Text & "',Color ='" & Text3.Text & "',Gender ='"
& Text4.Text & "',Age='" & Text5.Text & "',PetFood ='" & Text6.Text & "',Cage ='" & Text7.Text &
"',DateRcv ='" & Text8.Text & "',Birthday ='" & Text9.Text & "',Medicine ='" & text10.Text & "',Price='" &
Text11.Text & "', Picture= '" & path.Caption & "' where CODE like '" & Text1.Text & "'"
MsgBox "RECORD UPDATED", vbOKOnly, "SYSTEM"
End If
End If
End Sub
If Rs!cnt = 0 Then
MsgBox "PET CODE IS NOT VALID!", vbOKOnly, "SYSTEM"
Rs.Close
Cn.Close
Exit Sub
End If
Cn.Execute "Delete from Rabbit_table where Code like '" & Text1.Text & "'"
MsgBox "RECORD DELETED", vbOKOnly
End If
End Sub
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""
text10.Text = ""
Text11.Text = ""
path.Caption = "D:\Pet Shop\2x2.jpg"
Picture1.Picture = LoadPicture("D:\Pet Shop\2x2.jpg")
Text1.Enabled = True
Text2.Enabled = True
Text3.Enabled = True
Text4.Enabled = True
Text5.Enabled = True
Text6.Enabled = True
Text7.Enabled = True
Text8.Enabled = True
Text9.Enabled = True
text10.Enabled = True
Text11.Enabled = True
Picture1.Enabled = True
End Sub
With Me.MSHFlexGrid1
.ColWidth(0) = 1400
.ColWidth(1) = 4000
.ColWidth(2) = 2200
.ColWidth(3) = 2200
.ColWidth(4) = 2200
.ColWidth(5) = 0
.ColWidth(6) = 0
.ColWidth(7) = 0
.ColWidth(8) = 0
.ColWidth(9) = 0
.ColWidth(10) = 0
.ColWidth(11) = 0
.ColWidth(12) = 0
.ColWidth(13) = 0
.ColWidth(14) = 0
.ColWidth(15) = 2200
.Row = 0
.Text = "CODE"
.Col = 1
.Text = "BREED"
.Col = 2
.Text = "COLOR"
.Col = 3
.Text = "GENDER"
.Col = 4
.Text = "SIZE"
.Col = 5
.Text = "PRICE"
End With
Rs.Close
Cn.Close
End Sub
Private Sub Picture1_Click()
dlg.Filter = "JPEG Photo (*jpg)|*.jpg|Bitmap File (*.bmp)|*.bmp"
dlg.FilterIndex = 1
dlg.CancelError = True
On Error Resume Next
dlg.ShowOpen
If Err.Number = cdlCancel Then
Exit Sub
Else
If Err.Number <> 0 Then
MsgBox "Error "& Format$(Err.Number) & _
" selecting file." & vbCrLf & _
Err.Description
Exit Sub
End If
On Error GoTo 0
path.Caption = dlg.FileName
Picture1.Visible = True
Picture1.Picture = LoadPicture(dlg.FileName)
End If
End Sub
CAGE_FORM
Private Sub Command1_Click()
If Cn.State = 1 Then Cn.Close
conndb
Rs.Open "select count(code) as cnt from CagesAquarium_table where code like '" & Text1.Text & "' ",
Cn, 1, 4
CagePrinting.Show
If Trim(Text1.Text) <> "" Then
If DataEnvironment1.rsCageCommand.State = adStateOpen Then
DataEnvironment1.rsCageCommand.Close
DataEnvironment1.CageCommand Text1.Text & "%"
CagePrinting.Show
End If
Cn.Execute "DELETE from CagesAquarium_table where code like '" & Text1.Text & "' "
MsgBox "THANK YOU FOR BUYING!", vbOKOnly, ":)"
End Sub
Text1.Text = ""
Text2.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
path.Caption = "D:\Pet Shop\2x2.jpg"
Picture1.Picture = LoadPicture("D:\Pet Shop\2x2.jpg")
Else
Text2.Text = Rs!CageName
Text4.Text = Rs!CageSize
Text5.Text = Rs!NoPiece
Text6.Text = Rs!Price
Text7.Text = Rs!TotalPrice
path.Caption = Rs!Picture
Picture1.Picture = LoadPicture(Rs!Picture)
Command1.Enabled = True
Text2.Enabled = True
Text4.Enabled = True
Text5.Enabled = True
Text6.Enabled = True
Text7.Enabled = True
Picture1.Enabled = True
End If
End Sub
Else
If Cn.State = 1 Then Cn.Close
conndb
Rs.Open "select count(code) as cnt from CagesAquarium_Table where code like '" & Text1.Text & "'", Cn,
1, 4
If Rs!cnt> 0 Then
MsgBox "PET CODE ALREADY EXIST!", vbOKOnly, "SYSTEM"
Text1.SetFocus
Rs.Close
Cn.Close
Else
Cn.Execute "INSERT into
CagesAquarium_Table(Code,CageName,CageSize,noPiece,Price,TotalPrice,Picture) values('" &
Text1.Text & "','" & Text2.Text & "','" & Text4.Text & "','" & Text5.Text & "','" & Text6.Text & "','" &
Text7.Text & "','" & path.Caption & "') "
MsgBox "SAVE SUCCESSFUL"
End If
End If
End Sub
Else
If Rs!cnt = 0 Then
MsgBox "PET CODE IS NOT VALID!", vbOKOnly, "SYSTEM"
Else
Cn.Execute "UPDATE CagesAquarium_Table set CageName = '" & Text2.Text & "', CageSize = '" &
Text4.Text & "', NoPiece = '" & Text5.Text & "', Price = '" & Text6.Text & "', TotalPrice = '" & Text7.Text &
"', Picture = '" & path.Caption & "' where Code like '" & Text1.Text & "'"
MsgBox "RECORD UPDATED", vbOKOnly, "SYSTEM"
End If
End If
End Sub
If Rs!cnt = 0 Then
MsgBox "PET CODE IS NOT VALID!", vbOKOnly, "SYSTEM"
Rs.Close
Cn.Close
Exit Sub
End If
Cn.Execute "Delete from CagesAquarium_table where Code like '" & Text1.Text & "'"
MsgBox "RECORD DELETED", vbOKOnly
End If
End Sub
Text1.Enabled = True
Text2.Enabled = True
Text4.Enabled = True
Text5.Enabled = True
Text6.Enabled = True
Text7.Enabled = True
Picture1.Enabled = True
End Sub
With Me.MSHFlexGrid1
.ColWidth(0) = 1400
.ColWidth(1) = 4000
.ColWidth(2) = 2200
.ColWidth(3) = 2200
.ColWidth(4) = 2200
.ColWidth(5) = 2200
.Row = 0
.Text = "CODE"
.Col = 1
.Text = "NAME"
.Col = 2
.Text = "SIZE"
.Col = 3
.Text = "PIECES"
.Col = 4
.Text = "PRICE"
.Col = 5
.Text = "TOTAL PRICE"
End With
Else
' arrange by Size
If Combo1.Text = "SIZE" Then
If Cn.State = 1 Then Cn.Close
conndb
Rs.Open "select * from CagesAquarium_table ORDER by CageSize Asc", Cn, 1, 4
Set MSHFlexGrid1.DataSource = Rs
With Me.MSHFlexGrid1
.ColWidth(0) = 1400
.ColWidth(1) = 4000
.ColWidth(2) = 2200
.ColWidth(3) = 2200
.ColWidth(4) = 2200
.ColWidth(5) = 2200
.Row = 0
.Text = "CODE"
.Col = 1
.Text = "NAME"
.Col = 2
.Text = "SIZE"
.Col = 3
.Text = "PIECES"
.Col = 4
.Text = "PRICE"
.Col = 5
.Text = "TOTAL PRICE"
End With
Else
With Me.MSHFlexGrid1
.ColWidth(0) = 1400
.ColWidth(1) = 4000
.ColWidth(2) = 2200
.ColWidth(3) = 2200
.ColWidth(4) = 2200
.ColWidth(5) = 2200
.Row = 0
.Text = "CODE"
.Col = 1
.Text = "NAME"
.Col = 2
.Text = "SIZE"
.Col = 3
.Text = "PIECES"
.Col = 4
.Text = "PRICE"
.Col = 5
.Text = "TOTAL PRICE"
End With
Else
With Me.MSHFlexGrid1
.ColWidth(0) = 1400
.ColWidth(1) = 4000
.ColWidth(2) = 2200
.ColWidth(3) = 2200
.ColWidth(4) = 2200
.ColWidth(5) = 2200
.Row = 0
.Text = "CODE"
.Col = 1
.Text = "NAME"
.Col = 2
.Text = "SIZE"
.Col = 3
.Text = "PIECES"
.Col = 4
.Text = "PRICE"
.Col = 5
.Text = "TOTAL PRICE"
End With
End If
End If
End If
End If
End Sub
With Me.MSHFlexGrid1
.ColWidth(0) = 1400
.ColWidth(1) = 4000
.ColWidth(2) = 2200
.ColWidth(3) = 2200
.ColWidth(4) = 2200
.ColWidth(5) = 2200
.Row = 0
.Text = "CODE"
.Col = 1
.Text = "NAME"
.Col = 2
.Text = "SIZE"
.Col = 3
.Text = "PIECES"
.Col = 4
.Text = "PRICE"
.Col = 5
.Text = "TOTAL PRICE"
End With
End Sub
Private Sub Picture1_Click()
dlg.Filter = "JPEG Photo (*jpg)|*.jpg|Bitmap File (*.bmp)|*.bmp"
dlg.FilterIndex = 1
dlg.CancelError = True
On Error Resume Next
dlg.ShowOpen
If Err.Number = cdlCancel Then
Exit Sub
Else
If Err.Number <> 0 Then
MsgBox "Error "& Format$(Err.Number) & _
" selecting file." & vbCrLf & _
Err.Description
Exit Sub
End If
On Error GoTo 0
path.Caption = dlg.FileName
Picture1.Visible = True
Picture1.Picture = LoadPicture(dlg.FileName)
End If
End Sub
PETFOOD_FORM
Private Sub Command1_Click()
If Cn.State = 1 Then Cn.Close
conndb
Rs.Open "select count(code) as cnt from Food_table where code like '" & Text1.Text & "' ", Cn, 1, 4
FoodPrinting.Show
If Trim(Text1.Text) <> "" Then
If DataEnvironment1.rsFoodCommand.State = adStateOpen Then
DataEnvironment1.rsFoodCommand.Close
DataEnvironment1.FoodCommand Text1.Text & "%"
FoodPrinting.Show
End If
Cn.Execute "DELETE from Food_table where code like '" & Text1.Text & "' "
End Sub
Text1.Text = ""
Text2.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
path.Caption = "D:\Pet Shop\2x2.jpg"
Picture1.Picture = LoadPicture("D:\Pet Shop\2x2.jpg")
Else
Text2.Text = Rs!FoodName
Text4.Text = Rs!FoodAmount
Text5.Text = Rs!NoPiece
Text6.Text = Rs!Price
Text7.Text = Rs!TotalPrice
path.Caption = Rs!Picture
Picture1.Picture = LoadPicture(Rs!Picture)
Command1.Enabled = True
Text2.Enabled = True
Text3.Enabled = True
Text4.Enabled = True
Text5.Enabled = True
Text6.Enabled = True
Text7.Enabled = True
Picture1.Enabled = True
End If
End Sub
Else
Else
If Rs!cnt = 0 Then
MsgBox "PET CODE IS NOT VALID!", vbOKOnly, "SYSTEM"
Else
Cn.Execute "UPDATE Food_table set FoodName = '" & Text2.Text & "', FoodAmount = '" & Text4.Text &
"', NoPiece = '" & Text5.Text & "', Price = '" & Text6.Text & "', TotalPrice = '" & Text7.Text & "',Picture = '"
& path.Caption & "' where Code like '" & Text1.Text & "'"
MsgBox "RECORD UPDATED", vbOKOnly, "SYSTEM"
End If
End Sub
If Rs!cnt = 0 Then
MsgBox "PET CODE IS NOT VALID!", vbOKOnly, "SYSTEM"
Rs.Close
Cn.Close
Exit Sub
End If
Cn.Execute "Delete from Food_table where Code like '" & Text1.Text & "'"
MsgBox "RECORD DELETED", vbOKOnly
End If
End Sub
Text1.Enabled = True
Text2.Enabled = True
Text4.Enabled = True
Text5.Enabled = True
Text6.Enabled = True
Text7.Enabled = True
Picture1.Enabled = True
End Sub
With Me.MSHFlexGrid1
.ColWidth(0) = 1400
.ColWidth(1) = 4000
.ColWidth(2) = 2200
.ColWidth(3) = 2200
.ColWidth(4) = 2200
.ColWidth(5) = 2200
.Row = 0
.Text = "CODE"
.Col = 1
.Text = "NAME"
.Col = 2
.Text = "SIZE"
.Col = 3
.Text = "PIECES"
.Col = 4
.Text = "PRICE"
.Col = 5
.Text = "TOTAL PRICE"
End With
Else
' arrange by Size
If Combo1.Text = "SIZE" Then
If Cn.State = 1 Then Cn.Close
conndb
Rs.Open "select * from Food_table ORDER by FoodAmount Asc", Cn, 1, 4
Set MSHFlexGrid1.DataSource = Rs
With Me.MSHFlexGrid1
.ColWidth(0) = 1400
.ColWidth(1) = 4000
.ColWidth(2) = 2200
.ColWidth(3) = 2200
.ColWidth(4) = 2200
.ColWidth(5) = 2200
.Row = 0
.Text = "CODE"
.Col = 1
.Text = "NAME"
.Col = 2
.Text = "SIZE"
.Col = 3
.Text = "PIECES"
.Col = 4
.Text = "PRICE"
.Col = 5
.Text = "TOTAL PRICE"
End With
Else
With Me.MSHFlexGrid1
.ColWidth(0) = 1400
.ColWidth(1) = 4000
.ColWidth(2) = 2200
.ColWidth(3) = 2200
.ColWidth(4) = 2200
.ColWidth(5) = 2200
.Row = 0
.Text = "CODE"
.Col = 1
.Text = "NAME"
.Col = 2
.Text = "SIZE"
.Col = 3
.Text = "PIECES"
.Col = 4
.Text = "PRICE"
.Col = 5
.Text = "TOTAL PRICE"
End With
End If
End If
End If
End Sub
With Me.MSHFlexGrid1
.ColWidth(0) = 1400
.ColWidth(1) = 4000
.ColWidth(2) = 2200
.ColWidth(3) = 2200
.ColWidth(4) = 2200
.ColWidth(5) = 2200
.Row = 0
.Text = "CODE"
.Col = 1
.Text = "NAME"
.Col = 2
.Text = "SIZE"
.Col = 3
.Text = "PIECES"
.Col = 4
.Text = "PRICE"
.Col = 5
.Text = "TOTAL PRICE"
End With
End Sub
Err.Description
Exit Sub
End If
On Error GoTo 0
path.Caption = dlg.FileName
Picture1.Visible = True
Picture1.Picture = LoadPicture(dlg.FileName)
End If
End Sub
SOLD
Private Sub cmd_arrange_Click()
If combo_arrange.Text = "TYPE" Then
conndb
Rs.Open "select * from SOLD_table ORDER by Code Asc", Cn, 1, 4
Set MSHFlexGrid1.DataSource = Rs
With Me.MSHFlexGrid1
.ColWidth(0) = 1200
.ColWidth(1) = 4000
.ColWidth(2) = 1000
.ColWidth(3) = 1000
.ColWidth(4) = 1000
.ColWidth(5) = 0
.ColWidth(6) = 1000
.ColWidth(7) = 1500
.ColWidth(8) = 1500
.ColWidth(9) = 0
.ColWidth(10) = 0
.ColWidth(11) = 0
.ColWidth(12) = 0
.ColWidth(16) = 2000
.Row = 0
.Text = "CODE"
.Col = 1
.Text = "BREED"
.Col = 2
.Text = "COLOR"
.Col = 3
.Text = "GENDER"
.Col = 4
.Text = "AGE"
.Col = 5
.Text = "PET FOOD"
.Col = 6
.Text = "CAGE"
.Col = 7
.Text = "DATE RECV"
.Col = 8
.Text = "BIRTHDAY"
.Col = 9
.Text = "VACCINE1"
.Col = 10
.Text = "VACCINE2"
.Col = 11
.Text = "VACCINE3"
.Col = 12
.Text = "VACCINE4"
.Col = 13
.Text = "VACCINE5"
.Col = 14
.Text = "MEDICINE"
.Col = 15
.Text = "PRICE"
End With
Rs.Close
Cn.Close
Else
'Date
If combo_arrange.Text = "DATE" Then
conndb
Rs.Open "select * from SOLD_table ORDER by BuyDate Asc", Cn, 1, 4
Set MSHFlexGrid1.DataSource = Rs
With Me.MSHFlexGrid1
.ColWidth(0) = 1200
.ColWidth(1) = 4000
.ColWidth(2) = 1000
.ColWidth(3) = 1000
.ColWidth(4) = 1000
.ColWidth(5) = 0
.ColWidth(6) = 1000
.ColWidth(7) = 1500
.ColWidth(8) = 1500
.ColWidth(9) = 0
.ColWidth(10) = 0
.ColWidth(11) = 0
.ColWidth(12) = 0
.ColWidth(16) = 2000
.Row = 0
.Text = "CODE"
.Col = 1
.Text = "BREED"
.Col = 2
.Text = "COLOR"
.Col = 3
.Text = "GENDER"
.Col = 4
.Text = "AGE"
.Col = 5
.Text = "PET FOOD"
.Col = 6
.Text = "CAGE"
.Col = 7
.Text = "DATE RECV"
.Col = 8
.Text = "BIRTHDAY"
.Col = 9
.Text = "VACCINE1"
.Col = 10
.Text = "VACCINE2"
.Col = 11
.Text = "VACCINE3"
.Col = 12
.Text = "VACCINE4"
.Col = 13
.Text = "VACCINE5"
.Col = 14
.Text = "MEDICINE"
.Col = 15
.Text = "PRICE"
End With
Rs.Close
Cn.Close
Else
'PRICE
If combo_arrange.Text = "PRICE" Then
conndb
Rs.Open "select * from SOLD_table ORDER by Price Asc", Cn, 1, 4
Set MSHFlexGrid1.DataSource = Rs
With Me.MSHFlexGrid1
.ColWidth(0) = 1200
.ColWidth(1) = 4000
.ColWidth(2) = 1000
.ColWidth(3) = 1000
.ColWidth(4) = 1000
.ColWidth(5) = 0
.ColWidth(6) = 1000
.ColWidth(7) = 1500
.ColWidth(8) = 1500
.ColWidth(9) = 0
.ColWidth(10) = 0
.ColWidth(11) = 0
.ColWidth(12) = 0
.ColWidth(16) = 2000
.Row = 0
.Text = "CODE"
.Col = 1
.Text = "BREED"
.Col = 2
.Text = "COLOR"
.Col = 3
.Text = "GENDER"
.Col = 4
.Text = "AGE"
.Col = 5
.Text = "PET FOOD"
.Col = 6
.Text = "CAGE"
.Col = 7
.Text = "DATE RECV"
.Col = 8
.Text = "BIRTHDAY"
.Col = 9
.Text = "VACCINE1"
.Col = 10
.Text = "VACCINE2"
.Col = 11
.Text = "VACCINE3"
.Col = 12
.Text = "VACCINE4"
.Col = 13
.Text = "VACCINE5"
.Col = 14
.Text = "MEDICINE"
.Col = 15
.Text = "PRICE"
End With
Rs.Close
Cn.Close
End If
End If
End If
End Sub
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
Text8.Text = ""
Text9.Text = ""
text10.Text = ""
Text11.Text = ""
Combo1.Text = ""
Combo2.Text = ""
Combo3.Text = ""
Combo4.Text = ""
Combo5.Text = ""
path.Caption = "D:\Pet Shop\2x2.jpg"
Picture1.Picture = LoadPicture("D:\Pet Shop\2x2.jpg")
Else
Text1.Text = Rs!Code
Text2.Text = Rs!Breed
Text3.Text = Rs!Color
Text4.Text = Rs!Gender
Text5.Text = Rs!AGE
Text6.Text = Rs!PetFood
Text7.Text = Rs!Cage
Text8.Text = Rs!dateRcv
Text9.Text = Rs!Birthday
text10.Text = Rs!Medicine
Text11.Text = Rs!Price
Combo1.Text = Rs!vaccine1
Combo2.Text = Rs!vaccine2
Combo3.Text = Rs!vaccine3
Combo4.Text = Rs!vaccine4
Combo5.Text = Rs!vaccine5
path.Caption = Rs!Picture
Picture1.Picture = LoadPicture(Rs!Picture)
Command1.Enabled = True
Picture1.Enabled = True
End If
End Sub
With Me.MSHFlexGrid1
.ColWidth(0) = 1000
.ColWidth(1) = 1200
.ColWidth(2) = 4000
.ColWidth(3) = 1000
.ColWidth(4) = 1000
.ColWidth(5) = 1000
.ColWidth(6) = 0
.ColWidth(7) = 1000
.ColWidth(8) = 1500
.ColWidth(9) = 1500
.ColWidth(10) = 0
.ColWidth(11) = 0
.ColWidth(12) = 0
.ColWidth(13) = 0
.ColWidth(15) = 2000
.Row = 0
.Text = "RECODNO"
.Col = 1
.Text = "CODE"
.Col = 2
.Text = "BREED"
.Col = 3
.Text = "COLOR
.Col = 4
.Text = "GENDER"
.Col = 5
.Text = "AGE"
.Col = 6
.Text = "PET FOOD"
.Col = 7
.Text = "CAGE"
.Col = 8
.Text = "DATE RECV"
.Col = 9
.Text = "BIRTHDAY"
.Col = 10
.Text = "VACCINE1"
.Col = 11
.Text = "VACCINE2"
.Col = 12
.Text = "VACCINE3"
.Col = 13
.Text = "VACCINE4"
.Col = 14
.Text = "VACCINE5"
.Col = 15
.Text = "MEDICINE"
.Col = 16
.Text = "PRICE"
End With
Rs.Close
Cn.Close
End Sub
Exit Sub
End If
On Error GoTo 0
path.Caption = dlg.FileName
Picture1.Visible = True
Picture1.Picture = LoadPicture(dlg.FileName)
End If
End Sub
SOLDCAGE
Private Sub cmd_arrange_Click()
If combo_arrange.Text = "NAME" Then
conndb
Rs.Open "select * from SOLD_table ORDER by CageName Asc", Cn, 1, 4
Set MSHFlexGrid1.DataSource = Rs
With Me.MSHFlexGrid1
.ColWidth(0) = 1400
.ColWidth(1) = 4000
.ColWidth(2) = 2200
.ColWidth(3) = 2200
.ColWidth(4) = 2200
.ColWidth(5) = 2200
.Row = 0
.Text = "CODE"
.Col = 1
.Text = "NAME"
.Col = 2
.Text = "SIZE"
.Col = 3
.Text = "PIECES"
.Col = 4
.Text = "PRICE"
.Col = 5
.Text = "TOTAL PRICE"
End With
Rs.Close
Cn.Close
Else
'Date
If combo_arrange.Text = "DATE" Then
conndb
Rs.Open "select * from SOLD_table ORDER by BuyDate Asc", Cn, 1, 4
Set MSHFlexGrid1.DataSource = Rs
With Me.MSHFlexGrid1
.ColWidth(0) = 1400
.ColWidth(1) = 4000
.ColWidth(2) = 2200
.ColWidth(3) = 2200
.ColWidth(4) = 2200
.ColWidth(5) = 2200
.Row = 0
.Text = "CODE"
.Col = 1
.Text = "NAME"
.Col = 2
.Text = "SIZE"
.Col = 3
.Text = "PIECES"
.Col = 4
.Text = "PRICE"
.Col = 5
.Text = "TOTAL PRICE"
End With
Rs.Close
Cn.Close
Else
'PRICE
If combo_arrange.Text = "PRICE" Then
conndb
Rs.Open "select * from SOLD_table ORDER by Price Asc", Cn, 1, 4
Set MSHFlexGrid1.DataSource = Rs
With Me.MSHFlexGrid1
.ColWidth(0) = 1400
.ColWidth(1) = 4000
.ColWidth(2) = 2200
.ColWidth(3) = 2200
.ColWidth(4) = 2200
.ColWidth(5) = 2200
.Row = 0
.Text = "CODE"
.Col = 1
.Text = "NAME"
.Col = 2
.Text = "SIZE"
.Col = 3
.Text = "PIECES"
.Col = 4
.Text = "PRICE"
.Col = 5
.Text = "TOTAL PRICE"
End With
Rs.Close
Cn.Close
End If
End If
End If
End Sub
Cn.Execute "DELETE from SoldCages_table where code like '" & Text1.Text & "' "
End Sub
Text1.Text = ""
Text2.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
path.Caption = "D:\Pet Shop\2x2.jpg"
Picture1.Picture = LoadPicture("D:\Pet Shop\2x2.jpg")
Else
Text2.Text = Rs!CageName
Text4.Text = Rs!CageSize
Text5.Text = Rs!NoPiece
Text6.Text = Rs!Price
Text7.Text = Rs!TotalPrice
path.Caption = Rs!Picture
Picture1.Picture = LoadPicture(Rs!Picture)
Command1.Enabled = True
Text2.Enabled = True
Text4.Enabled = True
Text5.Enabled = True
Text6.Enabled = True
Text7.Enabled = True
Picture1.Enabled = True
End If
End Sub
With Me.MSHFlexGrid1
.ColWidth(0) = 1400
.ColWidth(1) = 4000
.ColWidth(2) = 2200
.ColWidth(3) = 2200
.ColWidth(4) = 2200
.ColWidth(5) = 2200
.Row = 0
.Text = "CODE"
.Col = 1
.Text = "NAME"
.Col = 2
.Text = "SIZE"
.Col = 3
.Text = "PIECES"
.Col = 4
.Text = "PRICE"
.Col = 5
.Text = "TOTAL PRICE"
End With
End Sub
On Error GoTo 0
path.Caption = dlg.FileName
Picture1.Visible = True
Picture1.Picture = LoadPicture(dlg.FileName)
End If
End Sub
SOLDFOOD
Private Sub Command1_Click()
If Cn.State = 1 Then Cn.Close
conndb
Rs.Open "select count(code) as cnt from SoldCages_table where code like '" & Text1.Text & "' ", Cn, 1, 4
Cn.Execute "DELETE from SoldPetFood_table where code like '" & Text1.Text & "' "
End Sub
Text1.Text = ""
Text2.Text = ""
Text4.Text = ""
Text5.Text = ""
Text6.Text = ""
Text7.Text = ""
path.Caption = "D:\Pet Shop\2x2.jpg"
Picture1.Picture = LoadPicture("D:\Pet Shop\2x2.jpg")
Else
Text2.Text = Rs!CageName
Text4.Text = Rs!CageSize
Text5.Text = Rs!NoPiece
Text6.Text = Rs!Price
Text7.Text = Rs!TotalPrice
path.Caption = Rs!Picture
Picture1.Picture = LoadPicture(Rs!Picture)
Command1.Enabled = True
End If
End Sub
With Me.MSHFlexGrid1
.ColWidth(0) = 1400
.ColWidth(1) = 4000
.ColWidth(2) = 2200
.ColWidth(3) = 2200
.ColWidth(4) = 2200
.ColWidth(5) = 2200
.Row = 0
.Text = "CODE"
.Col = 1
.Text = "NAME"
.Col = 2
.Text = "SIZE"
.Col = 3
.Text = "PIECES"
.Col = 4
.Text = "PRICE"
.Col = 5
.Text = "TOTAL PRICE"
End With
Else
' arrange by Size
If Combo1.Text = "SIZE" Then
If Cn.State = 1 Then Cn.Close
conndb
Rs.Open "select * from SoldPetFood_table ORDER by FoodAmount Asc", Cn, 1, 4
Set MSHFlexGrid1.DataSource = Rs
With Me.MSHFlexGrid1
.ColWidth(0) = 1400
.ColWidth(1) = 4000
.ColWidth(2) = 2200
.ColWidth(3) = 2200
.ColWidth(4) = 2200
.ColWidth(5) = 2200
.Row = 0
.Text = "CODE"
.Col = 1
.Text = "NAME"
.Col = 2
.Text = "SIZE"
.Col = 3
.Text = "PIECES"
.Col = 4
.Text = "PRICE"
.Col = 5
.Text = "TOTAL PRICE"
End With
Else
With Me.MSHFlexGrid1
.ColWidth(0) = 1400
.ColWidth(1) = 4000
.ColWidth(2) = 2200
.ColWidth(3) = 2200
.ColWidth(4) = 2200
.ColWidth(5) = 2200
.Row = 0
.Text = "CODE"
.Col = 1
.Text = "NAME"
.Col = 2
.Text = "SIZE"
.Col = 3
.Text = "PIECES"
.Col = 4
.Text = "PRICE"
.Col = 5
.Text = "TOTAL PRICE"
End With
End If
End If
End If
End Sub
With Me.MSHFlexGrid1
.ColWidth(0) = 1400
.ColWidth(1) = 4000
.ColWidth(2) = 2200
.ColWidth(3) = 2200
.ColWidth(4) = 2200
.ColWidth(5) = 2200
.Row = 0
.Text = "CODE"
.Col = 1
.Text = "NAME"
.Col = 2
.Text = "SIZE"
.Col = 3
.Text = "PIECES"
.Col = 4
.Text = "PRICE"
.Col = 5
.Text = "TOTAL PRICE"
End With
End Sub
On Error GoTo 0
path.Caption = dlg.FileName
Picture1.Visible = True
Picture1.Picture = LoadPicture(dlg.FileName)
End If
End Sub
TYPEOFPET
Private Sub Command1_Click()
Cn.Execute "DELETE from Sold_table where Recordno like '" & SOLD.txt_recordno.Text & "' "
MsgBox "ITEM RETURN SUCCESFUL", vbOKOnly, ":)"
Unload Me
Else
If Combo1.Text = "BIRD" Then
Cn.Execute "DELETE from Sold_table where Recordno like '" & SOLD.txt_recordno.Text & "' "
MsgBox "ITEM RETURN SUCCESFUL", vbOKOnly, ":)"
Unload Me
Else
Cn.Execute "DELETE from Sold_table where Recordno like '" & SOLD.txt_recordno.Text & "' "
MsgBox "ITEM RETURN SUCCESFUL", vbOKOnly, ":)"
Unload Me
Else
If Combo1.Text = "FISH" Then
Cn.Execute "DELETE from Sold_table where Recordno like '" & SOLD.txt_recordno.Text & "' "
Else
If Combo1.Text = "HEDGEHOG" Then
If Cn.State = 1 Then Cn.Close
Conndb
Rs.Open "select count(Recordno) as cnt from Sold_table where code like '" & SOLD.txt_recordno.Text &
"'", Cn, 1, 4
Cn.Execute "DELETE from Sold_table where Recordno like '" & SOLD.txt_recordno.Text & "' "
MsgBox "ITEM RETURN SUCCESFUL", vbOKOnly, ":)"
Unload Me
Else
If Combo1.Text = "RABBIT" Then
If Cn.State = 1 Then Cn.Close
conndb
Rs.Open "select count(Recordno) as cnt from Sold_table where code like '" & SOLD.txt_recordno.Text &
"'", Cn, 1, 4
Cn.Execute "DELETE from Sold_table where Recordno like '" & SOLD.txt_recordno.Text & "' "
Else
If Combo1.Text = "HAMSTER" Then
values('" & SOLD.Text1.Text & "','" & SOLD.Text2.Text & "','" & SOLD.Text3.Text & "','" &
SOLD.Text4.Text & "','" & SOLD.Text5.Text & "','" & SOLD.Text6.Text & "','" & SOLD.Text7.Text & "','" &
SOLD.Text8.Text & "','" & SOLD.Text9.Text & "','" & SOLD.text10.Text & "','" & SOLD.Text11.Text & "', '"
& SOLD.path.Caption & "')"
Cn.Execute "DELETE from Sold_table where Recordno like '" & SOLD.txt_recordno.Text & "' "
MIKEE S. DEVERA
C-4 Road Tañong Malabon City
09489067196
mikee1993@yahoo.com
OBJECTIVES
EDUCATIONAL ATTAINMENT
TERTIARY
Datamex Institute of Computer Technology
Information Technology
2012-2014
HIGH SCHOOL
Tañong National High School
2006-2010
Elementary
Tañong Elementary School Unit 1
2000-2006
SEMINARS ATTENTED
PERSONAL INFORMATION
Age: 20
Date of Birth: June 4, 1993
Place of birth: Malabon City
Religion: Catholic
Civil Status: Single
Height: 4”11
Gender: Female
Mother`s Name: Moneth Sarmiento
Father`s Name: Romeo De vera
Citizenship: Filipino
SPECIAL SKILL:
MIKEE S. DEVERA
Signature
PERSONAL DATA:
Provincial Address : Daja Norte, Banga,Aklan
Age : 18years old
Date of Birth : September 25,1995
Place of Birth : Quezon City
Height : 5’1’
Weight : 110 lbs
Religion : Roman Catholic
Civil Status : Single
Citizenship : Filipino
Gender : Female
Father’s Name : Flarry R. Lucena
Occupation : Company Driver
Mother’s Name : Rodina Lucena
Occupation : Housewefe
Language Spoken : Tagalog, English,Bisaya
Person to be contact in case of emergence : Rodina Lucena
Contact No : 09197598969
EDUCATIONAL BACKGROND:
PRIMARY : Daja Norte Elementary School
Daja Norte,Banga, Aklan
S.Y.2007-2008
SECONDARY : Ismael Mathay Sr. High School
GSIS Village Sangandaan Quezon City
S.Y.2011-2012
TERTIARY : Datamex School of Science and Technology
2ND Flr. Aurello Bldg. III cor. Rizal Ave.
Ext. 11TH Ave . Caloocan.City
2013-Present
WORK EXPERENCE:
SEMINARS ATTENDED:
CHARACTER REFERENCE:
I, hereby declare that all the information I heve given are and correct to the best of my
knowledge and belief.