Delphi write database programs (2)

xiaoxiao2021-03-06  40

After the writing program is finished, it should be said that the Long March has finished over three. Because of a clear procedure process, there is a basic probable programming resource, the difficulty that may encounter has found the solution, which can be described as "all the best, only the Dongfeng"! Since the prior preparation is fully prepared, even if there may be some difficulties in the preparation of the program, after all, it will not become a "blocking road" situation. What we need to do is to take a large piece of time, calm down and follow Solutions and processes are written. Here, you will first create a blank database first before writing the program, and of course, a database can also be established when the design is designed, or the blank database can be created before the first five steps are completed. Several points of writing database programs Suggestions due to larger interaction between database programs and users, the user needs to be entered, so you must fully consider the error handling of the program, you must fully consider the input error of the user, in the program Try to give a prompt in a timely manner. Check the input data while saving, preventing some of the illegal data from being saved to the database, resulting in future statistics, and queries have errors. The program has to write stability, and it is very difficult to fault tolerance. From experience, a large part of the energy is used to prevent errors, so that the program can stably run. After completing the code of a functional module, you should immediately debug immediately. After debugging, write another function code, which prevents code from writing and then debugging is because the mutual influence is not cleared. Which piece of code problem appear. The key to the code should add some comments to prevent yourself after you don't understand how it is written. Do your program code a good backup and do a good job in "disaster recovery". (Full text)

转载请注明原文地址:https://www.9cbs.com/read-71818.html

New Post(0)