Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

B_ACCESS_TO_FILE_DENIED 46

Status
Not open for further replies.

senorbuckwheat

Programmer
Jul 12, 2002
17
US
I open a Btrieve file and get a unique record using GetEqual(). All give me B_NO_ERROR status codes and returns a record in the buffer. Immediately afterwards, I do a Delete() and I get a "B_ACCESS_TO_FILE_DENIED".

Any suggestions?

Thanks.
 
THe file either has an owner name that allows reads without the owner name or the file is flagged read only or the file is being opened in read only mode. Check those things. That should fix the problem
mirtheil@mirtheil.com
Custom VB and Btrieve development.
Certified Pervasive Developer
Certified Pervasive Technician
 
Could be the service pack of Btrieve. There a particularly nasty problem with service pack 1 of pervasive 7 to do with access rights.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top