SlideShare a Scribd company logo
Objeck: Comand 1:   procedure:clik

*

IF EMPTY(thisform.text1.value = "zapry")
*
=MESSAGEBOX("username anda salah",0+16,"info" )
thisform.text1.SetFocus
thisform.text1.Value=""
thisform.text2.Value=""
RETURN
*
ENDIF
*
IF EMPTY(thisform.text2.value = "zerba")
*
=MESSAGEBOX("password anda salah",0+16,"info" )
thisform.text2.SetFocus
thisform.text1.Value=""
thisform.text2.Value=""
RETURN
ENDIF
DO FORM form1.scx
thisform.text1.Value=""
thisform.text2.Value=""
commandd2   procedure:clik
thisform.Release




SELECT mahasiswa
SET ORDER TO STB   && STB
seek(alltrim(thisform.text1.Value))
IF !EMPTY(thisform.text1.value)
      IF FOUND()
            thisform.text2.Value=alamat
            thisform.text3.Value=asal
            thisform.text4.Value=nama
      ELSE
            MESSAGEBOX("data tidak temukan " ,0, "info")
      ENDIF
ENDIF
*
IF EMPTY(thisform.text1.value)
*
=MESSAGEBOX("nama harus diisi dulu", 0+16,"infomasi")
thisform.tetx1.setfocus
RETURN
*
ENDIF
*
IF EMPTY(thisform.text2.value)
*
=MESSAGEBOX("alamat anda harus diisi dulu", 0+16,"informasi")
thisform.tetx1.setfocus
RETURN
*
ENDIF
IF EMPTY(thisform.text3.value)
*
=MESSAGEBOX("alamat anda harus diisi dulu", 0+16,"informasi")
thisform.tetx1.setfocus
RETURN
*
ENDIF
IF EMPTY(thisform.text4.value)
*
=MESSAGEBOX("alamat anda harus diisi dulu", 0+16,"informasi")
thisform.tetx1.setfocus
RETURN
*
ENDIF
SELECT mahasiswa
SET ORDER TO STB    && STB
SEEK(ALLTRIM(thisform.text1.Value))
IF !EMPTY(thisform.text1.Value)
MESSAGEBOX("data sudah ada",0,"info")
       IF FOUND()
             thisform.text1.Value=""
             thisform.text2.Value=""
             thisform.text3.Value=""
             thisform.text4.Value=""
       ELSE
APPEND BLANK
WITH thisform
       replace stb WITH thisform.text1.Value
       replace alamat WITH thisform.text2.Value
       replace asal WITH thisform.text3.Value
       replace nama WITH thisform.text4.Value
       thisform.grid1.Refresh
ENDWITH
MESSAGEBOX("yakin anda ingin menyimpan data ",1,"information")
       thisform.text1.Value=""
       thisform.text2.Value=""
       thisform.text3.Value=""
       thisform.text4.Value=0
       ENDIF
ENDIF
thisform.text1.SetFocus



pilihan=MESSAGEBOX("yakin anda ingin menghapus data ini")
IF pilihan=1
SELECT mahasiswa
      DELETE
      thisform.grid1.Refresh
thisform.text1.Value=""
thisform.text2.Value=""
thisform.text3.Value=""
thisform.text4.Value=""
ENDIF

SELECT mahasiswa
SET ORDER TO STB    && STB
seek(alltrim(thisform.text1.Value))
IF !EMPTY(thisform.text1.value)
      IF FOUND()
             thisform.text2.Value=alamat
             thisform.text3.Value=asal
             thisform.text4.Value=nama
      ELSE
      DELETE
      thisform.text2.Value=alamat
      thisform.text3.Value=asal
      thisform.text4.Value=nama
      thisform.grid1.Refresh
             MESSAGEBOX("data tidak temukan " ,0, "info")
      ENDIF
ENDIF




SELECT akademik
APPEND BLANk
replace angkatan with thisform.combo1.Value
replace spp with thisform.tspp.Value
replace idd WITH thisform.text1.Value
thisform.grid1.Refresh
jwb = MESSAGEBOX("yakin anda sudah selasai",4+32,"info")
IF jwb =6 then
ENDIF

