首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于VB的数据库访问技术
引用本文:单振清,宋雪臣.基于VB的数据库访问技术[J].山东科技大学学报(自然科学版),2006,25(4):74-75,79.
作者姓名:单振清  宋雪臣
作者单位:1. 山东水利职业学院,信息工程系,山东,日照,276826
2. 山东水利职业学院,机电工程系,山东,日照,276826
摘    要:总结了Visual Basic应用程序与桌面数据库Access的四种连接方法;针对数据库文件改变珞径后,程序出错的问题,详细阐述了设置Visual Basic应用程序与Access数据库连接的动态路径的方法,解决了连接中的静态问题,能够在数据库路径改变的情况下正确地找到数据库文件,从而保证了程序的正确性。

关 键 词:Access数据库  连接  动态路径
文章编号:1672-3767(2006)04-0074-02
收稿时间:2006-03-27
修稿时间:2006-03-27

The VB-based Accession Technique of Database
SHAN Zhen-qing,SONG Xue-chen.The VB-based Accession Technique of Database[J].Journal of Shandong Univ of Sci and Technol: Nat Sci,2006,25(4):74-75,79.
Authors:SHAN Zhen-qing  SONG Xue-chen
Institution:1. Dept. of Info Eng., Shangdong Vocational Institute of Water Consenvancy, Rizhaoo, Shandong 276826, China; 2. Dept. of Mechanical and Electrical Eng., Shandong Vocational Institute of Water Conservancy, Rizhao, Shandong 276826, China
Abstract:This paper summarizes the four kinds of connection methods between Visual Basic application program and Access database of desktop. At the same time, in view of the problem of the program error occurrence with the changed path of database file, it expounds in detail the dynamic path method for establishing the connection between Visual Basic application program and Access database, resolves the static problem in the connection, and it can find out correctly the database files under the condition of the database path .changed, then, it guaranteed the validity of the program.
Keywords:Visual Basic
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号