Watch, Follow, &
Connect with Us

Welcome, Guest
Guest Settings
Help

Thread: ADS 11.10 OpenTable can't find file in Tokyo 10.2


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 0 Threads: [ Previous | Next ]
charles leggette

Posts: 17
Registered: 7/17/00
ADS 11.10 OpenTable can't find file in Tokyo 10.2  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 16, 2017 6:52 AM
Not exactly certain this is the correct forum.
Exact same code in C++ Bldr 2010 compiles/builds in Tokyo 10.2 but returns a ADS error 7041. Has anyone had Advantage Database Server issues with Tokyo 10.2?
rc = AdsOpenTable(pAdxDb.m_connection, (unsigned char*) tableName.c_str(), NULL, ADS_ADT, ADS_ANSI, ADS_PROPRIETARY_LOCKING, ADS_DEFAULT,
ADS_SHARED, &hTable);//ADS_CHECKRIGHTS,

if (rc != AE_SUCCESS)
{
if (rc == 7071)
rc = AdsOpenTable(pAdxDb.m_connection, (unsigned char*) tableName.c_str(), NULL, ADS_DEFAULT, ADS_ANSI, ADS_PROPRIETARY_LOCKING, ADS_CHECKRIGHTS, ADS_EXCLUSIVE, &hTable);
//
if (rc != AE_SUCCESS)
{
errMsg.Format("Connection <%s> Table:<%s> could not be opened.", pAdxDb.m_strConnect, tableName.c_str());
die(errMsg);
}
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02