SELECT akademik
SET ORDER TO idd && idd
SEEK (ALLTRIM(thisform.text1.Value))
IF !EMPTY(thisform.text1.value)
      IF FOUND()
      thisform.combo1.Value=angkatan
      thisform.tspp.Value=spp
      ENDIF
DELETE
        thisform.combo1.Value=angkatan
        thisform.tspp.Value=spp
        thisform.grid1.Refresh
        ELSE
        MESSAGEBOX("data yang di edit tidak temukan", 0 , "info")
ENDIF

IF thisform.combo1.Value="2006" then
      thisform.tspp.Value=1600000
ELSE
IF thisform.combo1.Value="2007" then
      thisform.tspp.Value=1700000

ELSE
IF thisform.combo1.Value="2008" then
      thisform.tspp.Value=1800000
ELSE
IF thisform.combo1.Value="2009" then
      thisform.tspp.Value=1900000
ELSE
IF thisform.combo1.Value="2010" then
      thisform.tspp.Value=2000000
ELSE
IF thisform.combo1.Value="2011" then
      thisform.tspp.Value=2100000
ELSE
      thisform.tspp.Value=2200000
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
SELECT akademik
SET ORDER TO idd && idd
SEEK (ALLTRIM(thisform.text1.Value))
IF !EMPTY(thisform.text1.value)
      IF FOUND()
      thisform.combo1.Value=angkatan
      thisform.tspp.Value=spp
      ENDIF
      DELETE
      thisform.combo1.Value=angkatan
      thisform.tspp.Value=spp
      thisform.grid1.Refresh
      ELSE
      MESSAGEBOX("data yang di edit tidak temukan", 0 , "info")
ENDIF
IF thisform.combo1.Value="teknik informatika" then
      thisform.text1.Value=100000
ELSE
IF thisform.combo1.Value="sistem informasih" then
      thisform.text1.Value=100000
ELSE
      thisform.text1.Value=50000
ENDIF
ENDIF
SELECT pembayaran
APPEND BLANK
replace jurusan WITH thisform.combo1.Value
replace pendaftara WITH thisform.text1.Value
thisform.grid1.refresh
MESSAGEBOX("data ingin sismpan data ",'')

keluar=messagebox(" anda ingin keluar dari form ini " , 4+64 , "info")
IF keluar=6
thisform.Release
ENDIF
keluar=messagebox(" anda ingin keluar dari form ini " , 4+64 , "info")
IF keluar=6
thisform.Release
ENDIF
Data mahasiswa commandd do form form1.scx
Tahun jurusan commandd do form form1.scx
Keluar command thisform.release

More Related Content

What's hot

The Ring programming language version 1.6 book - Part 34 of 189
The Ring programming language version 1.6 book - Part 34 of 189The Ring programming language version 1.6 book - Part 34 of 189
The Ring programming language version 1.6 book - Part 34 of 189
Mahmoud Samir Fayed
 
Python PCEP Functions And Scopes
Python PCEP Functions And ScopesPython PCEP Functions And Scopes
Python PCEP Functions And Scopes
IHTMINSTITUTE
 
Stanfy MadCode Meetup #9: Functional Programming 101 with Swift
Stanfy MadCode Meetup #9: Functional Programming 101 with SwiftStanfy MadCode Meetup #9: Functional Programming 101 with Swift
Stanfy MadCode Meetup #9: Functional Programming 101 with Swift
Stanfy
 
iRODS Rule Language Cheat Sheet
iRODS Rule Language Cheat SheetiRODS Rule Language Cheat Sheet
iRODS Rule Language Cheat Sheet
Samuel Lampa
 
Oracle
OracleOracle
[PyCon2016]To mock or not to mock, that is the questions
[PyCon2016]To mock or not to mock, that is the questions[PyCon2016]To mock or not to mock, that is the questions
[PyCon2016]To mock or not to mock, that is the questions
Ana Balica
 
