Thank you.
Could you please post some code how to open a ADT file with FW.
Is there much to change necessary to convert from dbf to ADT?
Regards,
Otto
Database question
-
- Posts: 1033
- Joined: Fri Oct 07, 2005 3:33 pm
- Location: Cochabamba - Bolivia
Hi,
ADSConnect60 is used only if you are usigng dictionary, then all work in the same way, you don't need to change nothing
regards
Marcelo
Code: Select all
REQUEST ADS
rddRegister( "ADS", 1 )
rddsetdefault( "ADS" )
Set SERVER <LOCAL|REMOTE>
Set FILETYPE TO ADT //CDX or NTX
adsConnect60( "<DICTIONARY.ADD>", <SERVER TYPE>, "<USER>", "<PASSWD>" )
adsRightsCheck( .F. )
regards
Marcelo
- reinaldocrespo
- Posts: 918
- Joined: Thu Nov 17, 2005 5:49 pm
- Location: Fort Lauderdale, FL
Otto;
Transactions works in ADS with DBFs just perfectly. Without ADS you'd have to implement the logic your self. For example:
Hope this helps.
Reinaldo.
Transactions works in ADS with DBFs just perfectly. Without ADS you'd have to implement the logic your self. For example:
Code: Select all
Try
while ok
copy record to tempfile
delete record
skip
endwhile
catch
restore records to original file from tempfile
end
Reinaldo.