FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour AdsRestructureTable()
Posts: 990
Joined: Thu Nov 17, 2005 05:49 PM
AdsRestructureTable()
Posted: Wed Mar 08, 2006 12:51 AM

Hi,

I'm having problems trying to get this ADS API call to work. Getting ADS Error 5132 every time I try with a DBF-NTX table. Have tried to send the table parameter with and without path, extension, using table types ADS_DEFAULT and ADS_NTX. The table exists on the DD. I'm using version 8.0.0.1 of ACE32.

Is anybody using AdsRestructureTable with the new release of xharbour ( 0.99.6) with success on dbf/ntx tables?

Thank you,

Reinado Crespo

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
AdsRestructureTable()
Posted: Fri Mar 10, 2006 07:25 AM

Reinaldo,

You may ask Brian Hays, he is a good ADS guru :)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 990
Joined: Thu Nov 17, 2005 05:49 PM
AdsRestructureTable()
Posted: Fri Mar 10, 2006 12:07 PM

Antonio;

Thank you for posting a reply.

I did talk to Brian. We discovered a problem with the wrapper function to the AdsRestructureTable api call and the way ACE32 expects it. He sent me a fix. After testing the changes, the fix was later commited to the CVS. He also added a wrapper to AdsDDSetTableProperty() that I was needing.

I'm having many other problems when using the DD with DBFNTX tables. We are trying to debug them all.

I thought more people would be using the Data Dictionary with ADS. Not using it is missing on the most important features ADS has to offer --layers of security--. How else can you avoid risking your DBF/NTX/CDX tables from being erased by a user?

Best,

Reinaldo Crespo-Bazán.

Posts: 1074
Joined: Fri Oct 07, 2005 01:56 PM
AdsRestructureTable()
Posted: Thu Oct 18, 2007 09:35 PM

Hello

You would be able to place an example of like using AdsRestructureTable

Saludos
Patricio

__________________________________________________________________
Version: Harbour 3.2.0dev (r1307082134),Compiler: Borland C++ 5.8.2 (32-bit)
PCode version: 0.3, FWH 13.2
http://www.sialm.cl

Continue the discussion