SlideShare una empresa de Scribd logo
1 de 6
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

Más contenido relacionado

La actualidad más candente

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 189Mahmoud Samir Fayed
 
Python PCEP Functions And Scopes
Python PCEP Functions And ScopesPython PCEP Functions And Scopes
Python PCEP Functions And ScopesIHTMINSTITUTE
 
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 SwiftStanfy
 
iRODS Rule Language Cheat Sheet
iRODS Rule Language Cheat SheetiRODS Rule Language Cheat Sheet
iRODS Rule Language Cheat SheetSamuel Lampa
 
[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 questionsAna Balica
 
Groovy vs Boilerplate and Ceremony Code
Groovy vs Boilerplate and Ceremony CodeGroovy vs Boilerplate and Ceremony Code
Groovy vs Boilerplate and Ceremony Codestasimus
 
20190330 immutable data
20190330 immutable data20190330 immutable data
20190330 immutable dataChiwon Song
 
Unit testing with PHPUnit
Unit testing with PHPUnitUnit testing with PHPUnit
Unit testing with PHPUnitferca_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, allCiklum Ukraine
 
Disassembling Go
Disassembling GoDisassembling Go
Disassembling GoEyal Post
 
Funct format sql_statement.c
Funct format sql_statement.cFunct format sql_statement.c
Funct format sql_statement.calbertinous
 
Extbase and Beyond
Extbase and BeyondExtbase and Beyond
Extbase and BeyondJochen Rau
 

La actualidad más candente (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
 

Destacado

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 RiotVololibero 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. LavizzariVololibero Edizioni
 
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 previewVololibero Edizioni
 
Wager chapter15 2nded-000
Wager chapter15 2nded-000Wager chapter15 2nded-000
Wager chapter15 2nded-000Krupa Shah
 

Destacado (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
 

Último

4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptxmary850239
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
week 1 cookery 8 fourth - quarter .pptx
week 1 cookery 8  fourth  -  quarter .pptxweek 1 cookery 8  fourth  -  quarter .pptx
week 1 cookery 8 fourth - quarter .pptxJonalynLegaspi2
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSMae Pangan
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...DhatriParmar
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 
Mental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsMental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsPooky Knightsmith
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmStan Meyer
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdfMr Bounab Samir
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Association for Project Management
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxDhatriParmar
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataBabyAnnMotar
 

Último (20)

INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx
 
prashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Professionprashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Profession
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
week 1 cookery 8 fourth - quarter .pptx
week 1 cookery 8  fourth  -  quarter .pptxweek 1 cookery 8  fourth  -  quarter .pptx
week 1 cookery 8 fourth - quarter .pptx
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHS
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
 
Mental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsMental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young minds
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and Film
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdf
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped data
 

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