Home > database > PB application system using the ACCESS database error prompt
PB application system using the ACCESS database error prompt
Time:09-21
PB application system using the ACCESS database db. The MDB, the boot automatic login, the login automatically boot startup tip: could not find file 'C: \ Windows \ System32 \ db MDB', if manual open no problem, how to deal with?
CodePudding user response:
In the program to evaluate a 'C: \ Windows \ System32 \ db MDB' existence, there is no delay, until there.
CodePudding user response:
Modify the program, the connection transaction the MDB file name in the changing with absolute path name,
CodePudding user response:
Actually I have absolute path Settings of the following statements (gs_curdir), but I still suggest the above error,
The sqlca. DBMS="ODBC" The sqlca. The AutoCommit=false The sqlca. Dbparm="connectstring='driver=Microsoft access driver (*. MDB); DBQ="+ gs_curdir +" \ db MDB ' " Connect using the sqlca; If the sqlca. Sqlcode=1 then Messagebox (' message 'and' cannot connect to the system parameter table! ') The halt close; end if
CodePudding user response:
Should be gs_curdir out of the question, Can be written before the connect messagebox (' gs_curdir 'gs_curdir) See the path to where the,
Another: ODBC connection MDB database, you can use to configure ODBC data sources, and do not use direct connection file,
CodePudding user response:
Messagebox (' gs_curdir 'gs_curdir) before the content of the tip gs_curdir not wrong, actually in the WINDOWS login after normal manual open procedure is not wrong, because the program USES the "boot to run automatically when login" - when there is error in the boot automatically run, program run normally and no error, so you mean there is no,