Groovy vs Boilerplate and Ceremony Code
Groovy vs Boilerplate and Ceremony CodeGroovy vs Boilerplate and Ceremony Code
Groovy vs Boilerplate and Ceremony Code
stasimus
 
PythonOOP
PythonOOPPythonOOP
PythonOOP
Veera Pendyala
 
20190330 immutable data
20190330 immutable data20190330 immutable data
20190330 immutable data
Chiwon Song
 
Sql Tags
Sql TagsSql Tags
Unit testing with PHPUnit
Unit testing with PHPUnitUnit testing with PHPUnit
Unit testing with PHPUnit
ferca_sl
 
Notes for C Programming for MCA, BCA, B. Tech CSE, ECE and MSC (CS) 3 of 5 b...
Notes for C Programming for MCA, BCA, B. Tech CSE, ECE and MSC (CS) 3 of 5  b...Notes for C Programming for MCA, BCA, B. Tech CSE, ECE and MSC (CS) 3 of 5  b...
Notes for C Programming for MCA, BCA, B. Tech CSE, ECE and MSC (CS) 3 of 5 b...
ssuserd6b1fd
 
Lecture 3 sql {basics ddl commands}
Lecture 3 sql {basics  ddl commands}Lecture 3 sql {basics  ddl commands}
Lecture 3 sql {basics ddl commands}
Shubham Shukla
 
Ciklum net sat12112011-alexander fomin-expressions and all, all, all
Ciklum net sat12112011-alexander fomin-expressions and all, all, allCiklum net sat12112011-alexander fomin-expressions and all, all, all
Ciklum net sat12112011-alexander fomin-expressions and all, all, all
Ciklum Ukraine
 
Pooya Khaloo Presentation on IWMC 2015
Pooya Khaloo Presentation on IWMC 2015Pooya Khaloo Presentation on IWMC 2015
Pooya Khaloo Presentation on IWMC 2015
Iran Entrepreneurship Association
 
Disassembling Go
Disassembling GoDisassembling Go
Disassembling Go
Eyal Post
 
Learn plsql
Learn plsqlLearn plsql
Learn plsql
Iulian Avram
 
Funct format sql_statement.c
Funct format sql_statement.cFunct format sql_statement.c
Funct format sql_statement.c
albertinous
 
Sql
SqlSql
Extbase and Beyond
Extbase and BeyondExtbase and Beyond
Extbase and Beyond
Jochen Rau
 

What's hot (20)

The Ring programming language version 1.6 book - Part 34 of 189
The Ring programming language version 1.6 book - Part 34 of 189The Ring programming language version 1.6 book - Part 34 of 189
The Ring programming language version 1.6 book - Part 34 of 189
 
Python PCEP Functions And Scopes
Python PCEP Functions And ScopesPython PCEP Functions And Scopes
Python PCEP Functions And Scopes
 
Stanfy MadCode Meetup #9: Functional Programming 101 with Swift
Stanfy MadCode Meetup #9: Functional Programming 101 with SwiftStanfy MadCode Meetup #9: Functional Programming 101 with Swift
Stanfy MadCode Meetup #9: Functional Programming 101 with Swift
 
iRODS Rule Language Cheat Sheet
iRODS Rule Language Cheat SheetiRODS Rule Language Cheat Sheet
iRODS Rule Language Cheat Sheet
 
Oracle
OracleOracle
Oracle
 
[PyCon2016]To mock or not to mock, that is the questions
[PyCon2016]To mock or not to mock, that is the questions[PyCon2016]To mock or not to mock, that is the questions
[PyCon2016]To mock or not to mock, that is the questions
 
Groovy vs Boilerplate and Ceremony Code
Groovy vs Boilerplate and Ceremony CodeGroovy vs Boilerplate and Ceremony Code
Groovy vs Boilerplate and Ceremony Code
 
PythonOOP
PythonOOPPythonOOP
PythonOOP
 
20190330 immutable data
20190330 immutable data20190330 immutable data
20190330 immutable data
 
Sql Tags
Sql TagsSql Tags
Sql Tags
 
