Page 1 of 1

AdsRestructureTable()

Posted: Wed Mar 08, 2006 12:51 am
by reinaldocrespo
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

Posted: Fri Mar 10, 2006 7:25 am
by Antonio Linares
Reinaldo,

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

Posted: Fri Mar 10, 2006 12:07 pm
by reinaldocrespo
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.

Posted: Thu Oct 18, 2007 9:35 pm
by Patricio Avalos Aguirre
Hello

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