messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2011-03-02", "forum": "FiveWin for Harbour/xHarbour", "text": "My best wishes for a fast recovery to your Mum.\n\nEMG", "time": "15:25", "topic": "ADS or similar products", "username": "Enrico Maria Giordano" } ]
ADS or similar products
[ { "date": "2011-03-03", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Enrico Maria Giordano\":2onmejc2]My best wishes for a fast recovery to your Mum.\n\nEMG[/quote:2onmejc2]\n\nMe too", "time": "08:09", "topic": "ADS or similar products", "username": "Massimo Linossi" } ]
ADS or similar products
[ { "date": "2011-03-03", "forum": "FiveWin for Harbour/xHarbour", "text": ">Marco: \n>Nobody speak about Apollo and I don't know why. \n\n>Ruben Fernandez\n\nDo you think is the right product for a Fivewin/xHarbour programmer?\nWhere can I find some pieces of code to better understand the problem?", "time": "10:56", "topic": "ADS or similar products", "username": "MarcoBoschi" } ]
ADS or similar products
[ { "date": "2011-03-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Enrico, Massimo\n\nThanks for your kind thoughts. Mum is now home and so far coping quite well. Will post code tomorrow time permitting. It probably needs some explanation with it. Like so many projects it grew out of a simple \"proof of concept\" but as the project has dvelkoped the simple beginning is probably hard to see.\n\nRegards\nDoug", "time": "11:27", "topic": "ADS or similar products", "username": "xProgrammer" } ]
ADS or similar products
[ { "date": "2011-03-03", "forum": "FiveWin for Harbour/xHarbour", "text": "I think Apollo should be a good option as it currently sells for $ 149.00, one-stop shopping for multiple implementations. ADS is much more expensive and only for a specific client.\ncurrently only has an RDD xHarbour developed, but I think only for the local version and not client / server, harbour began to develop the RDD but does not go far\n\n**sorry traslate with google**\n\nsalu2\ncarlos vargas", "time": "16:46", "topic": "ADS or similar products", "username": "carlos vargas" } ]
ADS or similar products
[ { "date": "2011-03-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Marco:\nI don't know if it's the right choice, but it's cheaper than other and I think it's esasy.\nThere's no code and. I dont't know If FWH could go well together.\nVery Sorry for my bad English.\n\nBest regards\nRuben Fernandez", "time": "17:49", "topic": "ADS or similar products", "username": "Ruben Fernandez" } ]
ADS or similar products
[ { "date": "2011-03-03", "forum": "FiveWin for Harbour/xHarbour", "text": "HI, i have use ads server and local for several years (10 ou more), this is no cheap, (have an free version to 2 users), but is very good and worth every penny paid. i have more than 40000 clients in an file, with another file with memo giant, and an current acount with more than 1 millions records. never have problem. this is my opinion. i plan change to my sql in future, because ads is now from sap, and the prices maybe change.\n\nnorbert", "time": "20:10", "topic": "ADS or similar products", "username": "norberto" } ]
ADS or similar products
[ { "date": "2011-03-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Norberto,\n to give a practical example\n\nheadquarters: windows server + 20 clients\n\nevery branch of the company: vpn to headquarters + from 1 to 10 clients\n\nFivewin/xHarbour software\n\nAre you able to calculate to costs of necessary licenses?\nThanks again\nmarco", "time": "09:56", "topic": "ADS or similar products", "username": "MarcoBoschi" } ]
ADS or similar products
[ { "date": "2011-03-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Marco, no , i m not a resealer, try <!-- m --><a class=\"postlink\" href=\"http://www.sybase.com\">http://www.sybase.com</a><!-- m --> ou in brazil, <!-- m --><a class=\"postlink\" href=\"http://www.renet.com.br\">http://www.renet.com.br</a><!-- m -->. another thing: i try connect 3 offices with vpn in past, without sucess, very slow, now i using windows terminal server (RDP), the speed is much better than vpn.\n\nbest regards.\n\nnorberto", "time": "15:52", "topic": "ADS or similar products", "username": "norberto" } ]
ADS or similar products
[ { "date": "2011-03-06", "forum": "FiveWin for Harbour/xHarbour", "text": "norberto, \n I expect a very good performance using ADS also through a VPN connection.\nDoes ADS transform a classic application into a client/server application?\nBye", "time": "17:45", "topic": "ADS or similar products", "username": "MarcoBoschi" } ]
ADS or similar products
[ { "date": "2011-03-06", "forum": "FiveWin for Harbour/xHarbour", "text": "Yes, all process is made in server side... but i dont have good results with browse (twbrowse) using very large database ( + 1 million registers) with vpn. without vpn, in lan, using ADS is very good, no more corruption, slow response, lack of security, transactions, ads solve this. but in vpn, (maybe i miss something) dont work for me, so i use RDP in internet. ads have an internet server, i dont try this, maybe solve this problem (browse).", "time": "17:57", "topic": "ADS or similar products", "username": "norberto" } ]
ADS or similar products
[ { "date": "2011-03-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Norberto,\n many years ago when I used Clipper, ntx index files, ms-dos and Netware server and coaxial cables based lan.\nI had many problems like corruption detected of ntx and dbf too.\nI informed about ADS.\nIf I remember correctly browsing, reading of record contens are not client/server.\nOnly writing of database is client/server.\nProbably, for this reasons, the performances are not so good.\n\nmarco", "time": "08:23", "topic": "ADS or similar products", "username": "MarcoBoschi" } ]
ADS or similar products
[ { "date": "2011-03-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Marco,\nI generally use Remote Desktop to connect different offices because it runs better then vpn with an instable connection (eg. UMTS-HSUPA),\nanyway you have a consistent connection so you could make a vpn via amachi (it has a really high data compression) and make some tests with the standard dbf or (better) Sqlite3.", "time": "11:37", "topic": "ADS or similar products", "username": "Marco Turco" } ]
ADS or similar products
[ { "date": "2007-11-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Fivewineros:\n\nHay una versión de ADS para 2 usuarios que es \ncomprando un libro en la pagina de ADS.\n\nAlguien la ha testeado.\n\nMuchas gracias.\n\nSaludos\n\nRuben Fernanddez.", "time": "18:19", "topic": "ADS para 2 usuarios ?", "username": "Ruben D. Fernandez" } ]
ADS para 2 usuarios ?
[ { "date": "2007-11-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Ruben\nyo he comprado el libro y he testeado esa version funciona bien\nlamentablemente el libro trata de varios lenguajes de programacion menos de (x)Harbour\n\nsaludos", "time": "03:16", "topic": "ADS para 2 usuarios ?", "username": "wilsongamboa" } ]
ADS para 2 usuarios ?
[ { "date": "2007-11-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Wilson:\n\nMuchas gracias... que version de ADS te envian.\n\nMuchas gracias de nuevo.\n\nSaludos\n\nRuben Fernandez", "time": "17:41", "topic": "ADS para 2 usuarios ?", "username": "Ruben D. Fernandez" } ]
ADS para 2 usuarios ?
[ { "date": "2007-11-06", "forum": "FiveWin para Harbour/xHarbour", "text": "del ultimo libro de Cary Gensen es la 8.1\ncomo te dije funciona ok y se instala sin problemas\n\nsaludos\n\natt", "time": "18:34", "topic": "ADS para 2 usuarios ?", "username": "wilsongamboa" } ]
ADS para 2 usuarios ?
[ { "date": "2007-11-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias, gracias.\n\nSaludos.\n\nRuben Fernandez", "time": "19:28", "topic": "ADS para 2 usuarios ?", "username": "Ruben D. Fernandez" } ]
ADS para 2 usuarios ?
[ { "date": "2007-10-22", "forum": "FiveWin for Harbour/xHarbour", "text": "I am trying ADS (evaluation version for 2 users). I am using 3 PCs connected throug a 100 Mb LAN. One of them holds the data; the other two read from these data.\n\nMy test consists of applying a SET FILTER for \"TALLER\"$CLIENTE on a 7000 register table, and show the results on a TxBrowse(). Here are the results:\n\n\n[quote:1rfgdt3h]\nWithout ADS:\nOne user. Access time: 3 secs (very good)\nTwo users - 40 SECS!!!\n\nWith ADS:\nOne user: 14 secs.\nTwo users: 14 secs.\n[/quote:1rfgdt3h]\nCertainly, ADS improves the response time whith two simultaneous users but even so, I feel that it is still quite slow, specially considering that the table is not very big (7000 recs, 4.5 Mb). ¿Anybody has experience with ADS and can comment on these results? ¿Is it possible to achieve better times and how? ¿Perhaps the commercial version offers better performance?\n\nThanks,\nRafael", "time": "18:19", "topic": "ADS performance", "username": "Rafael Clemente" } ]
ADS performance
[ { "date": "2007-10-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Rafael;\n\nAre you using a Data Dictionary? If you are not, then seriously consider creating a data dictionary. It enhances functionality and many times speed to data access. \n\nTo begin debugging try to execute the same from ARC32 using an SQL statement:\n\nSELECT * FROM [dbftablename] WHERE contains( fieldname, \"taller\" )\n\nARC32 shows the time of execution on the status line. A similar request on my test Linux server yields 0.375 secs on a dbf populated with 734,000 records. It also depends on how many records are returned.\n\nAdvantage supports a better type of filter named AOF(). These are optimized indexes that perform much faster.\n\nDon't give up on learning how to use ADS. Advantage has opened much larger markets for my product. I can now install my system on LANS with more than 250 users. I'm able to have multiple satellite stores with 50 or so workstations and all satellite servers connect to a single central server via an internet connection. The central server contains all the data from all the satellite servers. --A user can not delete (not even on purpose) a dbf table nor can it be taken on an USB flash stick. Data is secure. --I have never done a reindex. On one of my customers a single table is 95 GB. --Triggers, --fast text search, --Referential Integrity, --Replication, --SQL and ISAM access to data, -- .NET integration.\n\nFinally, using ADS I'm now writing PHP code that runs on a browser that accesses dbf/cdx data on a Linux server running ADS and Apache. It flies. You could use PHP as I am, or Java, or Pearl, or ASP .net to write your web pages and still use xharbour for your win32 apps sharing the very same data (dbf/cdx or dbf/ntx or adt/adi). \n\nThe biggest problem we face is that Advantage does not know that we exist. They support Delphi, C#, VB, .Net, Visual Studio, even Clipper, but harbour is not in their minds. Notice how there is not even an xharbour forum in their ng. We need collaboration from the harbour/xharbour people, including Antonio, to work with Sybase ADS and get better tools for xharbour to have access to ADS, specially having all the API functions added to the ads.lib. Currently less than one half are included.\n\n\nReinaldo.", "time": "00:30", "topic": "ADS performance", "username": "reinaldocrespo" } ]
ADS performance
[ { "date": "2007-10-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Reinaldo:\n\nThank you for your comments which really sound encouraging. The truth is that I am just beggining with ADS in an attemp to solve a problem of slow response in an application already installed in an customer's office. \n\nIn these tests, I just installed ADS and followed the basic procedures to test my old program (such a modifying the filters syntax). No data dictionary, so no SQL.\n\nHowever, the response is still slow. Therefore, I am investigating other causes. Maybe there is a fault in the logic of my program. I still don't know and the application is far to big to post it here for discussion. \n\nThe only thing that seems clear is that the program performs very well when there is only one user accessing the main table. Two simultaneous users make the system very slow. Three just collapse it making it almost impossible to use. I am always talking about performing simple filters such as \"TALLER PEREZ\" $ CLIENTE on a 7000 records table...\n\nAgain, thank you for your comment. It seems clear that ADS performs very well, so I'll have to look somewhere in my program to find the cause of the slow response.\n\nThank you very much\n\nRafael", "time": "09:19", "topic": "ADS performance", "username": "Rafael Clemente" } ]
ADS performance
[ { "date": "2007-10-28", "forum": "FiveWin for Harbour/xHarbour", "text": "I am really surpised how could you make an ADS progrm so slow to run. My experience with huge tables of several hundred thousand rows and more than hundred users work quite fast even on slower wide area network connections.\n\nFilters like \"TALLER PEREZ\" $ CLIENTE are inherently the most inefficient. Even such filters give good performance even on huge tables. By the way itis better to use CONTAINS( CLINEENTE, 'TALLER PEREZ') instead. If we have an FTS index on CLEINTE column the results are instantaneous", "time": "09:54", "topic": "ADS performance", "username": "nageswaragunupudi" } ]
ADS performance
[ { "date": "2007-10-28", "forum": "FiveWin for Harbour/xHarbour", "text": "NageswaraRao,\n\nI am not blaming ADS; on the contrary, I am convinced that it is a great tool. I am just stating the problem I am experiencing:\n\nLAN with three users\nTable of 7000 records\nADS with no Data Dictionary. Just the basic configuration.\nBrowser: TxBrowse()\noBrw:bChanged := {|| ::LoadDetail()} // This Method just loads and shows the fields such as Name, Address, etc... every time the Browse selects another record\nFilter : \"TALLER PEREZ\"$CLIENTE. About 10 records fulfill than condition.\nWith just one user, it responds very fast. Two or more users degrade the response time up to the point of making it almost unusable.\n\nBy the way: I have tested the same program with and without ADS. With ADS it shows a better response time, but still much slower that what Reinaldo and yourself and many other ADS users are getting.\n\nTherefore, I must conclude that something else is wrong either with my program or the LAN configuraction (although, remember that with just one single user it goes lightning fast). Maybe the bChange block? \n\nThanks for your coments. Best regards\n\nRafael", "time": "11:12", "topic": "ADS performance", "username": "Rafael Clemente" } ]
ADS performance
[ { "date": "2007-10-28", "forum": "FiveWin for Harbour/xHarbour", "text": "1) Are you using Server version or Local ADS server on lan ? \n2) To simplify the tests, please temporarliy remove the bchanged block. ( Note: TXBrowse calls bchanged block even when a column is changed.)", "time": "11:52", "topic": "ADS performance", "username": "nageswaragunupudi" } ]
ADS performance
[ { "date": "2007-10-28", "forum": "FiveWin for Harbour/xHarbour", "text": "NageswaraRao, \n[quote:huuz9oew]1) Are you using Server version or Local ADS server on lan ? \n[/quote:huuz9oew]\nYes. I installed ADS in the PC that holds the data. Every other PC has one copy of my program installed in its own directory, includinf the three ADS DLLs.\n[quote:huuz9oew]2) To simplify the tests, please temporarliy remove the bchanged block. ( Note: TXBrowse calls bchanged block even when a column is changed.)\n[/quote:huuz9oew]\nI removed the bChanged. Still, no noticeable improvement. However, I noticed something:\nI placed a seconds counter like this:\n[code:huuz9oew]\n&#46;&#46;&#46;&#46;&#46;\nnSecons0 &#58;= Seconds&#40;&#41;\nSet Filter&#46;&#46;&#46;\n? Seconds&#40;&#41;-nSeconds\nBrowse&#40;&#41;\n&#46;&#46;&#46;&#46;\n[/code:huuz9oew]\nThe filter itself is now very fast. The problem seems to be in loading the Browse which takes forever. Also, there is heavy LAN traffic while loading the browse() even when only one record fill the filter condition. In fact, every record in the main table is related to four other tables and it seems as if all the relations are being processed, regardless the filter is satisfied or not... Obviously there is something wrong with my code. I'll have to look at it in depth.\n\nThe bottom line is: The filter in itself works well. Now, let's see what am I doing wrong...\n\nThank you for your suggestions and help\n\nRafael", "time": "13:46", "topic": "ADS performance", "username": "Rafael Clemente" } ]
ADS performance
[ { "date": "2007-10-28", "forum": "FiveWin for Harbour/xHarbour", "text": "To further simplify, please remove browse also.\n\nrun this small simple code\n\nopen the table\nset filter\ngo top\nskip each row and print a value\nclose table\n\nmeasure seconds lapsed at each step\n\npl let me know if you are on any instant messenger", "time": "13:53", "topic": "ADS performance", "username": "nageswaragunupudi" } ]
ADS performance
[ { "date": "2007-10-28", "forum": "FiveWin for Harbour/xHarbour", "text": "NageswaraRao,\nDone the test:\n[code:21agwgqb]\nnSeconds &#58;= Seconds&#40;&#41;\nDo While !Eof&#40;&#41;\n dbSkip&#40;1&#41;\nEnddo\n? Seconds&#40;&#41;-nSeconds0\n[/code:21agwgqb]\n\nResults: From the main PC (the one with the data): 0.02 secs\nFrom the remote PC: 7.83 seconds\n\nIf we were working in the old MS-DOS, I woud say that I had I problem with SET BUFFERS=. But, of course, in Windows XP there is no such command. I wonder why the LAN is runing so slow\n\nRafael", "time": "15:17", "topic": "ADS performance", "username": "Rafael Clemente" } ]
ADS performance
[ { "date": "2007-10-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Could the problem be the antivirus software?\nRegards,\nOtto", "time": "15:57", "topic": "ADS performance", "username": "Otto" } ]
ADS performance
[ { "date": "2007-10-28", "forum": "FiveWin for Harbour/xHarbour", "text": "ADS 8.1 (server version) when executed on the server where ads server and data is installed is made to work faster than accessing from network. So the difference always exists.\n\nNow about your benchmark: On local area network I got a speed of 1.4 secs for skipping 7000 records in a 500,000 records table. Ofcourse this is very highspeed lan. \n\ncan you send me your simple source code to my personal email?", "time": "16:52", "topic": "ADS performance", "username": "nageswaragunupudi" } ]
ADS performance
[ { "date": "2007-10-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Otto:\n[quote:3kyty7kl]Could the problem be the antivirus software? \n[/quote:3kyty7kl]I doubt it for the problem appears both in my development LAN and in the customer LAN (which, by the way, has a dedicated server)\n\nNageswaraRao:[quote:3kyty7kl]can you send me your simple source code to my personal email?[/quote:3kyty7kl]\nIt is difficult to send you the whole app. However, I will try to prepare an small sample and send it to you ASAP.\n\nThanks to you both\nRafael", "time": "18:19", "topic": "ADS performance", "username": "Rafael Clemente" } ]
ADS performance
[ { "date": "2008-03-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear All,\n\nI've used Clip52e/FW/Comix,Clipmore. \nNow I move to xHB.Com/ FWH /ADS.\nWhich do I include .CH file to my .prg?\n\nADS.CH \nDBFCDXAX.CH\netc...\n\nThanks&Regards,\nDutch", "time": "03:03", "topic": "ADS question?", "username": "dutch" } ]
ADS question?
[ { "date": "2008-03-26", "forum": "FiveWin for Harbour/xHarbour", "text": "I work with Borland version of xHarbour.org. Only ads.ch is enough. dbfcdxax.ch is for Clipper 16bit", "time": "04:44", "topic": "ADS question?", "username": "nageswaragunupudi" } ]
ADS question?
[ { "date": "2008-03-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Mr. NageswaraRao, G. \n\nGreeting from Indonesia\n\nCan I get samples how to use ADS ?\n\nRegards\nFafi", "time": "06:12", "topic": "ADS question?", "username": "fafi" } ]
ADS question?
[ { "date": "2008-03-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Simple sample\n\n[code:2iz2xlw3]\n#include \"fivewin&#46;ch\"\n#include \"ads&#46;ch\"\n\nfunction Main&#40;&#41;\n\n RddRegister&#40; \"ADS\", 1 &#41;\n AdsSetServerType&#40; ADS_LOCAL_SERVER &#41; // 1\n USE CUSTOMER NEW SHARED VIA \"ADSCDX\" // or \"ADSNTX\" or \"ADT\"\n BROWSE&#40;&#41;\n\nreturn nil\n[/code:2iz2xlw3]", "time": "06:19", "topic": "ADS question?", "username": "nageswaragunupudi" } ]
ADS question?
[ { "date": "2008-03-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Thank's for quick reply\n\nRegards\nFafi", "time": "06:25", "topic": "ADS question?", "username": "fafi" } ]
ADS question?
[ { "date": "2008-03-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear nageswaragunupudi,\n\n[quote=\"nageswaragunupudi\":3ga690i2]I work with Borland version of xHarbour.org. Only ads.ch is enough. dbfcdxax.ch is for Clipper 16bit[/quote:3ga690i2]\n\nHow can I use Filter for ADS? May I have samples?\n\nRegards,\nDutch", "time": "09:11", "topic": "ADS question?", "username": "dutch" } ]
ADS question?
[ { "date": "2008-03-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr Duch\n\nUse the filters in the normal way.\nSET FILTER TO .............. \nor \nDbSetFilter( .... )\n\nThe rddads.lib converts these function into ADS native filter functions. \n\nBut please keep these points in mind.\n\nPlease do not use UDFs. We should use expressions that the Server should understand. That is no alias names. If we have indexes on the fieldnames used in the filter expression, ADS Server creates bitmap filter very fast. ( like comix, six, etc ). If not the ADS server can not fully optimise the filter. In such cases, the unopimised portion is to be resolved at the client level. This normally delays execution.\n\nOnce you get used to the ADS functionality and like to use the direct ADS functions, then the rddads.lib supports such direct calls also. For Ads documentation, I suggest you download ARC ( Advantage Data Architect ) from ADS website. This is free. Its help file gives all documentation of ACE32.DLL . RddAds.lib in turn calls these functions in ace32.dll.\n\nBut to start with use well known functions like dbsetfilter or the usual commands.", "time": "09:23", "topic": "ADS question?", "username": "nageswaragunupudi" } ]
ADS question?
[ { "date": "2008-03-26", "forum": "FiveWin for Harbour/xHarbour", "text": "How different between DbSetFilter() and AdsSetAof()?\nWhich one does faster?\nHow can I know how many record are match with filter()\n\nRegards,\nDutch", "time": "17:59", "topic": "ADS question?", "username": "dutch" } ]
ADS question?
[ { "date": "2008-03-26", "forum": "FiveWin for Harbour/xHarbour", "text": "When you call DbSetFilter, rddads.lib in turn calls AdsSetAof. DbSetFilter sets the filter both at rdd level and also at ads server level with AdsSetAof, so that the filter works even when the expression is not valid for AdsFilter. \n\nTo start with it is better to use DbSetFilter.\n\nAdsKeyCount() gives the number of filterd records, after the filter is set.", "time": "23:53", "topic": "ADS question?", "username": "nageswaragunupudi" } ]
ADS question?
[ { "date": "2008-03-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear nageswaragunupudi,\n\nWhere can I find the ADS function document for using with xHB&FWH?\n\n[quote=\"nageswaragunupudi\":3gys8go2]\nAdsKeyCount() gives the number of filterd records, after the filter is set.[/quote:3gys8go2]\n\nRegards,\nDutch", "time": "19:10", "topic": "ADS question?", "username": "dutch" } ]
ADS question?
[ { "date": "2007-04-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Friends,\n\nwith the kind help of RF i built my first app which uses the ADS rdd.\nThis was rather easy. And it works fine with the local ADS server.\n\nNow i would like to know how to acces a remote server.\nIf i set [b:1awgy3hb]AdsSetServerType(2)[/b:1awgy3hb], where do i have to give an IP address to my app?\n\nThanks for each help in advance.\nRegards,\nDetlef", "time": "08:01", "topic": "ADS remote access", "username": "Detlef Hoefner" } ]
ADS remote access
[ { "date": "2007-04-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear friends,\n\ni'm a little bit further <!-- s:wink: --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\":wink:\" title=\"Wink\" /><!-- s:wink: --> \n\nI set up an ADS server which operates 200 km from here and built a data dictionary on it with 3 dbf files.\n\nWhen i open a VPN connection i can call my local data architect ( arc32.exe ) to open a dbf file from the remote server.\nMy xHarbour app works with the local ADS but can not connect to the remote server. I don't know how to open a dictionary.\n\nThe only way to see the remote data is to use the arc32.exe.\nBut browsing a dbf with the arc32 is very slow. The dbf file has only 13000 records. \n\nCan a xHarbour app be faster than the sluggish speed of the arc32.exe?\n\nI'm rather interested to learn from your experiences.\n\nBet regards,\nDetlef", "time": "16:35", "topic": "ADS remote access", "username": "Detlef Hoefner" } ]
ADS remote access
[ { "date": "2007-04-20", "forum": "FiveWin for Harbour/xHarbour", "text": "My best advice:\n\nFor remote access you should use AIS (Advantage Internet Server), works great.\n\nDownload samples:\n\n<!-- m --><a class=\"postlink\" href=\"http://www.google.d2g.com/ads/demos/\">http://www.google.d2g.com/ads/demos/</a><!-- m -->\n\nLocal servers is toooo slow for remote connection, try AIS instead.\n\nThere are some things you have to setup before attempt to connect to a remote server via AIS.\n\n1) You will need to create a dictionary, and set the flag of \"internet\" access.\n2) You will need to create a user, and set permissions for internet access.\n\nNow from source code:\n\nADSConnect60(<diccionary>,<servertype>,<user>,<password>)\n\nThis function returns .T. if you could succesfully connect to a dictionary\n\nSample:\n\nAdsConnect60(\"\\\\googleserver\\adsdemos\\demo.add\",4,\"admin\",\"admin\")\n\nIn order to \"resolve\" the server route, you will need a INI file, called ADS.INI\n\nADS.INI has section with the server name:\n\n[googleserver]\n\nWhere you have to setup the ips and ports used to connect:\n\n[googleserver]\nLAN_IP = 192.168.2.1\nLAN_PORT = 2000\nINTERNET_IP = google.d2g.com\nINTERNET_PORT = 2001\n\nWhen you try to connect to an ADS server, AXWCS32.DLL will look for the ADS.INI file, in order to resolve the server location, avoiding the \"discovery\" process which usually takes its time.\n\nSee the samples I suggested to download at the begining of this message", "time": "20:15", "topic": "ADS remote access", "username": "R.F." } ]
ADS remote access
[ { "date": "2007-04-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Mr.RF\n\n\n[quote:2lkpaz6h]\n1) You will need to create a dictionary, and set the flag of \"internet\" access. \n2) You will need to create a user, and set permissions for internet access. \n[/quote:2lkpaz6h]\n\nCan you please guide me on the above to create a dictionary.\n\n\nAdsConnect60(\"\\\\googleserver\\adsdemos\\[color=blue:2lkpaz6h]demo.add[/color:2lkpaz6h]\",4,\"admin\",\"admin\")\n\nWhat exactly demo.add contains ?\nCan you please an example of a data dictionary ?\n\n[quote:2lkpaz6h]\n[googleserver] \nLAN_IP = 192.168.2.1 \nLAN_PORT = 2000 \nINTERNET_IP = google.d2g.com \nINTERNET_PORT = 2001 \n[/quote:2lkpaz6h]\n\n192.168.2.1 is the IP adress of remote server or local system ?\n\nThanks \n\n- Ramesh Babu P", "time": "12:09", "topic": "ADS remote access", "username": "RAMESHBABU" } ]
ADS remote access
[ { "date": "2007-04-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Ramesh:\n\nIn the SQL-based databases, all the stuff is stored in one single file, for example in MS Access all the tables, users, passwords, security schemas,stored procedures, etc is stored into a one singe MDB file, same happens in SQL Server, MySQL, Informix, etc.\n\nADS tries to do the same, using a \"data dictionary\" with a \"little\" difference, the DBF or ADT tables will not be \"merge\" into one single file, in this case the file is the data dictionary, they will remain as \"free files\", but they will be handled by the Data Dictionary, because the DD will have an internal reference to them.\n\nHow to create a dictionary:\n\nTo create the data dictionary you need to use the ARC, open the ARC (Advantage Data Architech), go to DATABASE in the main menu and select NEW DATABASE, give it a name, check the appropiate features you may need, and you are done.\n\nThe DD creation is also available via SourceCode in (x)Harbour.\n\nInmediatly after creating the dictionary you will need to create a \"super user account\" this is an administrative user account, by default ADS will create the ADSSYS user, and you will have to give it a password.\n\nData dictionaries will have the .ADD extension.\n\nOnce created, you will need to add all the tables you want to be accesed via the data dictionary, remember, the tables will not be merged into the DD, this is only to give the DD a reference of where are those tables located; this gives you an extra level or security because you will need a user and password to access the data.\n\nTo add tables into the dictionary, go to the tree structure you will see at the left of the screen, select TABLES, right click over the TABLES item, and you will see a pop up menu, select ADD EXISTING TABLES, then pick up all the tables and indexes you will need to be into the data dictionary and you are done. Tables can be DBF with CDX or NTX indexes and DBT or FPT memos, or ADT tables with ADI indexes and ADM memos, you can also mix ADTs and DBFs in the same dictionary.\n\nThe goal of a data dictionary is to give an extra security level because you need to create users in the dictionary and give permissions to them for reading, writting, or deleting data, in DBF or ADT tables.\n\nData dictionaries are also important for internet access, because every user you create into the dictionary can have, or not to have Internet access to your data, you can set this feature every time you create a new user or you can modify user accounts to let them read your data via internet.\n\nThanks to ADS, you can handle data using SQL statements, Data dictionaries are also important to users that have worked with SQL based databases, they are used to \"connect\" to the database using an administrative program, and after that they can write queries to retrieve data, in ADS you can also \"connect\" o a database, this \"database\" is called \"data dictionary\" and, as a Data Dictionary has a list of all the tables needed, you can handle them as in the most popular SQL based systems. \n\nSo far so good, let's see now how to use the DD in (x)Harbour code.\n\nFirst you will need to connect to the dictionary, which is the the most important part:\n\nAdsConnect60(<data dict>,<server type>, <user>,<password>)\n\n<data dict> is the route where the DD is, this route has to be indicated using the UNC:\n\n\\\\server\\shared resource\\folder\\dictionary.add\n\nsample:\n\n\\\\googleserver\\adsdemos\\samples\\demo.add\n\nThis may sound reasonable if we were working into a LAN, but what if we want to use the Internet access to the data.\n\nFor internet access (and to speed the lan access too), ADS will use a configuration file that is used by the AXWCS32.DLL (ADS windows client), this file is an INI file called ADS.INI and you have to place it in the same directory where your exe file is.\n\nThis INI files has to be a section with the server name:\n\n[googleserver]\n\nunder this section you have to put the LAN address of the server AND in case you were working via internet, you have to place the public IP adress or the domain name:\n\n[googleserver]\nLAN_IP=192.168.2.1\n\nWhen working with the REMOTE ADS server (not the local), you also need to configure the ports of the server where you are reading information, this is done using the Advantage Configuration Utility, only available with the remote server, using this tool, you configure the lan ports and internet ports to be used, and in the ADS.INI you have to indicate such ports.\n\n[googleserver]\nLAN_IP=192.168.2.1\nLAN_PORT=2000\n\nIf you are using the AIS (Advantage Internet Server), you will also have to indicate the public IP of the server, or the domain name in order to resolve de ip address, also, you have to indicate which port is \"listening\" the internet requests:\n\n[googleserver]\nLAN_IP=192.168.2.1\nLAN_PORT=2000\nINTERNET_IP=google.d2g.com ; or 200.67.137.11\nINTERNET_PORT = 2001\n\nPlease notice that LAN and INTERNET port must be different.\n\nBack to the dictionary connection, the first two parameters will try to connect to the dictionary using the server type stablished.\n\nAdsConnect60(\"\\\\googleserver\\adsdemos\\demo.add\",4,.......)\n\nWhen calling this function, the ADS client will read the UNC, and inmediatly after will look for the ADS.INI looking for the server name section, and using its entries will try to resolve the server location.\n\nThe server type (4) is also important, 4 indicates that it must connect to the server only via INTERNET which means that no matter if the computer is connected to the LAN, the programm will attemp to connect to the server via INTERNET using the entries in the INI file. If there's no internet connection available the program will indicate an error, and it will finish.\n\nValues for the connection parameter are:\n\n(1) Local server only, no client server nor transactions features, no internet access either, this is a free redistributable server for developing, testing or for commercial applications, you can use it in a single computer (stand alone) but you can also use it up to 5 users under LAN enviroments, you are free to use and distribute this server (ADSLOC32.DLL).\n\n(2) Remote server only, you need to have an ADS remote server running in your server. Remote server will run under Novell Netware (from version 5.x and greater), Linux or Windows true 32 enviroments (NT, 2000, XP, 2003 or Vista), your choice.\n\n(3) Local (1) + remote servers (2), the program will attempt to connect first via the remote server, if there's no remote server running on the file server, it will use the local server, this value is adecuate if you are planing to move to a remote server later, because avoids you to write double code or to make modifcations into the source, you can work with free local server, and when you decide to move into the remote server for all the client/server transactional features, you will not need to make any changes to your code, simply install the remote server, and run your program again.\n\n(4) Internet server. This configuration is adecuate for remote computers, not connected to the LAN, using internet to gain access to the data.\n\n(5) Local (1) + Internet (4), you can use both servers, local and internet, for example, you can use the internet access to retrieve data via internet, and use the local server to create temp data files for reporting in your local computer.\n\n(6) Remote (2) + Internet (4), you can use this value when are working in your office in your LAN, retrieving data from the server, and if you go out of the office in a trip or want to work at home, you can use internet to connect to the server, remember, no modifications in the source code are needed, the same exe will work under the lan an under internet.\n\n(7) Local (1) + Remote (2) + Internet (4), this is your best choice since it allows you to connect to any server or combination of servers, for example you are working at your office in your LAN, using the remote server (2), but you go out of the office and decide to work at home, you can use the same exe to connect to a internet server (4), and you can use the local server (1) to create temp DBF or ADT files in your local hd for reporting.\n\nAnd finally, the last two parameters of the AdsConnect60() function are the user name, and its password, these values are set in the data dictionary when creating a new user.", "time": "19:57", "topic": "ADS remote access", "username": "R.F." } ]
ADS remote access
[ { "date": "2007-04-22", "forum": "FiveWin for Harbour/xHarbour", "text": "The DD can also be created from source. Here is sample code to create/update a DD using ACE API calls. For more info on ACE calls look at the help in ARC. It also helps reading the .c sources in the rddads contrib lib.\n\nADS is really-really working very good for me. Speed, stability, remotely access of dbf via Internet, dbf security (very secure) and SQL capability against .ntx and .cdx files. So, with ADS you get to keep ISAM and add SQL to it. Best of both worlds. Futhermore, DBFs are invisible to users on the LAN and/or WAN.\n\nHope the code below helps.\n\n[code:2mrz0za3]\n#include \"ads&#46;ch\"\n#include \"fivewin&#46;ch\"\n\n#define ADS_DEFAULT 0\n\nREQUEST ADS\nREQUEST ADSKeyCount, ADSKeyNo, OrdKeyCount, OrdKeyNo\n\nSTATIC aFiles &#58;= &#123;&#125;\nstatic cPath\n*-----------------------------------------------------------------------------------------------------\nStatic Function Start&#40;&#41;\nLocal oIni\nLocal xRDD\nLocal nErr\nLocal cParmPath \t&#58;= Arg&#40; 1 &#41;\nlocal xPath\nlocal cIniPath\t&#58;= iif&#40; cParmPath == Nil &#46;or&#46; empty&#40; cParmPath &#41;, ;\n\t\t\tcFilePath&#40; GetModuleFileName&#40; GetInstance&#40;&#41; &#41; &#41; , ;\n\t\t\tcParmPath + iif&#40; right&#40; cParmPath, 1 &#41; == \"\\\", \"\", \"\\\" &#41; &#41;\nLocal cIni\t\t&#58;= cIniPath + \"patients&#46;ini\"\n\n\tINI oIni FILE cIni\n\t\tGET xPath SECTION \"RDD\" ENTRY \"PATH\" OF oIni DEFAULT \"f&#58;\\mp\\data\\\"\n\t\tGet xRDD SECTION \"RDD\" ENTRY \"RDD_VERSION\" OF oIni DEFAULT \"LOCAL\"\n\tENDINI\n\n\trddsetdefault&#40; \"ADS\" &#41;\n\tAdsSetFileType&#40; ADS_NTX &#41;\n\tAdsLocking&#40; ADS_COMPATIBLE_LOCKING &#41;\n\trddRegister &#40; \"ADS\", 1 &#41;\n\tif &#40; nErr &#58;= ADSSetServerType&#40; iif&#40; xRDD == \"LOCAL\", ADS_LOCAL_SERVER, ADS_REMOTE_SERVER &#41; &#41; &#41; <> 0\n\t\tMsgStop&#40; \"Cannot connect to server \" + Str&#40; nErr &#41;, \"Problem\" &#41;\n\tElse\n\t\tMsgRun&#40; \"Creating ADS Data Dictionary&#46;&#46;&#46;\", \"ADS DD creation\", &#123; ||CreateDictionary&#40; xPath &#41; &#125; &#41;\n\tEndif\n\nReturn &#40;Nil&#41;\n\n*------------------------------------------------------------------------------------\nFunction CreateDictionary&#40; xpath &#41;\nlocal aFiles\t&#58;= FileIndexStruc&#40;&#41;\n\n\tcpath &#58;= xPath\n\n\tif !file&#40; cpath+ \"mp&#46;add\" &#41; &#46;and&#46; !ADSDDCREATE&#40; cPath+\"mp&#46;add\",, \"mp system data dictionary\" &#41;\n \t\tif !AdsConnect60&#40; cpath + \"mp&#46;add\", ADS_REMOTE_SERVER, \"ADSSYS\",\"mp8\" &#41; //&#46;and&#46; UpdateADSDD&#40;&#41;\n\t\t\tMsgStop&#40; \"Create and/or connect failed&#46;\" + cValToChar&#40; AdsGetLastError&#40;&#41; &#41;, cPath + \"mp&#46;add\" &#41;\n\t\t\tRETURN NIL\n\t\tEndif\n\tEndif\n\n\tlogfile&#40; \"dd&#46;log\", &#123; cPath+\"mp&#46;add\", AdsConnection&#40;&#41; &#125; &#41;\n\tAdsDDSetDatabaseProperty&#40; ADS_DD_ENABLE_INTERNET, &#46;t&#46; &#41;\n\tAdsDDSetDatabaseProperty&#40; ADS_DD_INTERNET_SECURITY_LEVEL, ADS_DD_LEVEL_2 &#41;\n\n\tAdsDDCreateUser&#40; , \"mpuser\", \"mp8\", \"Mp system users\" &#41;\n\tAdsDDCreateUser&#40; , \"x12\", \"mp8\", \"x12 document users\" &#41;\n\tAdsDDCreateUser&#40; , \"billing\", \"mp8\", \"Billing users\" &#41;\n\n\tAdsSetFileType&#40; ADS_NTX &#41;\n\n\taEval&#40; aFiles, &#123; |e| AdsSetFiletype&#40; iif&#40; len&#40; e &#41; > 1 &#46;and&#46; lower&#40; cFileExt&#40; e&#91; 2 &#93; &#41; &#41; == \"cdx\", ADS_CDX, ADS_NTX &#41; &#41;,;\n\t\taddfiletoDD&#40; e &#41;, ;\n\t\tSetTableProp&#40; e &#41;, ;\n\t\tlogfile&#40; \"dd&#46;log\", &#123; \"Adding table to DD\", ;\n\t\t\t\t\t\t\te&#91;1&#93;, ;\n\t\t\t\t\t\t\tAdsSetFileType&#40;&#41;, ;\n\t\t\t\t\t\t\tcFileExt&#40; e&#91; min&#40; 2, len&#40; e &#41; &#41; &#93; &#41;, ;\n\t\t\t\t\t\t\tADSGetLastError&#40;&#41; &#125; &#41; &#125; &#41;\n\nreturn Nil\n\n*------------------------------------------------------------------------------------\nStatic Function AddFiletoDD&#40; aFile &#41;\nlocal cIndexs &#58;= \"\"\n\n\tif len&#40; afile &#41; > 1 &#46;and&#46; left&#40; afile&#91; 2 &#93;,1 &#41; <> \"&#46;\"\n\t\taEval&#40; afile, &#123; |e| cIndexs += e +\";\" &#125;, 2 &#41;\n\t\tcIndexs &#58;= left&#40; cIndexs, len&#40; cIndexs &#41; -1 &#41;\n\tEndif\n\nReturn&#40; AdsDDAddTable&#40; left&#40; afile&#91; 1 &#93;, at&#40;\"&#46;\", afile&#91;1&#93; &#41;-1 &#41;, ;\n\t\t\t\tcPath + aFile&#91; 1 &#93;, ;\n\t\t\t\tcIndexs &#41; &#41;\n\n*------------------------------------------------------------------------------------\nstatic function SetTableProp&#40; aFile &#41;\nlocal cFile &#58;= cFileName&#40; afile&#91; 1 &#93; &#41;\n#ifndef VERSION_0&#46;99\n\tAdsDDSetTableProperty&#40; cFile, ADS_DD_TABLE_AUTO_CREATE, &#46;t&#46; &#41;\n#endif\nreturn Nil\n\n*------------------------------------------------------------------------------------\nfunction FileIndexStruc&#40;&#41;\nlocal a &#58;= &#123;&#125;\n\n\taadd&#40; a, &#123; \"auditlog&#46;dbf\", \"auditlog&#46;cdx\" &#125; &#41;\n\taadd&#40; a, &#123; \"remits&#46;dbf\", \"remits&#46;cdx\" &#125; &#41;\n\taadd&#40; a, &#123; \"closed&#46;dbf\", \"&#46;cdx\" &#125; &#41;\n\taadd&#40; a, &#123; \"icd4cpts&#46;dbf\", \"icd4cpts&#46;cdx\" &#125; &#41;\n\taadd&#40; a, &#123; \"doctors&#46;dbf\", \"doc_id&#46;ntx\", \"doc_name&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"hospital&#46;dbf\",\"hospital&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"techs&#46;dbf\", \"tch_id&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"macros&#46;dbf\", \"mcr_id&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"users&#46;dbf\", \"users&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"scribes&#46;dbf\",\"scrb_id&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"images&#46;dbf\", \"images&#46;cdx\" &#125; &#41; //\"img_rec&#46;ntx\",\"img_adm&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"imgtypes&#46;dbf\",\"&#46;cdx\" &#125; &#41;\n\taadd&#40; a, &#123; \"patients&#46;dbf\", \"pat_rec&#46;ntx\", \"pat_ssn&#46;ntx\", \"pat_name&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"pat_err&#46;dbf\",\"&#46;cdx\" &#125; &#41;\n\taadd&#40; a, &#123; \"poliza&#46;dbf\", \"poliza&#46;ntx\",\"pol_id&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"planfile&#46;dbf\", \"planfile&#46;ntx\", \"ins_code&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"zipcode&#46;dbf\", \"zip_city&#46;ntx\", \"zip_code&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"diagfile&#46;dbf\", \"diagcode&#46;ntx\", \"diagdesc&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"forms&#46;dbf\", \"forms&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"pmtrsns&#46;dbf\", \"&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"meddata&#46;dbf\", \"meddata&#46;cdx\" &#125; &#41;\n\taadd&#40; a, &#123; \"scripts&#46;dbf\", \"&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"medsys&#46;dbf\", \"&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"pay_items&#46;dbf\", \"pay_items&#46;cdx\" &#125; &#41;\n\n#ifndef PROFESSIONAL\n\taadd&#40; a, &#123; \"abgparm&#46;dbf\", \"abgparm&#46;cdx\" &#125; &#41;\n\taadd&#40; a, &#123; \"adtlog&#46;dbf\", \"adtlog&#46;cdx\" &#125; &#41;\n\taadd&#40; a, &#123; \"nurses&#46;dbf\", \"nur_id&#46;ntx\", \"nur_name&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"autocode&#46;dbf\", \"acd_code&#46;ntx\", \"acd_cpt&#46;ntx\", \"acd_ins&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"lbdefrs&#46;dbf\", \"lbdefrs&#46;cdx\" &#125; &#41;\n\taadd&#40; a, &#123; \"ovrprdm&#46;dbf\", \"ovp_code&#46;ntx\", \"ovp_cpt&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"revcodes&#46;dbf\", \"rev_code&#46;ntx\", \"rev_item&#46;ntx\", \"rev_desc&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"charges&#46;dbf\", \"chr_code&#46;ntx\", \"chr_desc&#46;ntx\", \"chr_cpt&#46;ntx\", \"chr_rev&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"admit&#46;dbf\", \"adm_rec&#46;ntx\", \"adm_num&#46;ntx\", \"adm_date&#46;ntx\", \"adm_dis&#46;ntx\", \"adm_doc&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"rooms&#46;dbf\", \"rms_id&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"meddept&#46;dbf\", \"meddept&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"ptechrgs&#46;dbf\", \"pch_date&#46;ntx\", \"pch_adm&#46;ntx\", \"pch_itm&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"packages&#46;dbf\", \"pkg_code&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"abstrct&#46;dbf\", \"abs_adm&#46;ntx\", \"abs_rec&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"consults&#46;dbf\", \"cns_adm&#46;ntx\", \"cns_doc&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"incmprec&#46;dbf\", \"inr_adm&#46;ntx\", \"inr_stf&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"drg&#46;dbf\", \"drg&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"admtypes&#46;dbf\",\"&#46;cdx\" &#125; &#41;\n\taadd&#40; a, &#123; \"condcds&#46;dbf\", \"condcds&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"trnsfs&#46;dbf\", \"trn_adm&#46;ntx\", \"trn_date&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"ubcodes&#46;dbf\", \"ubc_adm&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"medyrded&#46;dbf\", \"medyrded&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"orders&#46;dbf\", \"ord_adm&#46;ntx\", \"ord_date&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"labordrs&#46;dbf\", \"lab_adm&#46;ntx\", \"lab_rec&#46;ntx\", \"lab_id&#46;ntx\", \"lab_date&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"labrslts&#46;dbf\", \"lrs_id&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"labrjcts&#46;dbf\", \"lrj_id&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"labcmnts&#46;dbf\", \"lcmts_id&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"labphned&#46;dbf\", \"lphnd_id&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"hemafnds&#46;dbf\", \"hemafnds&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"labdepts&#46;dbf\", \"ldp_dept&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"xrorders&#46;dbf\", \"xro_id&#46;ntx\", \"xro_adm&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"rdlgsts&#46;dbf\", \"rdl_id&#46;ntx\", \"rdl_name&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"xrtrn&#46;dbf\", \"xrtrn&#46;cdx\" &#125; &#41;\n\taadd&#40; a, &#123; \"autoreg&#46;dbf\", \"autoreg&#46;cdx\" &#125; &#41;\n\taadd&#40; a, &#123; \"triage&#46;dbf\", \"triage&#46;cdx\" &#125; &#41;\n\taadd&#40; a, &#123; \"painarea&#46;dbf\", \"painarea&#46;cdx\" &#125; &#41;\n\taadd&#40; a, &#123; \"cost_ctr&#46;dbf\", \"cost_ctr&#46;cdx\" &#125; &#41;\n\taadd&#40; a, &#123; \"srv_clss&#46;dbf\", \"srv_clss&#46;cdx\" &#125; &#41;\n\taadd&#40; a, &#123; \"dsuppl&#46;dbf\", \"dsuppl&#46;cdx\" &#125; &#41; //\"ds_code&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"dtypes&#46;dbf\", \"dtypes&#46;cdx\" &#125; &#41; //\"dt_type&#46;ntx\", \"dt_desc&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"drstric&#46;dbf\", \"drstric&#46;cdx\" &#125; &#41; //\"dr_code&#46;ntx\" &#125; &#41;\n\taadd&#40; a, &#123; \"dietmast&#46;dbf\", \"dietmast&#46;cdx\" &#125; &#41; //\"dietkey&#46;ntx\", \"dietcode&#46;ntx\", \"dietdesc&#46;ntx\" &#125; &#41;\n#endif\n\nreturn a\n\n*------------------------------------------------------------------------------------\nFunction IsInDictionary&#40; odbf &#41;\nlocal cfilename &#58;= lower&#40; cFileName&#40; odbf&#58;cfilename &#41; &#41;\n\tif at&#40; \"&#46;\", cfilename &#41; == 0\n\t\tcfilename += \"&#46;dbf\"\n\tendif\n\n\tif empty&#40; aFiles &#41;\n\t\tafiles &#58;= FileIndexStruc&#40;&#41;\n\tEndif\n\nreturn aScan&#40; aFiles, &#123; |e| e&#91; 1 &#93; = cFileName &#125; &#41; > 0\t// cfileName IN aFiles //\n[/code:2mrz0za3]", "time": "03:18", "topic": "ADS remote access", "username": "reinaldocrespo" } ]
ADS remote access
[ { "date": "2007-04-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr.RF\n\nThank you very much for your detailed tutorial on ADS. Now I am \nright track. I will seek some more help from you after some time.\n\n\nMr.Reinaldo\n\nThank you for the source.\n\nRegards to you both\n\n- Ramesh Babu P", "time": "05:09", "topic": "ADS remote access", "username": "RAMESHBABU" } ]
ADS remote access
[ { "date": "2007-04-22", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"RF\":2uxuny61]My best advice:\n\nFor remote access you should use AIS (Advantage Internet Server), works great.\n...\nLocal servers is toooo slow for remote connection, try AIS instead. \n...\n[/quote:2uxuny61]\nHello Rene,\n\nnow i'm totally confused.\nI thought the ADS Server would be the first choice for handling huge databases better than with dbfntx or even dbfcdx.\nIf i'm far away from the server i can use the server type setting as 'remote server'.\n\nBut you recommend the AIS. Is this a totally different product?\n\nWhat would you recommend if i want to access the same dbf files by workstations in a local network and also from far way workstations?\n\nBest regards,\nDetlef", "time": "17:30", "topic": "ADS remote access", "username": "Detlef Hoefner" } ]
ADS remote access
[ { "date": "2007-04-22", "forum": "FiveWin for Harbour/xHarbour", "text": "René is THE professor of ADS. He helped me a lot when I got started, so with his permission, I'll try to explain a bit more:\n\nADS has 3 access modes:\n\n\"Local\" - means no ADS server software running on the server. You access your tables in the same manner you've always have. In this manner the server only serves as a file server. Slow, prone to corruption, no security. This RDD is free. You are probably using it right now.\n\n\"Remote\"- You might think that this means access via the Internet. It does not. It mean that you access your tables via the server software running on the server. But work stations are connected inside the LAN where the server is. This is what is called a client-server architecture. Here only the server software (ADS deamon/service) really access the tables and responds to client workstations sending requested data. Using the very same free RDDs, DBFS may be invisible to the client workstations and only after the app has connected to a DD owned by the ADS server service it gains access to data. Here the server is NO longer a simple file server. Think of it like an SQL server. Files are opened and closed in the server not at the workstation. Files are **NOT** sent to the workstation for processing to take place. If power fails on the workstation or it freezes, the files are not affected. Althought it is not obligatory, you should access your tables by connecting to the DD. Only by using a DD you get to protect DBFS and use SLQ commands on the very same dbf/ntx -dbf/cdx files, etc... In this scenario you HAVE to purchase the \"server\" software which runs as a service in windows, as a NML in Novell, and as a deamon in Linux. Prices depend on the # of users (connections) you want to purchase to connect concurrently. I've been using the windows and the Linux versions with much success. I have never tried the Novell version.\n\n\"Internet\" - This is what rené is referring to as the AIS. With ADS server software running on the server, local computers (LAN) can access data in the manner I described above, but other workstations out side de LAN, ie.. WAN (via the Internet) can also access the data by connecting to the DD. The user/password combination used to connect to the DD must have internet access enabled. A few other considerations must also be looked at. But the ADS service/deamon running on the server is the very same used by the \"remote\" connecting computers inside the lan. There are two different ways to connect and view data via an Internet connection. One of them (which is what I'm using), is connecting a FW-Win32 application directly to the DD using a connection from the number of connections allowed by your license directly to the IP/Port where the ADS server is responding to internet connections. Another is via a .net or PHP or Java connection. In the later manner no connection slot from your # of connections license is used.\n\nI'll leave you with that. I hope it helped.\n\n\nReinaldo.", "time": "19:45", "topic": "ADS remote access", "username": "reinaldocrespo" } ]
ADS remote access
[ { "date": "2007-04-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Reinaldo,\n\nyour answer helped me very much.\n\nYou were right, i thought the \"remote\" server mode is the one to connect from a WAN.\nThanks for the clarification <!-- s:idea: --><img src=\"{SMILIES_PATH}/icon_idea.gif\" alt=\":idea:\" title=\"Idea\" /><!-- s:idea: --> .\n\nAs you already work with this technology i have some more questions.\nIs there a reasonable speed when browsing data with an AIS connection?\nIs it possible to allow other clients from the internet to retrieve data from an AIS with php scripts ( just as with mySQL ) ?\nAnd a last question, can i use a query with SQL like syntax from an AIS?\n\nBest regards,\nDetlef", "time": "22:44", "topic": "ADS remote access", "username": "Detlef Hoefner" } ]
ADS remote access
[ { "date": "2007-04-23", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote:2038yjnl]\nIs there a reasonable speed when browsing data with an AIS connection? \n[/quote:2038yjnl]\n\nresponse is acceptable. Just open files and keep them opened through the session. I use xbrowse. I have users work totally via an internet connection. Browse, edit data, print reports using a fw-xharbour app.\n\n[quote:2038yjnl]\nIs it possible to allow other clients from the internet to retrieve data from an AIS with php scripts ( just as with mySQL ) ?\n[/quote:2038yjnl]\n\nYes. Totally. Even parameterized queries with PHP. Just like with MySQL. \n\n[quote:2038yjnl]\nAnd a last question, can i use a query with SQL like syntax from an AIS?\n[/quote:2038yjnl]\n\nAbsolutly! and very fast! But must use a Data Dictionary connection, that's all. You also have triggers, stored procedures, on-line backup, and replication. With time I've been using sql statements more and more. Latetly I've been recurring to SQL querries to allow users to xbrowse datasets built ad-hoc. \n\nListen; there is a recent book on the subject: \"Advantage Database Server, A developer's guide\" by Cary Jensen and Loy Anderson. You'll find it in Amazon.\n\nThere is a 2 user version of the ADS server available for free from the advantagedatabase.com page. It is a good idea to download and start playing with it. That's how I got started. I get special pricing from Extended Systems so, when the time comes for your customers to purchase, email me and I'll transfer my savings over to any fw developer interested.\n\nReinaldo.", "time": "04:13", "topic": "ADS remote access", "username": "reinaldocrespo" } ]
ADS remote access
[ { "date": "2007-04-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Reinaldo,\n\nmany thanks again for your explanations.\nThis now made up my decision to plan my redesign with ADS/AIS as database system.\n\nBest regards,\nDetlef", "time": "07:37", "topic": "ADS remote access", "username": "Detlef Hoefner" } ]
ADS remote access
[ { "date": "2014-11-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\n\nI would like to please know which ADS version are you using.\n\nI read many complaints about bugs in latest version and also Sybase seems not to be updating and managing the product in a decent way, according to what users say in their forums.\n\nThank you.", "time": "12:27", "topic": "ADS server VERSION that you are using", "username": "MOISES" } ]
ADS server VERSION that you are using
[ { "date": "2014-11-22", "forum": "FiveWin for Harbour/xHarbour", "text": "7.0", "time": "14:40", "topic": "ADS server VERSION that you are using", "username": "Uwe.Diemer" } ]
ADS server VERSION that you are using
[ { "date": "2014-11-24", "forum": "FiveWin for Harbour/xHarbour", "text": "v10.1", "time": "02:56", "topic": "ADS server VERSION that you are using", "username": "fraxzi" } ]
ADS server VERSION that you are using
[ { "date": "2014-11-24", "forum": "FiveWin for Harbour/xHarbour", "text": "7.0 -> to 11.x\n\nwithout problems\n\nbest regards\n\nWilson", "time": "14:49", "topic": "ADS server VERSION that you are using", "username": "wilsongamboa" } ]
ADS server VERSION that you are using
[ { "date": "2014-11-24", "forum": "FiveWin for Harbour/xHarbour", "text": "10.1", "time": "15:29", "topic": "ADS server VERSION that you are using", "username": "vilian" } ]
ADS server VERSION that you are using
[ { "date": "2014-11-24", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi ,\nI'm using 11.10 release without problems.\n\nGiuliano", "time": "16:22", "topic": "ADS server VERSION that you are using", "username": "giuliano" } ]
ADS server VERSION that you are using
[ { "date": "2008-07-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi guys!\r\n\r\nJust sharing this amazing discovery with ADS 8.1\r\n\r\nNormally, when we do adsconnect60(), we put this on our ads.ini\r\n\r\n...\r\n[remoteserver]\r\n INTERNET_IP = <your public ip here>\r\n INTERNET_PORT = 2001\r\n LAN_IP = 192.168.0.1\r\n LAN_PORT = 2002\r\n\r\n[Databases]\r\n SERVER = \\\\remoteserver\\DD\\database.add;D\r\n...\r\n\r\nnotice the 'DD' in \"\\\\remoteserver\\DD\\database.add;D\", it's NOT EVEN SHARED nor exist in the server side....\r\n\r\n\r\nUsing ADS 'Server-side aliases', define this to the server side...\r\n\r\nfile: \"AdsServer.ini\" put the file to ads 'error log' path which is configured with your ADS server 8.1 or higher ( normaly on C: )\r\n\r\ncontent of \"AdsServer.ini\" is\r\n\r\n[ServerAliases]\r\nDD=D:\\AdsDictionary\r\nDB=D:\\App1\\Tables\r\n\r\n\r\nthe \"DB\" is the path where you put the tables defined in your database.ADD.... this is to avoid ADS error#8026 \"Error obtaining server drive information from server and share names\". I dont like the solution posted by ADS wherein my tables are at risk for exposure...\r\n\r\n\r\nThe above is based on actual experienced... if may vary from different condition.\r\n\r\nI think it's worth sharing.... Yesterday (July/2/2008) I can't find any info regarding my problem so this maybe useful with others using ADS over internet.\r\n\r\n\r\nThis is total security... there's no way any client can find your tables on the remote side. Applicable and tested.\r\n\r\nRegards,", "time": "05:56", "topic": "ADS server side alias", "username": "fraxzi" } ]
ADS server side alias
[ { "date": "2008-07-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Padilla;\r\n\r\nThat was the main reason I started using ADS. NO SHARES. The data is totally hidden from all users. There is no better security than this. \r\n\r\nBTW, you can connect to your data also using ip:port/path_to_add in adsconnect().\r\n\r\nlike this:\r\n\r\nxrddpath := \"\\\\192.168.1.1:2000\\data\\dd.add\"\r\nAdsConnect60( xrddpath + cDict, ADS_REMOTE_SERVER, \"user\", \"pass\" )\r\n\r\nWhat I usually do is have a .ini file with the path to the dd and the connection mode (REMOTE, LOCAL, INTERNET) written in a section called: [RDD]:\r\n\r\n[RDD]\r\npath=\\\\192.168.1.1.:2000\\data\\dd.add\r\nrddVer=REMOTE\r\n\r\nJust like you said, folder \\data on the server does not need to be shared. Totally invisible. SQL what-who?\r\n\r\nHere is another tip, from within my app I can execute ISAM commands or simple SQLs, such as:\r\n\r\n[code:36nxg9k9]\nSELECT adm&#46;recno AS &#91;Record&#93;,\n\t adm&#46;adm_num AS &#91;Account&#93;,\n\t trim&#40; pat&#46;last &#41; + ' ' + trim&#40; pat&#46;last2 &#41; + ', ' + pat&#46;name AS &#91;Name&#93;,\n\t adm&#46;adm_date AS &#91;Adm_date&#93;,\n\t adm&#46;dis_date AS &#91;Dis_date&#93;, \n\t srv&#46;Insurance AS &#91;Insurance&#93;,\n\t &#40;SELECT SUM&#40; pch&#46;total &#41; FROM &#91;ptechrgs&#93; pch \n\t \t\t WHERE pch&#46;adm_num = adm&#46;adm_num &#41; AS &#91;Charges&#93;,\n\t srv&#46;real_amt AS &#91;Expectd&#93;,\n\t srv&#46;ins_paymen AS &#91;Ins_Paymnt&#93;,\n\t &#40;srv&#46;real_amt - srv&#46;ins_paymen&#41; AS &#91;Pending&#93;\n\t FROM admit adm\n\t LEFT JOIN service srv ON adm&#46;adm_num = srv&#46;adm_num\n\t LEFT JOIN patients pat ON pat&#46;recno = srv&#46;recno\n\t WHERE adm&#46;adm_date < '2008-01-01' \n\t AND adm&#46;dis_date > '2007-12-31'\n[/code:36nxg9k9]\r\n\r\nReinaldo.", "time": "18:38", "topic": "ADS server side alias", "username": "reinaldocrespo" } ]
ADS server side alias
[ { "date": "2008-07-05", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Reinaldo\r\n\r\nAnother great tip you have here! I hope other guys using ADS shares their experiences too! <!-- s:P --><img src=\"{SMILIES_PATH}/icon_razz.gif\" alt=\":P\" title=\"Razz\" /><!-- s:P --> \r\n\r\n\r\nBefore I do direct connect \\\\<ip>:<port>\\<share> ... It's great I discover the server-side aliases..\r\n\r\nIt's easier and manageable using 'AdsServer.Ini' on the server...\r\n\r\n\r\nI still have many things to test.... I really appreciate the SQL sample you posted... I really need to go to that path...\r\n\r\n\r\nIf any of you ADS guru share wrapper for example AdsSkip() would be greatly appreciated.\r\n\r\n\r\nCount me IN.\r\n\r\n\r\nRegards,", "time": "01:48", "topic": "ADS server side alias", "username": "fraxzi" } ]
ADS server side alias
[ { "date": "2008-07-05", "forum": "FiveWin for Harbour/xHarbour", "text": "I don't think you need the wrapper for adsskip(). It is used by the RDD. Just use (calias)->( dbskip() ). That should work just the same as long as you use ADSNTX or ADSCDX.", "time": "01:58", "topic": "ADS server side alias", "username": "reinaldocrespo" } ]
ADS server side alias
[ { "date": "2008-07-05", "forum": "FiveWin for Harbour/xHarbour", "text": "I've been testing the table iteration (speed) like:\r\n\r\n[code:wvg700yh]for i &#58;= 1 to alias->&#40; lastrec&#40;&#41; &#41;\n &#46;&#46;&#46;\n alias->&#40; dbSkip&#40;&#41; &#41; //here can be be adsskip&#40;&#41; since I used ADS all-out\n if alias->&#40;eof&#40;&#41;&#41; //here can be ADSIsEOF&#40;&#41;&#46;&#46;&#46; &#40;an example function&#41;\n exit\n end\nnext[/code:wvg700yh]\r\n\r\n\r\n..OR...\r\n\r\nI can use dbEval() function which is faster than the for...next iteration.\r\n\r\n\r\nwhat is your best best recommendation for this matter?\r\n\r\n\r\nRegards,", "time": "02:37", "topic": "ADS server side alias", "username": "fraxzi" } ]
ADS server side alias
[ { "date": "2008-12-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\r\n I have changed some e-mails with Sybase iAnwhere about possibility\r\nto have ADS support in R&R report writer and they had discussion with\r\nLiveware Pub. about this. At the moment adding ADS support is not a\r\npriority for Liveware but they can arrange it to be done, if customers\r\ncan group together and pay for this development.\r\nThey are looking for contributions about $20K in total.\r\n\r\nSybase iAnywhere is prepared to make a share of the contribution but\r\nof course, it would be easyer, if developers also show some interest.\r\nPaying $1..2K would be ok for our company for adding ADS support to\r\nR&R report engine.\r\n\r\nAnyone else interested?\r\n\r\nTaavi.", "time": "13:03", "topic": "ADS support for R&R report writer. Anyone interested?", "username": "Taavi" } ]
ADS support for R&R report writer. Anyone interested?
[ { "date": "2014-08-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola, buen día\n\nAlguno de ustedes que haya logrado hacer conexión con ADS versión 9.1 y Harbour en 64 bits ?\n\nSaludos", "time": "15:54", "topic": "ADS v 9.1 y Harbour 64bits.", "username": "Vikthor.Thomas" } ]
ADS v 9.1 y Harbour 64bits.
[ { "date": "2014-08-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Vikthor,\nHe realizado algunas pruebas con ADS y FWH 64bits.\nSi deseas te puedo enviar las librerias ADS que estoy usando para que verifiques si funcionan con tu applicacion.\n\nSaludos,\n\nGeorge", "time": "01:29", "topic": "ADS v 9.1 y Harbour 64bits.", "username": "George" } ]
ADS v 9.1 y Harbour 64bits.
[ { "date": "2014-08-19", "forum": "FiveWin para Harbour/xHarbour", "text": "George,\n\nSi eres tan amable de enviármelas, las subo a bitbucket para que esten a la disposición de todos, gracias! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "02:13", "topic": "ADS v 9.1 y Harbour 64bits.", "username": "Antonio Linares" } ]
ADS v 9.1 y Harbour 64bits.
[ { "date": "2014-08-19", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"George\":1lg2ho3j]Vikthor,\nHe realizado algunas pruebas con ADS y FWH 64bits.\nSi deseas te puedo enviar las librerias ADS que estoy usando para que verifiques si funcionan con tu applicacion.\n\nSaludos,\n\nGeorge[/quote:1lg2ho3j]\n\nHola George, muchas gracias.\nMi cuenta de correo es vykthor [ at ] hotmail [ dot ] com", "time": "14:16", "topic": "ADS v 9.1 y Harbour 64bits.", "username": "Vikthor.Thomas" } ]
ADS v 9.1 y Harbour 64bits.
[ { "date": "2014-08-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Enviado.\n\nSaludos,\n\nGeorge", "time": "16:37", "topic": "ADS v 9.1 y Harbour 64bits.", "username": "George" } ]
ADS v 9.1 y Harbour 64bits.
[ { "date": "2014-08-20", "forum": "FiveWin para Harbour/xHarbour", "text": "George,\n\nMuchas gracias por tus ficheros.\n\nAqui los pongo a disposición de cualquier otro usuario a quien pueda hacerles falta:\n\n[url:3fwx54h7]https&#58;//bitbucket&#46;org/fivetech/harbour-xharbour-builds/downloads/ads_64bits_vs2013&#46;zip[/url:3fwx54h7]", "time": "11:59", "topic": "ADS v 9.1 y Harbour 64bits.", "username": "Antonio Linares" } ]
ADS v 9.1 y Harbour 64bits.
[ { "date": "2014-08-20", "forum": "FiveWin para Harbour/xHarbour", "text": "Un saludos a todos.\n\nHe usado los archivos sugeridos por George y al momento de abrir cualquier tabla usando ADS obtengo el siguiente mensaje de error.\n\nApplication\n===========\n Path and name: C:\\fwh64.1311\\samples\\Test.Exe (64 bits)\n Size: 3,695,616 bytes\n Compiler version: Harbour 3.2.0dev (r1307051602)\n FiveWin Version: FWH 13.11\n Windows version: 6.1, Build 7600\n\n Time from start: 0 hours 1 mins 0 secs\n Error occurred at: 08/20/14, 12:52:30\n Error description: Error ADSCDX/6633 The Advantage Database Server did not respond to a database request in a timely manner while using inter-process communications.\n\n\nHe leído el ads.hlp de ADS y suguiere que modifique el ads.ini en :\n\n[SETTINGS]\nMAX_TIMEOUTS \n\nHago los cambios y el error persiste.\n\nAlguien que haya pasado por la misma situación.\n\nEstoy usando ADS Server Versión 9.1 64 Bits , VS2013 y FWH64 2013.11\n\nSaludos", "time": "19:03", "topic": "ADS v 9.1 y Harbour 64bits.", "username": "Vikthor.Thomas" } ]
ADS v 9.1 y Harbour 64bits.
[ { "date": "2007-05-24", "forum": "FiveWin para Harbour/xHarbour", "text": "Alguien me podria orientar sobre el uso de ADS o ADO \ncual es mejor<...::::\n\nGRACIAS", "time": "20:00", "topic": "ADS v/s ADO.. cuales son sus diferencias ????", "username": "A&C" } ]
ADS v/s ADO.. cuales son sus diferencias ????
[ { "date": "2007-05-24", "forum": "FiveWin para Harbour/xHarbour", "text": "Pues seria el precio, por cierto, ADS tambien puede ser accesado por ADO, porque es un servidor de base de datos cliente / servidor, como puede ser un MySQL, SQL Server, etc.\n\nBasicamente nosotros recomendamos ADS cuando el usuario ya tiene un programa hecho en Clipper o Harbour, y tiene problemas por el volumne de informacion que maneja. ADS tiene la ventaja en que la implementacion es super rapida, usualmente en 2 dias estas funcionando, y funciona como un SQL comun y corriente, con la ventaja que al soportar los 2 modos de acceso, por XBASE o por SQL, puede convivir con otros desarrollos \n\nCon ADO requieres re hacer todo el acceso a datos, cosa que por lo menos te lleva 6 meses, si lo pones sobre la balanza, puedes tener la solucion cara pero inmediata (ADS), o la menos cara, pero que se tomara su tiempo en rehacer el programa.\n\nTengo casos de clientes que se han llevado 2 años en pasar un programa hecho en DBFs a un SQL, el que menos tiempo se ha llevado se como como 8 meses en hacerlo.", "time": "21:44", "topic": "ADS v/s ADO.. cuales son sus diferencias ????", "username": "R.F." } ]
ADS v/s ADO.. cuales son sus diferencias ????
[ { "date": "2007-03-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Estimados\n\nComo saber con que version esta utilizando la libreria rddAds.lib\n\nYo actualmente utilizo la vension de ADS 7.1 y he visto los fuentes que hace mencion a ADS_REQUIRE_VERSION6;ADS_REQUIRE_VERSION7;\nADS_REQUIRE_VERSION8\n\nHay que volver a compilar la libreria, o bien dentro del sistema agregar alguna clausula\n\n\nDesde ya muy agredecido\n\nSaludos\nPatricio", "time": "19:55", "topic": "ADS version 7", "username": "Patricio Avalos Aguirre" } ]
ADS version 7
[ { "date": "2007-03-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Me respondo, si alguien tiene otra solucion favor postearla\n\nAl final tuve que reconstruir la libreria nuevamente, pero me salieron unos warning, pero al parecer son solo advertencia que se declaro una variable con un valor y este no fue utilizado o algo parecido\n\npero me cuasa cuidado la linea [b:3i951r0d]Warning W8065 adsfunc.c 189[/b:3i951r0d]\n\n[code:3i951r0d]MAKE Version 5&#46;2 Copyright &#40;c&#41; 1987, 2000 Borland\n\tbcc32 -c -O2 -DWIN32;ADS_REQUIRE_VERSION=7&#46;1 -Ic&#58;\\harbour\\include -o&#46;&#46;\\&#46;&#46;\\obj\\b32\\ads1&#46;obj ads1&#46;c\nBorland C++ 5&#46;5&#46;1 for Win32 Copyright &#40;c&#41; 1993, 2000 Borland\nads1&#46;c&#58;\nWarning W8004 ads1&#46;c 727&#58; 'ulRetVal' is assigned a value that is never used in function adsGoTo\nWarning W8004 ads1&#46;c 995&#58; 'u32Result' is assigned a value that is never used in function adsSeek\nWarning W8004 ads1&#46;c 2611&#58; 'hConnection' is assigned a value that is never used in function adsOpen\nWarning W8004 ads1&#46;c 4109&#58; 'u32RetVal' is assigned a value that is never used in function adsGetValueFile\nWarning W8004 ads1&#46;c 4139&#58; 'u32RetVal' is assigned a value that is never used in function adsPutValueFile\nWarning W8065 ads1&#46;c 4309&#58; Call to function 'AdsApplicationExit' with no prototype in function adsExit\n\ttlib &#46;&#46;\\&#46;&#46;\\lib\\rddads&#46;lib -+&#46;&#46;\\&#46;&#46;\\obj\\b32\\ads1&#46;obj,,\nTLIB 4&#46;5 Copyright &#40;c&#41; 1987, 1999 Inprise Corporation\n\n\tbcc32 -c -O2 -DWIN32;ADS_REQUIRE_VERSION=7&#46;1 -Ic&#58;\\harbour\\include -o&#46;&#46;\\&#46;&#46;\\obj\\b32\\adsfunc&#46;obj adsfunc&#46;c\nBorland C++ 5&#46;5&#46;1 for Win32 Copyright &#40;c&#41; 1993, 2000 Borland\nadsfunc&#46;c&#58;\nWarning W8065 adsfunc&#46;c 189&#58; Call to function 'AdsApplicationExit' with no prototype in function HB_FUN_ADSAPPLICATIONEXIT\nWarning W8004 adsfunc&#46;c 2099&#58; 'fDictionary' is assigned a value that is never used in function HB_FUN_ADSCONNECT60\n\ttlib &#46;&#46;\\&#46;&#46;\\lib\\rddads&#46;lib -+&#46;&#46;\\&#46;&#46;\\obj\\b32\\adsfunc&#46;obj,,\nTLIB 4&#46;5 Copyright &#40;c&#41; 1987, 1999 Inprise Corporation\n\n\tbcc32 -c -O2 -DWIN32;ADS_REQUIRE_VERSION=7&#46;1 -Ic&#58;\\harbour\\include -o&#46;&#46;\\&#46;&#46;\\obj\\b32\\adsmgmnt&#46;obj adsmgmnt&#46;c\nBorland C++ 5&#46;5&#46;1 for Win32 Copyright &#40;c&#41; 1993, 2000 Borland\nadsmgmnt&#46;c&#58;\n\ttlib &#46;&#46;\\&#46;&#46;\\lib\\rddads&#46;lib -+&#46;&#46;\\&#46;&#46;\\obj\\b32\\adsmgmnt&#46;obj,,\nTLIB 4&#46;5 Copyright &#40;c&#41; 1987, 1999 Inprise Corporation\n\n[/code:3i951r0d]\n\nSaludos\nPatricio", "time": "21:43", "topic": "ADS version 7", "username": "Patricio Avalos Aguirre" } ]
ADS version 7
[ { "date": "2007-08-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi to all.\nI'm using ADS Server and I have connected to a database another one with a link and the name of this link is \"Second\".\nUsing a table inside this Second link is possible with the command :\nSelect * from Second.Customers where city = 'Rome'\nI'm trying to open the same table from the Use command and I have no success with it. The command Use(\"Second.Customers\") is not working.\nIs there some possibility to open a second table in this way ?\nThanks a lot.", "time": "07:19", "topic": "ADS wink link option", "username": "giuliano" } ]
ADS wink link option
[ { "date": "2007-08-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Simply use the table name:\n\nUSE customers shared new\n\nAnd thats all, there's no issue opening the same database serveral times.", "time": "17:03", "topic": "ADS wink link option", "username": "R.F." } ]
ADS wink link option
[ { "date": "2007-08-03", "forum": "FiveWin for Harbour/xHarbour", "text": "To use Select statements you need to use a Data Dictionary. It is a great advantage to use a Data Dictionary. In the DD you declare the path to each file. The Select statment will work on the DD where you are currently connected to.\n\nAs a side note: using DD you can set dbf files and directories as read only or even hidden from all users except the user that owns the ADS daemon. This will allow your application to work perfectly while connected to the DD while it protects your dbfs/cdxs/ntxs from being accesible via windows explorer or a dos prompt or anything else. Great for data security. Files can not be copied, looked at, deleted...\n\nI hope the first parragraph answers your question.\n\n\nReinaldo.", "time": "23:02", "topic": "ADS wink link option", "username": "reinaldocrespo" } ]
ADS wink link option
[ { "date": "2013-06-24", "forum": "FiveWin for Harbour/xHarbour", "text": "( Moved from another thread on a different topic )\n\nI am using the following:\n FWH 13.05\n Microsoft Visual C 2010\n Harbour ( Antonio's MSVC build dated 4/4/2013 )\n\nFor the Advantage Database Server, I have included rddads.lib and ace32.lib but they were not included in the build.\n\nThey do work with ADS 10 / 11 but not with 7 or 8.\n\nSupposedly there is a more recent set of files, but I don't have access to them, and these are supposedly compatible with all ADS versions, 6 through 11. I would appreciate obtaining them ASAP so I can test and see if they resolve my problem.\n\nTim", "time": "22:54", "topic": "ADS with FWH 13, Harbour and MSVC 2010", "username": "TimStone" } ]
ADS with FWH 13, Harbour and MSVC 2010
[ { "date": "2013-06-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim, are you compile com correct flags :\n\nSET ADS_LIB_VERSION=810 <<<< set for you version\nSET HB_DIR_ADS=\\_Lib\\Ace\\81038\n\nand in rddads check if detect you version:\n\n#if 0\n/* Compatibility ACE version override.\n Usage is discouraged and unnecessary unless we want to\n override autodetection. For the latter, ADS_LIB_VERSION\n is recommended. If ADS_LIB_VERSION is #defined,\n ADS_REQUIRE_VERSION will be ignored. [vszakats] */\n#if !defined( ADS_LIB_VERSION )\n #if ADS_REQUIRE_VERSION == 5\n #define ADS_LIB_VERSION 500\n #elif ADS_REQUIRE_VERSION == 6\n #define ADS_LIB_VERSION 600\n #elif ADS_REQUIRE_VERSION == 7\n #define ADS_LIB_VERSION 700\n #elif ADS_REQUIRE_VERSION == 8\n #define ADS_LIB_VERSION 810\n #elif ADS_REQUIRE_VERSION == 9\n #define ADS_LIB_VERSION 900\n #endif\n#endif\n#endif\n\n/* Make sure to not allow a manual override requesting\n a higher version than the one of ACE. [vszakats] */\n#if !defined( ADS_LIB_VERSION )\n #define ADS_LIB_VERSION _ADS_LIB_VERSION\n#elif ADS_LIB_VERSION > _ADS_LIB_VERSION\n #undef ADS_LIB_VERSION\n #define ADS_LIB_VERSION _ADS_LIB_VERSION\n#endif\n\n\nRegards", "time": "00:06", "topic": "ADS with FWH 13, Harbour and MSVC 2010", "username": "norberto" } ]
ADS with FWH 13, Harbour and MSVC 2010
[ { "date": "2013-06-25", "forum": "FiveWin for Harbour/xHarbour", "text": "With xHarbour, I have one version that works for all of them. I don't have to compile for different versions of ADS. That would be a nightmare.\n\nI do not have any of the source files for ADS in Harbour so I also can't rebuild libraries.\n\nTim", "time": "00:43", "topic": "ADS with FWH 13, Harbour and MSVC 2010", "username": "TimStone" } ]
ADS with FWH 13, Harbour and MSVC 2010
[ { "date": "2006-06-29", "forum": "FiveWin para Pocket PC", "text": "hola a todos, estoy tratando de compilar mi aplicacion para un MC3090 con WINCE, mi aplicacion ya corre y ya puedo grabar en forma remota a mis DBFs, ahora quiero implementar el uso del servidor ADS pero al compilar me dice que no estan las lib ACE32.LIB y RDDADS.LIB.\n\nLa primera ya la libre ya que converti el ACE32.DLL a DEF y luego a LIB para PPC tal como lo vi en otro topico de este foro, pero el problema biene con la RDDADS.LIB ya que no esta en el formato para PPC pero no se como convertirla a COFF ya que el borland solo esta COFF2OMF y tampoco tengo algun DEF ni DLL del RDDADS\n\nque puedo hacer? por su ayuda gracias\n\nSaludos. Alex.", "time": "20:07", "topic": "ADS y FWPPC", "username": "alex_cyr" } ]
ADS y FWPPC
[ { "date": "2006-06-29", "forum": "FiveWin para Pocket PC", "text": "Alex,\n\nLo primero es comprobar si existe una versión de las DLLs de ADS para Pocket PC. Que nosotros sepamos, no existe. Si no existe, no puedes usar ADS desde el Pocket PC.", "time": "20:19", "topic": "ADS y FWPPC", "username": "Antonio Linares" } ]
ADS y FWPPC
[ { "date": "2006-07-04", "forum": "FiveWin para Pocket PC", "text": "Pues va a ser que no.\n\nNo hay cliente ADS para Pocket PC, no puedes conectarte a ADS sin los DLLs del cliente.\n\nNi el AXWCS32.DLL ni el ACE32.DLL, son \"leibles\" por el RDDADS compilado para PPC.\n\nLlevo un tiempo preguntado en Extended Systems sobre la posibilidad de tener un cliente para PPC, pero no estan mucho por la labor.\n\nSin embargo me comentan que el cliente JDBC podria funcionar, pero claro, habria que hacer todo en Java.", "time": "18:45", "topic": "ADS y FWPPC", "username": "R.F." } ]
ADS y FWPPC
[ { "date": "2006-07-05", "forum": "FiveWin para Pocket PC", "text": "<!-- s:roll: --><img src=\"{SMILIES_PATH}/icon_rolleyes.gif\" alt=\":roll:\" title=\"Rolling Eyes\" /><!-- s:roll: --> es cierto no habia pensado en las librerias de ADS me estaba enfocando solo en la compilacion , gracias por su respuesta... voy a trabajar solo con mi servidor de archivos para afectar los dbfs desde la PPC y a travez de otro programa afecto mi base de datos ADS\n\n\nGracias <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "23:04", "topic": "ADS y FWPPC", "username": "alex_cyr" } ]
ADS y FWPPC
[ { "date": "2007-10-25", "forum": "FiveWin para Harbour/xHarbour", "text": "Estimados\n\nUna consulta archivos ADT de ADS\n\nresulta que cuando elimino un registro este desaparece como se hiciera un PACK, buscando las opciones tengo que muestre archvios deleted, le cambio e igual no los muestra, pero con archvos DBF funcionan sin ningun problema\n\nMi pregunta es si alguien le sucede lo mismo o hay que configurar algo?\n\nhe probado tanto en mi aplicacion y con el Data Arquitec de ADS e igual no los muestra\n\nCualquier ayuda es bienvenida", "time": "15:06", "topic": "ADS y Archivos ADT", "username": "Patricio Avalos Aguirre" } ]
ADS y Archivos ADT
[ { "date": "2007-10-25", "forum": "FiveWin para Harbour/xHarbour", "text": "Patricio,\n\nen los archivos ADT se reciclan automaticamente los registros borrados, por lo que no se pueden recuperar una vez borrados, por lo menos es lo que yo entendi.\n\nsaludos\n\nMarcelo", "time": "17:22", "topic": "ADS y Archivos ADT", "username": "Marcelo Via Giglio" } ]
ADS y Archivos ADT
[ { "date": "2007-10-25", "forum": "FiveWin para Harbour/xHarbour", "text": "entonces no es tan bueno como parece ser,,\n\nese punto es un lado flaco,\n\nte inmaginas que el usuario borre por error los registros?\n\n\ntendrias que reprogramar tu aplicacion, \n\nagregar un campo logico a las tablas,,\n\n\nsaludos..", "time": "19:19", "topic": "ADS y Archivos ADT", "username": "sysctrl2" } ]
ADS y Archivos ADT
[ { "date": "2007-10-25", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias Marcelo por la aclaracion \n\nvoy a tener que hacer una nueva base e insertar los archivos borrados, ya que me gusta saber que usuario ha borrado..", "time": "19:43", "topic": "ADS y Archivos ADT", "username": "Patricio Avalos Aguirre" } ]
ADS y Archivos ADT
[ { "date": "2007-10-25", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"sysctrl2\":6ldty1i6]entonces no es tan bueno como parece ser,,\n\nese punto es un lado flaco,\n\n[/quote:6ldty1i6]\n\nJe je je, los SQLs \"reales\" tampoco hacen un \"pack\" cuando un registro se borra, adios, se borró.\n\nrecuerda que ADS ahora esta mas enfocado a un mercado basado en SQL que en el modelo xBase tradicional\n\nSaludos desde Chile, la proxima semana en Buenos Aires", "time": "22:54", "topic": "ADS y Archivos ADT", "username": "R.F." } ]
ADS y Archivos ADT
[ { "date": "2007-10-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola\n\nCompañeros para eso existen los triggers en SQL, para estos casos. <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\nSaludos\nMarco A. Delgado", "time": "19:42", "topic": "ADS y Archivos ADT", "username": "Marco A. Delgado" } ]
ADS y Archivos ADT
[ { "date": "2007-10-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Hi Rene,,\n\nestamos tan acostumbrados a los delted en xbase\n\nque se nos hace preocupante este tema jejeje,\n\npero bueno meteremos un campo bolean en las tablas\n\npara controlar esto,,\n\n\nsaludos....", "time": "23:13", "topic": "ADS y Archivos ADT", "username": "sysctrl2" } ]
ADS y Archivos ADT
[ { "date": "2012-02-01", "forum": "Off Topic / Otros temas", "text": "Hola a todos: estoy tratando de usar ADS local con diccionario de datos.\n\nAlguien me puede decir como hacerlo o mostrarme un archivo .ADD como ejemplo.\nComo accedo al diccionario de datos en modo local?, como accedo a los archivos (bases.adt) desde programa?\n\nDisculpen y Muchas gracias.\n\nRuben Fernandez.", "time": "15:47", "topic": "ADS y Diccionario de datos", "username": "Ruben Fernandez" } ]
ADS y Diccionario de datos
[ { "date": "2005-12-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola a todos:\n\nVikthor se encuentra de vacaciones y Nacho Vizcaino me ha pedido hacerme cargo del programa de radio de Vik hoy Miercoles 7 de Diciembre y mañana Jueves 8.\n\nHoy hablaremos de ADS y el dia de mañana de FiveWin Pocket PC, y estaré abierto para recibir sus dudas e inquietudes via messenger en :\n\n<!-- e --><a href=\"mailto:RadioCreswin@hotmail.com\">RadioCreswin@hotmail.com</a><!-- e -->\n\n\nAsi que \"Listo el Pollo\" tendra una \"doble dosis\" de RF hoy y mañana de 8:00 pm a 9:30 HOra de la Ciudad de Mexico (GMT -6).\n\nRadio CresWin se transmite por internet y pueden conectarse con WinAmp, iTunes, Windows Media en :\n\n<!-- m --><a class=\"postlink\" href=\"http://radio.creswin.com:8000/listen.pls\">http://radio.creswin.com:8000/listen.pls</a><!-- m -->", "time": "00:42", "topic": "ADS y FWPPC en Radio Creswin", "username": "R.F." } ]
ADS y FWPPC en Radio Creswin
[ { "date": "2005-12-08", "forum": "FiveWin para CA-Clipper", "text": "Hola a todos: \n\nVikthor se encuentra de vacaciones y Nacho Vizcaino me ha pedido hacerme cargo del programa de radio de Vik hoy Miercoles 7 de Diciembre y mañana Jueves 8. \n\nHoy hablaremos de ADS y el dia de mañana de FiveWin Pocket PC, y estaré abierto para recibir sus dudas e inquietudes via messenger en :\n\n<!-- e --><a href=\"mailto:RadioCreswin@hotmail.com\">RadioCreswin@hotmail.com</a><!-- e -->\n\nAsi que \"Listo el Pollo\" tendra una \"doble dosis\" de RF hoy y mañana de 8:00 pm a 9:30 HOra de la Ciudad de Mexico (GMT -6). \n\nRadio CresWin se transmite por internet y pueden conectarse con WinAmp, iTunes, Windows Media en : \n\n<!-- m --><a class=\"postlink\" href=\"http://radio.creswin.com:8000/listen.pls\">http://radio.creswin.com:8000/listen.pls</a><!-- m -->", "time": "00:47", "topic": "ADS y FWPPC en radio Creswin hoy y mañana", "username": "R.F." } ]
ADS y FWPPC en radio Creswin hoy y mañana
[ { "date": "2013-01-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola,\n\nEstoy desarrollando un Modulo en PHP que trabaja con ADS y simultanamente un programa de FWH que usan los mismos datos.\nSe me presenta que el sistema de escritorio alguien toma un registro y lo coloca lock si accedo desde PHP e intento actualizar el mismo registro me da un error.\nLa pregunta es como puedo chequear en PHP que un registro esta LOCK por otro usuario y mostrar un mensaje de error,\nno encuentro ninguna instruccion dentro del manual.\n\nGracias por su ayuda,", "time": "21:02", "topic": "ADS y PHP", "username": "audisys" } ]
ADS y PHP
[ { "date": "2009-09-30", "forum": "FiveWin para Harbour/xHarbour", "text": "Estimados\n\nAlguien sabe como borrar un campo IMAGE de ADS y tablas ADT\n\nlo estoy haciendo de este manera pero veo que no baja \nlos MB/GB de la base de datos?\n[code=fw:bnyowhvk]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">recepdoc->IMAGEN := SPACE<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">10</span><span style=\"color: #000000;\">&#41;</span></div>[/code:bnyowhvk]\nlo hago con varios registro, la verdad que ya no se ve la imagen pero \nel archivo .ADM sigue con los mismos GB ya esta por llegar los 4GB que es el tope para este tipo de campos", "time": "22:24", "topic": "ADS y campo IMAGE", "username": "Patricio Avalos Aguirre" } ]
ADS y campo IMAGE
[ { "date": "2009-09-30", "forum": "FiveWin para Harbour/xHarbour", "text": "la solucion es haciendo un \n\n[code=fw:1sf0cgr6]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">PACK<br /> </div>[/code:1sf0cgr6]\nraro ya que tengo entendido que no se usa PACK para las tablas ADT\n\nBUENO POR LO MENOS BAJARON LAS GB <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "22:44", "topic": "ADS y campo IMAGE", "username": "Patricio Avalos Aguirre" } ]
ADS y campo IMAGE
[ { "date": "2014-11-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola,\n\nMe gustaría saber si la última versión de ADS, creo que es la 11, soporta los campos Time, \"T\", que han incorporado Harbour y xHarbour.\n\n¿Y qué ventajas tiene la v.11 sobre la v.10 por favor?.", "time": "13:39", "topic": "ADS y campos Time- T", "username": "MOISES" } ]
ADS y campos Time- T
[ { "date": "2016-06-06", "forum": "FiveWin para Harbour/xHarbour", "text": "Amigos,\n\nreferente:\nINDEX ON str(filial,2)+str(cliente,6) to ...\n\nExemplo:\n\nUtilizando ADS - Funciona perfeitamente <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->\nnContaRegistros := 0\nclientes->( dbsetorder(1), dbseek( str(nFilial,2)+str(nCliente,6) ) )\ndo while clientes->filial = nFilial .and. clientes->codigo = nCliente .and. clientes->(!eof())\n nContaRegistros ++\n clientes->(dbskip())\nenddo\n? nContaRegistros // total 423 <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->\n\n-----------------------------------------------------------------------\n\nUtilizando ADS - Não funciona <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( --> \nnContaRegistros := 0\nclientes->( dbsetorder(1), dbseek( str(nFilial,2) ) )\ndo while clientes->filial = nFilial .and. clientes->(!eof())\n nContaRegistros ++\n clientes->(dbskip())\nenddo\n? nContaRegistros // total 5 <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( --> \n\nO ADS só permite trabalhar com índice composto integral ??? \nExiste alguma saída para isso?\n\nobrigado", "time": "17:52", "topic": "ADS Índice Composto ( SOLUCIONADO )", "username": "MGA" } ]
ADS Índice Composto ( SOLUCIONADO )