The SQLCA. DBMS="ODBC"
The SQLCA. The AutoCommit=False
The SQLCA. DBParm="ConnectString='DSN=the Inventory Management; UID=; The PWD=& lt; * * * * * * & gt; '
"
Connect using the sqlca;
Has not problem, development to the best, the function is complete, now the customer wants to multiple computers can access database,
I have been in the local area network (LAN) a computer name is Daisy - copy my MDB on the computer in the past, put in D disk, and modify permissions Settings folder sharing, also on the ODBC data source user DSN connection is established,
My neighbor online in your computer can open the computer of the MDB, prove that the network is no problem, what should I do next? How to modify the above program
CodePudding user response:
Suggested that the MDB into SQL database,CodePudding user response:
In the DSN indicate the position of the database file, the file you want to share up, of courseCodePudding user response:
Excuse me the second floor, indicate the DSN program where position? Isn't every computer to have a DSN fileCodePudding user response:
Why use access database? In ASA database is also okCodePudding user response:
Access without concurrent processing control, file type desktop database if this direct access to cause problems, suggest using asaCodePudding user response:
Still use to accessCodePudding user response:
Suggest the building directly into the SQL,, according to the requirement of the clients are estimated ACCESS is more and more not adapt to, if the current use ACCESS Shared ACCESS, later will always have a lot of problems, it is better to use SQL earlierCodePudding user response:
Yes, use SQL, large use oracleHa ha
CodePudding user response:
Dbparm="ConnectString='Driver={Microsoft Access Driver (*. MDB, *. Accdb)}; DBQ=\ \ \ files. The computer name accdb ', CommitOnDisconnect='No', ConnectOption='SQL_DRIVER_CONNECT, SQL_DRIVER_NOPROMPT', TrimSpaces='Yes'"Try this one
CodePudding user response:
Or without the DSNCodePudding user response:
First you need to have a Shared pathCodePudding user response:
I checked the access can be handled within 10 concurrency control, the user just do into the delivery record, so I just choose the access to do itCodePudding user response: