第32章 利用项目管理器设计数据库和表

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

1133122334422333.13.23.3“”3.43.533.13.13.1.13.1.23.1.33.1.4433.1.1VFP“ControlCenter”1VFP2VFPGxglxtCREATEPROJECT|?VFP.PJX?“”5…:…:…:…“”“”“”……:(.APP)(.EXE)64“”“”“”“”“”“”73.1.23.1.211EventloopEventloop33--11::DOSetup&&DOSetup&&DODOMainMenu.mprMainMenu.mpr&&&&READEVENTS&&READEVENTS&&DOcleanup&&DOcleanup&&MainMenu.mprMainMenu.mprCLEAREVENTSCLEAREVENTS85922ExternallibraryExternallibraryprocedureprocedure33DODODOFORMDOFORM44READEVENTSREADEVENTSCLEAREVENTSCLEAREVENTS55SETSETSETTALKSETTALKCtalkValCtalkValCtalkValCtalkVal=SET(=SET(““TalkTalk””))““TALKTALK””SETTALK&SETTALK&CtalkValCtalkVal103.1.33.1.3……““””““””““””6113.1.43.1.41122““””33““””““””““””441122““””33““””““””““””443.23.23.2.13.2.23.2.33.2.43.2.53.2.6127133.2.13.2.111VFPVFP22““StudentStudent””““GradeGrade””33StudentStudent““””““””““””4455143.2.23.2.2GxglxtGxglxt8153.2.33.2.3GxglxtGxglxtStudentStudentGradeGradeStudentStudentGradeGrade““SpecialtySpecialty””163.2.43.2.4VFPVFPnullnull9173.2.53.2.5VFPVFP““””““””““””““””VFPVFP““””183.2.63.2.6103.33.3““””3.3.13.3.219203.3.1““””11213.3.23.3.21122““””““””““””.DBF.DBFOPENDATABASEOPENDATABASEEXCLUSIVEEXCLUSIVE3.43.4.13.4.23.4.32212233.4.13.4.1GxglxtGxglxtStudentStudentC9C8C2D8C10C5C8M43.4.2CREATEEnterEnter““””EnterEnter““””CREATECREATE.FPT.FPT.DBF.DBF2413AA--JJStudent.dbfStudent.dbfVFPVFP||““””Alt+FAlt+FCtrl+NCtrl+NCtrl+NCtrl+N““””““””““””VFPVFP““””2526““””““””||““””143.4.3[TOPRINTER][TOPRINTER][PROMPT][PROMPT]““””[PROMPT][PROMPT]TOPRINTERTOPRINTER[TOFILE][TOFILE]1LISTSTRUCTURE[TOPRINTER[PROMPT]/TOFILE]DISPLAYSTRUCTURE[TOPRINTER[PROMPT]/TOFILE]27LISTSTRUCTURELISTSTRUCTUREDISPLAYSTRUCTUREDISPLAYSTRUCTUREDISPLAYSTRUCTUREDISPLAYSTRUCTURELISTSTRUCTURELISTSTRUCTUREStudentStudentUSEStudentLISTSTRUCTURE28152MODIFYSTRUCTUREMODIFYSTRUCTURE““””NULLNULL(1)(1)Ctrl+DCtrl+DCtrl+WCtrl+W29(2)(2)Ctrl+ICtrl+ICtrl+WCtrl+W(3)(3)MODIFYSTRUCTUREMODIFYSTRUCTURECREATECREATE30163COPYSTRUCTURETO[FIELDS]FIELDSFIELDSFIELDSFIELDS4411COPYSTRUCTURETOEXTENDED31StudentStudentstudstrstudstrUSEStudentUSEStudentCOPYSTRUCTURETOCOPYSTRUCTURETOstudstrstudstrEXTENDEDEXTENDEDUSEUSEstudstrstudstrLISTSTRUCTURELISTSTRUCTURE321733342CREATEFROMstudstrstudstrStudent1Student1CREATEStudent1FROMCREATEStudent1FROMstudstrstudstrUSEStudent1USEStudent1LISTSTRUCTURELISTSTRUCTURE183.53.5.13.5.23.5.33.5.43.5.53.5.63.5.7353.5.1USE[EXCLUSIVE][SHARED][EXCLUSIVE][EXCLUSIVE][SHARED][SHARED]FPTFPTALIASALIAS36193.5.23.5.2““””APPEND[BLANK][BLANK][BLANK]3738CREATECREATEAPPENDAPPENDAPPENDBLANKAPPENDBLANK““””APPENDAPPENDVFPVFP||990410/17/8994-202356122990404/21/8993-302356300980402/23/8983-302356404980502/07/8984-412356188990610/04/8992-222356234990403/29/8993-312356333203.5.3VFPVFP11GOTO[RECORD]/TOP/BOTTOMGO[RECORD]/TOP/BOTTOMTOPTOP[BOTTOM][BOTTOM]RECORDRECORD00394022SKIP[]1122SKIPSKIPSKIP1SKIP1213.5.43.5.411INSRETINSRETINSERT[BLANK][BEFORE][BEFORE][BEFORE][BLANK][BLANK]1122VFPVFPINSERTINSERTINSERTINSERT412INSERT——SQLINSERTINTO[(1[2…])]VALUES(1[,2…])INSERTINTOFROMARRAY/FROMMEMVAR[([(1[1[22……])]])][VALUES([VALUES(1[,1[,22……])]])][FROMARRAY[FROMARRAY]]FROMMEMVARFROMMEMVAR422211VFPVFP22VALUESVALUES33FROMARRAYFROMARRAY44FROMMEMVARFROMMEMVARINSERTINSERT--————SQLSQLStudentStudent23563063-3119903/22/80990450024344INSERTINTOStudent(INSERTINTOStudent(,,,,,,,,,,,;,;)VALUES(99045002,)VALUES(99045002,,,,{^1980/03/22},;,{^1980/03/22},;9999,3,3--311,2356306)311,2356306)3APPENDFROM/[FIELDS][FOR][[]]““””[FIELDS[FIELDS]][FOR[FOR]]““””FORFOR233.5.53.5.5LIST[OFF][FIELDS][][FOR][WHILE][TOPRINTER[PROMPT]/TOFILE]DISPLAY[OFF][FIELDS][][FOR][WHILE][TOPRINTER[PROMPT]/TOFILE][OFF][OFF]OFFOFF[[]]ALLALLRECORDRECORDNN[NEXT[NEXTNNRESTRESTFIELDSFIELDS50504546[FOR[FOR/WHILE/WHILE]][TOPRINTER[PROMPT]/TOFILE[TOPRINTER[PROMPT]/TOFILE]]TOPRINTER[PROMPT]TOPRINTER[PROMPT][PROMPT][PROMPT]TOFILETOFILELISTLISTDISPLAYDISPLAY((1)DISPLAY1)DISPLAYLISTLIST(2)(2)DISPLAYDISPLAYNEXT1NEXT1LISTLISTALLALL243.5.63.5.611(1)(1)47VFPTable48252BROWSE[FIELDS][LOCK][LAST][FOR][Fields[Fields]]LOCKLOCKLASTLASTFORFOR11BROWSEBROWSEBROWSEBROWSE4922VFPVFP1010=BROWSEFIELDSNAME_BIRTH=+:++:+DTOC()+5026:HBROWSEFIELDSNAME_BIRTH=+:++:+;DTOC()+:H=,515222REPLACE1[ADDITIVE][,2WITH2[ADDITIVE]…][][FOR][WHILE]11WITHWITH11FORFORWHILEWHILEWITHWITHWITHWITH273.5.7VFP1DELETE[][FOR][WHILE]GO7DELETEGO4DELETENEXT3LIST532PACK[DBF][MEMO]DBFDBFMEMOMEMOPACKPACKPACKPACKPACKPACKPACKLIST5428553RECALL[][FOR][WHILE]““**””((StudentStudent))RECALLALLBROW4ZAPZAPZAPDELETEALLDELETEALLPACKPACKZAPZAP561.1.CREATECREATEPROJECTPROJECT2.2.3.3.““””4.4.29575.5.6.6.CREATECREATECOPYSTRUCTURECOPYSTRUCTURECREATECREATEFROMFROM7.7.MODIFYSTRUCTUREMODIFYSTRUCTURE588.8.APPENDAPPENDINSERTINTOINSERTINTODELETEDELETEBROWSEBROWSEREPLACEREPLACE9.9.3059

1 / 15
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功