Home > database > Original concept project development problems, hope good intention person to help
Original concept project development problems, hope good intention person to help
Time:09-21
I recently doing a database project, using pb12.5, have not used before is now drawing to a close, encountered a few problems, or confused 1. My database with the one that was ASA, when I was in the development in teaching and research section, have wanted to do, back to the dormitory to continue to copy the results back program cannot connect to the database, checked the baidu, saying is to add a data source, resulting in several times didn't succeed, please help to give directions 2. Yesterday I compile program to generate the executable file, copy other computers are not running, I was using a full compilation, found or suggest lack of DLL, the lack of copy, still unable to connect to the database (3) this project before I have a very similar, I didn't do it, is made of Delphi, I run directly to open, before is not to add and configure ODBC data sources, a bit confused now wants done PB, brothers and sisters to help project is quick acceptance, be obliged!
CodePudding user response:
Only to configure the ODBC data source
CodePudding user response:
Add 1 ODBC data source, add if you don't succeed, may be system problem, try using computer, If the computer to run the program without PB environment, needs the PB run some basic DLL copied to the directory, Such as version 9.0: pbodb90. DLL, pblib90. DLL files, such as 12.5 there should be a corresponding DLL file
CodePudding user response:
ODBC data source, at the time of new ASA database, it is best to specify the DB file path for the current path: ". \ "and so, again released, as long as the DB files under the application installation directory, will be able to start the database, otherwise, installing path must follow a development path set,
I use the experience of so,
CodePudding user response:
ASA database that contains two files, one is the db database file, the other is a log file, you will develop in all copied to another machine, may also will copy these two files also came over, but, as far as I know, recorded in the log file or the things that you machine, so, when you connect to the database, will go wrong (this is my past with pb8 had problems, later if use sybase centre to force changes to use), then I have to use the db files, and lay down the log file, this is many years ago, for reference only.