航班售票管理系统—计算机毕业设计(论文)内容摘要:

ndif(2)sele 航班信息数据表if not eof() skip else messagebox(已经是最后一个航班的记录!)endif(3)sele 乘客信息数据表 if =新乘客订票 =保存新乘客记录 =str(reo()) append blank else =新乘客订票 =修改订票记录 endifsele 航班座位等级分配与座位占用表locate all for alltrim()==alltrim() =* (4). if =修改订票记录 =取消修改 =保存修改 =str(reo()) else =修改订票记录 =新乘客订票 tablerevert() endif go val() (5). sele 乘客信息数据表 copy to e:\vf课程设计案例\航班售票管理系统\DATA\temp(1) sele 密码表 locate all for alltrim()==alltrim() if found() =.f. =.t. else messagebox(对不起,你不是合法用户,不能退票) endif (2) locate all for alltrim()==alltrim() if found() y=reo() go y messagebox(乘客已经找到,提示乘客先办理完相关手续,否则不能退票!) else messagebox(未找到该乘客,请确认!) endif locate all for alltrim()==alltrim() if found() if messagebox(当前乘客确实要退票吗?!,32+4+256,开户确认)=6 y=reo() go y sele 航班座位等级分配与座位占用表 locate all for alltrim()==alltrim() x=reo() go x = release x sele 乘客信息数据表 = delete next 1 pack = release y else messagebox(该乘客未退票,座位仍被占用!) endif else messagebox(对不起,该乘客未找到,请确认身份证号码!) endif(1)sele 航班信息数据表 do case case =1 set filter to 航班号=alltrim() case =2 set filter to 发出城市=alltrim() case =3 set filter to 到达城市=alltrim() case =4 set filter to 发出时间=alltrim() case =5 set filter to 到达时间=alltrim() endcase(2).取消查询click sele 航班信息数据表 set filter to (1) sele temp set talk off do case case =1 set filter to 航班号=alltrim() sum 票价 to x =统计的航班号为:+alltrim()+该航班的总收入为: =x case =2 set filter to 飞行日期=alltrim() sum 票价 to x =统计的日期为:+alltrim()+该天的收入为: =xendcase(2)取消统计clicksele tempset talk offset filter to8系统维护选择窗口(1). path to e:\vf课程设计案例\航班售票管理系统\FORMSdo form (2)set path to e:\vf课程设计案例\航班售票管理系统\FORMSdo form (3)set path to e:\vf课程设计案例\航班售票管理系统\FORMSdo form (1) locate all for alltrim()==alltrim() if not found() messagebox(你不是原合法用户,不能添加新用户,请确认!,错误提示) else =str(reo()) append blank =.t. =.f. =.t. = = =.t. endif(2). locate all for alltrim()==alltrim() if found()=.f. messagebox(你不是原合法用户,不能删除用户!,错误提示) else =str(reo()) delete =.t. =.f. =.t. =.t.endif(3) locate all for alltrim()==alltrim() if found()=.f. messagebox(你不是原合法用户,不能修改用户密码!,错误提示) else =str(reo()) =.t. =.f. =.t. =.t. endif(4) =.t.=.t.=.t.=.f. endif(5) if messagebox(是否确认删除当前记录!,32+4+256,删除记录)=6 pack =.f. endif (6) if messagebox(是否确认修改当前用户!,32+4+256,修改确认)=6 =.f. endif10座位登记初始化(1) sele 密码表 locate all for alltrim()==alltrim() if found() =.f. =.t. messagebox(你已经通过权限认证,请在左边的表格中进行航班座位配置!) else messagebox(对不起,你不是合法用户,无法配置航班座位与等级!) endif11数据清理表单(1)确认密码 sele 密码表 locate all for alltrim()==alltrim() if found() =.f. =.t. =.t. messagebox(你已经通过权限认证,请设置数据删除条件并执行删除操作!) else messagebox(对不起,你不是合法用户,无权进行数据删除操作!) endif(2)执行删除 sele 乘客信息数据表 = dele for amp。 cond pack = else messagebox(记录并未删除,仍可使用!) endif case thisform,=1 cond=(++=+39。 +alltrim()+39。 +)+and+。 (++=+39。 +alltrim()+39。 +) if messagebox(确实要删除符合条件的记录吗,请确认!,32+4+256,信息提示)=6 sele 乘客信息数据表 = dele for amp。 cond pack = else messagebox(记录并未删除,仍可使用!) endif case =2 cond=(++=+39。 +alltrim()+39。 +)+or+。 (++=+39。 +alltrim()+39。 +) if messagebox(确实要删除符合条件的记录吗,请确认!,32+4+256,信息提示)=6 sele 乘客信息数据表 = dele for amp。 cond pack = else messagebox(记录并未删除,仍可使用!) endif endcase endcase参考文献1. :清华大学出版社,2. 史济民,——原理、方法与应用(第二版).北京:高等教育出版社, (2004重印)(第二版).北京:人民邮电出版社,. VisualFoxPro项目信息系统完整项目实例剖析. 北京人民邮电出版社, :清华大学出版社,1999/王文等 软件工程及其应用 天津科学技术出版社 1992/1毕业论文航班售票管理系统院 系 计算机科学与技术学院 专 业 应用与维护 班 级 学 号        学 生 姓 名        联 系 方 式:      指 导 教 师:  职称:  2009年 06月 摘 要 自从计算机问世以来,随着软硬件技术的不断成熟,而且时效性强。 过去,多采用人工管理,效率和透明度较差,并且也容易出错;随着数据库技术的发展和信息化时代的到来,使用计算机和专门的管理软件进行管理已成为大势所趋,它为航班售票工作节约了大量的人力和物力,也大大减轻了工作人员的工作量。 我结合航班售票管理的要求,对Visual Foxpro程序设计进行了较深入的学习和应用,主要完成对航空售票管理系统的需求分析、功能模块划分、数据库模式分析,并由此设计出数据库结构和应用程序。 本文以“航班售票管理系统”的设计和开发为例,系统地阐述了售票管理系统的设计开发的全过程。 包括系统整体设计,逻辑框架与数据流程,各个功能模块划分,系统功能模块的设计与具体实现等部分。 关键词:航空管理系统 Visual Foxpro程序设计 数据关联 查询 系统加密 ABSTRACT Since the puter has been published, with the software and hardware technology is unceasingly mature along, it obtained the widespread application in people’s life day by day. In the past, many aviation corporations sold tickets by manpower, efficiency and diaphaneity was limiting, and was very easy to make a mistake. Along with development of database technology and progress of corporation information’s building, using puter to manage flight booking is necessary. It saves a mass of manpower and material resources and greatly lightens workload of employees. At the request of Booking Flight Management System, I have got deep into the study and application of Visual Foxpro programming and pleted performance appraisals on the Booking Flight Management System requirements analysis, functional modules, database modeling. In base of these, I have pleted the design and the structure of the database and applications. The text which used the design and exploiter of Booking Flight Management System as case expounded the whole process of the system .It includes the whole design of the system, logic frame, data flow, partition o。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。