Unit testing with PHPUnit
Unit testing with PHPUnitUnit testing with PHPUnit
Unit testing with PHPUnit
 
Notes for C Programming for MCA, BCA, B. Tech CSE, ECE and MSC (CS) 3 of 5 b...
Notes for C Programming for MCA, BCA, B. Tech CSE, ECE and MSC (CS) 3 of 5  b...Notes for C Programming for MCA, BCA, B. Tech CSE, ECE and MSC (CS) 3 of 5  b...
Notes for C Programming for MCA, BCA, B. Tech CSE, ECE and MSC (CS) 3 of 5 b...
 
Lecture 3 sql {basics ddl commands}
Lecture 3 sql {basics  ddl commands}Lecture 3 sql {basics  ddl commands}
Lecture 3 sql {basics ddl commands}
 
Ciklum net sat12112011-alexander fomin-expressions and all, all, all
Ciklum net sat12112011-alexander fomin-expressions and all, all, allCiklum net sat12112011-alexander fomin-expressions and all, all, all
Ciklum net sat12112011-alexander fomin-expressions and all, all, all
 
Pooya Khaloo Presentation on IWMC 2015
Pooya Khaloo Presentation on IWMC 2015Pooya Khaloo Presentation on IWMC 2015
Pooya Khaloo Presentation on IWMC 2015
 
Disassembling Go
Disassembling GoDisassembling Go
Disassembling Go
 
Learn plsql
Learn plsqlLearn plsql
Learn plsql
 
Funct format sql_statement.c
Funct format sql_statement.cFunct format sql_statement.c
Funct format sql_statement.c
 
Sql
SqlSql
Sql
 
Extbase and Beyond
Extbase and BeyondExtbase and Beyond
Extbase and Beyond
 

Viewers also liked

1 fm intro
1 fm intro1 fm intro
1 fm intro
rehman siddiqui
 
fino al 30 Maggio 2014 offerta vololibero edizioni.
fino al 30 Maggio 2014 offerta vololibero edizioni.fino al 30 Maggio 2014 offerta vololibero edizioni.
fino al 30 Maggio 2014 offerta vololibero edizioni.
Vololibero Edizioni
 
Madonna liberaci da putin, la rassegna stampa del libro sulle Pussy Riot
Madonna liberaci da putin, la rassegna stampa del libro sulle Pussy RiotMadonna liberaci da putin, la rassegna stampa del libro sulle Pussy Riot
Madonna liberaci da putin, la rassegna stampa del libro sulle Pussy Riot
Vololibero Edizioni
 
Surf play rassegna stampa del libro di F. Fiorentino e T. Lavizzari
Surf play   rassegna stampa del libro di F. Fiorentino e T. LavizzariSurf play   rassegna stampa del libro di F. Fiorentino e T. Lavizzari
Surf play rassegna stampa del libro di F. Fiorentino e T. Lavizzari
Vololibero Edizioni
 
Scrum rules
Scrum rulesScrum rules
Scrum rules
fredarwin
 
Senator super stars 2012
Senator super stars 2012Senator super stars 2012
Senator super stars 2012
Dover High School
 
Adrenal glands
Adrenal glandsAdrenal glands
Adrenal glands
Anna Patricia Jo Ranola
 
Vololibero presenta stelle deboli con informazioni e preview
Vololibero presenta stelle deboli con informazioni e previewVololibero presenta stelle deboli con informazioni e preview
Vololibero presenta stelle deboli con informazioni e preview
Vololibero Edizioni
 
Wager chapter15 2nded-000
Wager chapter15 2nded-000Wager chapter15 2nded-000
Wager chapter15 2nded-000
Krupa Shah
 
Shg lit rev
Shg lit revShg lit rev
Shg lit rev
rehman siddiqui
 
Mini dental implants
Mini dental implantsMini dental implants
Mini dental implants
Anna Patricia Jo Ranola
 

Viewers also liked (14)

Hidyn
HidynHidyn
Hidyn
 
1 fm intro
1 fm intro1 fm intro
1 fm intro
 
