AdsRestructureTable()

Post Reply
User avatar
reinaldocrespo
Posts: 918
Joined: Thu Nov 17, 2005 5:49 pm
Location: Fort Lauderdale, FL

AdsRestructureTable()

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Reinaldo,

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

Antonio Linares
www.fivetechsoft.com
User avatar
reinaldocrespo
Posts: 918
Joined: Thu Nov 17, 2005 5:49 pm
Location: Fort Lauderdale, FL

Post 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.
User avatar
Patricio Avalos Aguirre
Posts: 1028
Joined: Fri Oct 07, 2005 1:56 pm
Location: La Serena, Chile
Contact:

Post by Patricio Avalos Aguirre »

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
Post Reply