Mega Code Archive

 
Categories / Delphi / Examples
 

I-o error during openfile of_readwrite

Question: Why am I getting the error 'I/O Error during "OpenFile OF_READWRITE" operation for file XXX' when attempting to open/connect to a database? Answer This error is caused by an invalid file name. Either the file or the directory do not exist, or the user has insuficient rights to the database.