fino al 30 Maggio 2014 offerta vololibero edizioni.
fino al 30 Maggio 2014 offerta vololibero edizioni.fino al 30 Maggio 2014 offerta vololibero edizioni.
fino al 30 Maggio 2014 offerta vololibero edizioni.
 
Madonna liberaci da putin, la rassegna stampa del libro sulle Pussy Riot
Madonna liberaci da putin, la rassegna stampa del libro sulle Pussy RiotMadonna liberaci da putin, la rassegna stampa del libro sulle Pussy Riot
Madonna liberaci da putin, la rassegna stampa del libro sulle Pussy Riot
 
Surf play rassegna stampa del libro di F. Fiorentino e T. Lavizzari
Surf play   rassegna stampa del libro di F. Fiorentino e T. LavizzariSurf play   rassegna stampa del libro di F. Fiorentino e T. Lavizzari
Surf play rassegna stampa del libro di F. Fiorentino e T. Lavizzari
 
Scrum rules
Scrum rulesScrum rules
Scrum rules
 
Senator super stars 2012
Senator super stars 2012Senator super stars 2012
Senator super stars 2012
 
Adrenal glands
Adrenal glandsAdrenal glands
Adrenal glands
 
Anitának
Anitának Anitának
Anitának
 
Vololibero presenta stelle deboli con informazioni e preview
Vololibero presenta stelle deboli con informazioni e previewVololibero presenta stelle deboli con informazioni e preview
Vololibero presenta stelle deboli con informazioni e preview
 
Anitának
AnitánakAnitának
Anitának
 
Wager chapter15 2nded-000
Wager chapter15 2nded-000Wager chapter15 2nded-000
Wager chapter15 2nded-000
 
Shg lit rev
Shg lit revShg lit rev
Shg lit rev
 
Mini dental implants
Mini dental implantsMini dental implants
Mini dental implants
 

Recently uploaded

PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 

Recently uploaded (20)

PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 

Objeck

  • 1. Objeck: Comand 1: procedure:clik * IF EMPTY(thisform.text1.value = "zapry") * =MESSAGEBOX("username anda salah",0+16,"info" ) thisform.text1.SetFocus thisform.text1.Value="" thisform.text2.Value="" RETURN * ENDIF * IF EMPTY(thisform.text2.value = "zerba") * =MESSAGEBOX("password anda salah",0+16,"info" ) thisform.text2.SetFocus thisform.text1.Value="" thisform.text2.Value="" RETURN ENDIF DO FORM form1.scx thisform.text1.Value="" thisform.text2.Value="" commandd2 procedure:clik thisform.Release SELECT mahasiswa SET ORDER TO STB && STB seek(alltrim(thisform.text1.Value)) IF !EMPTY(thisform.text1.value) IF FOUND() thisform.text2.Value=alamat thisform.text3.Value=asal thisform.text4.Value=nama ELSE MESSAGEBOX("data tidak temukan " ,0, "info") ENDIF ENDIF
  • 2. * IF EMPTY(thisform.text1.value) * =MESSAGEBOX("nama harus diisi dulu", 0+16,"infomasi") thisform.tetx1.setfocus RETURN * ENDIF * IF EMPTY(thisform.text2.value) * =MESSAGEBOX("alamat anda harus diisi dulu", 0+16,"informasi") thisform.tetx1.setfocus RETURN * ENDIF IF EMPTY(thisform.text3.value) * =MESSAGEBOX("alamat anda harus diisi dulu", 0+16,"informasi") thisform.tetx1.setfocus RETURN * ENDIF IF EMPTY(thisform.text4.value) * =MESSAGEBOX("alamat anda harus diisi dulu", 0+16,"informasi") thisform.tetx1.setfocus RETURN * ENDIF SELECT mahasiswa SET ORDER TO STB && STB SEEK(ALLTRIM(thisform.text1.Value)) IF !EMPTY(thisform.text1.Value) MESSAGEBOX("data sudah ada",0,"info") IF FOUND() thisform.text1.Value="" thisform.text2.Value="" thisform.text3.Value="" thisform.text4.Value="" ELSE APPEND BLANK WITH thisform replace stb WITH thisform.text1.Value replace alamat WITH thisform.text2.Value replace asal WITH thisform.text3.Value replace nama WITH thisform.text4.Value thisform.grid1.Refresh ENDWITH MESSAGEBOX("yakin anda ingin menyimpan data ",1,"information") thisform.text1.Value="" thisform.text2.Value="" thisform.text3.Value="" thisform.text4.Value=0 ENDIF ENDIF thisform.text1.SetFocus pilihan=MESSAGEBOX("yakin anda ingin menghapus data ini")
  • 3. IF pilihan=1 SELECT mahasiswa DELETE thisform.grid1.Refresh thisform.text1.Value="" thisform.text2.Value="" thisform.text3.Value="" thisform.text4.Value="" ENDIF SELECT mahasiswa SET ORDER TO STB && STB seek(alltrim(thisform.text1.Value)) IF !EMPTY(thisform.text1.value) IF FOUND() thisform.text2.Value=alamat thisform.text3.Value=asal thisform.text4.Value=nama ELSE DELETE thisform.text2.Value=alamat thisform.text3.Value=asal thisform.text4.Value=nama thisform.grid1.Refresh MESSAGEBOX("data tidak temukan " ,0, "info") ENDIF ENDIF SELECT akademik APPEND BLANk replace angkatan with thisform.combo1.Value replace spp with thisform.tspp.Value replace idd WITH thisform.text1.Value thisform.grid1.Refresh jwb = MESSAGEBOX("yakin anda sudah selasai",4+32,"info") IF jwb =6 then ENDIF SELECT akademik SET ORDER TO idd && idd SEEK (ALLTRIM(thisform.text1.Value)) IF !EMPTY(thisform.text1.value) IF FOUND() thisform.combo1.Value=angkatan thisform.tspp.Value=spp ENDIF
  • 4. DELETE thisform.combo1.Value=angkatan thisform.tspp.Value=spp thisform.grid1.Refresh ELSE MESSAGEBOX("data yang di edit tidak temukan", 0 , "info") ENDIF IF thisform.combo1.Value="2006" then thisform.tspp.Value=1600000 ELSE IF thisform.combo1.Value="2007" then thisform.tspp.Value=1700000 ELSE IF thisform.combo1.Value="2008" then thisform.tspp.Value=1800000 ELSE IF thisform.combo1.Value="2009" then thisform.tspp.Value=1900000 ELSE IF thisform.combo1.Value="2010" then thisform.tspp.Value=2000000 ELSE IF thisform.combo1.Value="2011" then thisform.tspp.Value=2100000 ELSE thisform.tspp.Value=2200000 ENDIF ENDIF ENDIF ENDIF ENDIF ENDIF SELECT akademik SET ORDER TO idd && idd SEEK (ALLTRIM(thisform.text1.Value)) IF !EMPTY(thisform.text1.value) IF FOUND() thisform.combo1.Value=angkatan thisform.tspp.Value=spp ENDIF DELETE thisform.combo1.Value=angkatan thisform.tspp.Value=spp thisform.grid1.Refresh ELSE MESSAGEBOX("data yang di edit tidak temukan", 0 , "info") ENDIF
  • 5. IF thisform.combo1.Value="teknik informatika" then thisform.text1.Value=100000 ELSE IF thisform.combo1.Value="sistem informasih" then thisform.text1.Value=100000 ELSE thisform.text1.Value=50000 ENDIF ENDIF SELECT pembayaran APPEND BLANK replace jurusan WITH thisform.combo1.Value replace pendaftara WITH thisform.text1.Value thisform.grid1.refresh MESSAGEBOX("data ingin sismpan data ",'') keluar=messagebox(" anda ingin keluar dari form ini " , 4+64 , "info") IF keluar=6 thisform.Release ENDIF keluar=messagebox(" anda ingin keluar dari form ini " , 4+64 , "info") IF keluar=6 thisform.Release ENDIF
  • 6. Data mahasiswa commandd do form form1.scx Tahun jurusan commandd do form form1.scx Keluar command thisform.release