messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2016-06-06", "forum": "FiveWin para Harbour/xHarbour", "text": "No caso do ADS, não seria:\n\n[code=fw:28hglxwo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />CREATE <span style=\"color: #0000ff;\">INDEX</span> ??<br />&nbsp;</div>[/code:28hglxwo]", "time": "19:22", "topic": "ADS Índice Composto ( SOLUCIONADO )", "username": "karinha" } ]
ADS Índice Composto ( SOLUCIONADO )
[ { "date": "2016-06-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Falta en el Dbseek un \".T.\"\n\n\n[code=fw:1on1b8ak]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">Utilizando ADS - Não funciona :<span style=\"color: #000000;\"><span style=\"color: #000000;\">&#40;</span></span> <br />nContaRegistros := <span style=\"color: #000000;\">0</span><br />clientes-><span style=\"color: #000000;\">&#40;</span> dbsetorder<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#41;</span>, dbseek<span style=\"color: #000000;\">&#40;</span> str<span style=\"color: #000000;\">&#40;</span>nFilial,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#41;</span>, .T. <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">do</span> <span style=\"color: #00C800;\">while</span> clientes->filial = nFilial .and. clientes-><span style=\"color: #000000;\">&#40;</span>!eof<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br />nContaRegistros ++<br />clientes-><span style=\"color: #000000;\">&#40;</span>dbskip<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">enddo</span><br />? nContaRegistros <span style=\"color: #B900B9;\">// total 5 &nbsp;:( </span></div>[/code:1on1b8ak]", "time": "17:20", "topic": "ADS Índice Composto ( SOLUCIONADO )", "username": "fgondi" } ]
ADS Índice Composto ( SOLUCIONADO )
[ { "date": "2016-06-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Obrigado a todos, \n\nsegue a solução:\n\n<!-- m --><a class=\"postlink\" href=\"http://devzone.advantagedatabase.com/dz/Content.aspx?Key=17&RefNo=031204-1609\">http://devzone.advantagedatabase.com/dz ... 31204-1609</a><!-- m -->\n\nTitle:\nSlow Performance, Unexpected Sort Order, Incorrect SQL Results After Converting From DBF to ADT Tables\nProblem Description:\nWith DBF format tables creating a multi-segmented index is done with the plus ( + ) operator. A multi-segmented index expression would look like this: Field1 + Field2 + Field3. If this type of index expression is used in an ADT table there are potential performance issues, as well as a possibility for unexpected sort order results. \n\nIn version 6.x the performance issue is a result of the Advantage Server incorrectly using the multi-segmented index which contains the plus operator. In version 7.0 the Advantage Server was changed such that indexes with the plus operator were ignored. In either case performance is adversely affected. \n\nThe incorrect sort order problem is due to the fact that if one field in a multi-segmented index is NULL, the entire index key will evaluate to null. The null key can also cause problems for queries as the index would be used to to optimize a search.\nSolution:\nThe solution to these problems is to change the operator used to create the multi-segmented index from the plus ( + ) operator to the semicolon ( ; ) operator. Using the semicolon operator will avoid all the problems mentioned above.", "time": "20:32", "topic": "ADS Índice Composto ( SOLUCIONADO )", "username": "MGA" } ]
ADS Índice Composto ( SOLUCIONADO )
[ { "date": "2017-01-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Recentemente adquirimos a licença referente ao Advanced Database Server e estou com problemas referente a conexão no servidor linux \nUtilizando a função:\n\nAdsConnect60( //192.168.1.27:6262/home/sg/bases/sguario/ser.ads.chico/sgsdatabase.add, 7, \"ADSSYS\" ,\"\" , 0, @hConnection )\n\n\nError 5004: Either ACE could not find the specified file, or you do not have sufficient rights to access the file. The data dictionary file (//192.168.1.27:6262/home\\sg\\bases\\sguario\\ser.ads.chico\\sgsdatabase.add) is not found on the server.", "time": "12:39", "topic": "ADS(linux) Error 5004", "username": "MGA" } ]
ADS(linux) Error 5004
[ { "date": "2017-01-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Mira se ayuda:\n\n[url:3gavmops]http&#58;//infocenter&#46;sybase&#46;com/help/index&#46;jsp?topic=/com&#46;sybase&#46;infocenter&#46;dc01698&#46;0211/doc/html/mqu1304034541948&#46;html[/url:3gavmops]", "time": "14:04", "topic": "ADS(linux) Error 5004", "username": "karinha" } ]
ADS(linux) Error 5004
[ { "date": "2017-01-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Karinha,\n\nobrigado por responder, eu já tinha visto esta solução, mais no meu caso é LINUX.\n\nobrigado", "time": "14:59", "topic": "ADS(linux) Error 5004", "username": "MGA" } ]
ADS(linux) Error 5004
[ { "date": "2017-01-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Viu isto?\n\n[url:2kezonrt]http&#58;//harbourlanguage&#46;blogspot&#46;com&#46;br/2012/03/understanding-harbour-rddads&#46;html[/url:2kezonrt]\n\n[url:2kezonrt]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=6&t=22084[/url:2kezonrt]", "time": "15:21", "topic": "ADS(linux) Error 5004", "username": "karinha" } ]
ADS(linux) Error 5004
[ { "date": "2017-01-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Karinha, \n\nisso não tinha visto, parece interessante, vou testar e aviso se deu certo!\n\nobrigado", "time": "17:27", "topic": "ADS(linux) Error 5004", "username": "MGA" } ]
ADS(linux) Error 5004
[ { "date": "2017-01-23", "forum": "FiveWin para Harbour/xHarbour", "text": "Pessoal,\n\nconseguimos resolver, tem haver com configuração de rede(RESOLV.CONF do linux) Re-configuramos e funcionou.\n\nmuito obrigado", "time": "13:48", "topic": "ADS(linux) Error 5004", "username": "MGA" } ]
ADS(linux) Error 5004
[ { "date": "2017-01-17", "forum": "FiveWin for Harbour/xHarbour", "text": "We recently acquired the license for the Advanced Database Server and I am having problems regarding the connection on the linux server\nUsing the function:\n\nAdsConnect60( //192.168.1.27:6262/home/sg/bases/sguario/ser.ads.chico/sgsdatabase.add, 7, \"ADSSYS\" ,\"\" , 0, @hConnection )\n\n\nError 5004: Either ACE could not find the specified file, or you do not have sufficient rights to access the file. The data dictionary file (//192.168.1.27:6262/home\\sg\\bases\\sguario\\ser.ads.chico\\sgsdatabase.add) is not found on the server.", "time": "12:39", "topic": "ADS(linux) Error 5004 (solved)", "username": "MGA" } ]
ADS(linux) Error 5004 (solved)
[ { "date": "2017-01-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Sgs,\n\nADS for linux is case sensitive. Pay attention for the name of the files. In Linux, customer is different of CUSTOMER.", "time": "13:16", "topic": "ADS(linux) Error 5004 (solved)", "username": "vilian" } ]
ADS(linux) Error 5004 (solved)
[ { "date": "2017-01-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Vilian,\n\nThanks for replying, I'm theoretically aware of what you're mentioning, but even then the problem occurs.", "time": "14:46", "topic": "ADS(linux) Error 5004 (solved)", "username": "MGA" } ]
ADS(linux) Error 5004 (solved)
[ { "date": "2017-01-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Sgs,\n\nI have solved this problem here changing the name of all files to lowercase.", "time": "15:18", "topic": "ADS(linux) Error 5004 (solved)", "username": "vilian" } ]
ADS(linux) Error 5004 (solved)
[ { "date": "2017-01-17", "forum": "FiveWin for Harbour/xHarbour", "text": "thanks Vilian", "time": "18:53", "topic": "ADS(linux) Error 5004 (solved)", "username": "MGA" } ]
ADS(linux) Error 5004 (solved)
[ { "date": "2017-01-20", "forum": "FiveWin for Harbour/xHarbour", "text": "I also like to use server aliases to avoid all those long path names. \n\nOn adsserver.ini have this line:\n\n[ServerAliases]\nMp10=/long path name\n\nNow change your long path name to Mp10. That's all. BTW, you don't need to share the directory. I like to keep it owned by the \"advantage\" user/group and set to 660 which means that only the owner can read/write. In this manner no other user but the server service has access to the data. Workstations can only access data when rightfully connected to the data dictionary. \n\nReinaldo.", "time": "22:49", "topic": "ADS(linux) Error 5004 (solved)", "username": "reinaldocrespo" } ]
ADS(linux) Error 5004 (solved)
[ { "date": "2017-01-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Thank you all for your help. We have identified that the problem has to do with the LINUX network configuration: resolv.conf, we had to reconfigure.", "time": "13:45", "topic": "ADS(linux) Error 5004 (solved)", "username": "MGA" } ]
ADS(linux) Error 5004 (solved)
[ { "date": "2013-06-29", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola a todos.\n\nEn las últimas versiones de xharbour/harbour que tengo de FTDN, no encuentro este archivo de cabercera, \"ads.ch\" ¿ Ya no es necesario ?.\nNecesito cambiar una aplicación para usar Advantage Database Server. Hace unos años hice una aplicación usando este gestor de bases de datos y en la versión que usé, la 0.99. de xharbour, si traía dicho archivo de cabecera. \n\n¿¿ Valdría en la que tengo ahora la 1.2.1. ó ya no es necesario. ??\n\nMuchas gracias \n\nUn saludo.\n\nxharbour 1.2.1 fivewin 13.01", "time": "20:10", "topic": "ADS.CH ¿ Dónde encontralo ?", "username": "rlblanco" } ]
ADS.CH ¿ Dónde encontralo ?
[ { "date": "2013-06-29", "forum": "FiveWin para Harbour/xHarbour", "text": "RL,\n\nSi, es necesario. Usa el que tengas o busca en la web del autor.\n\nGooglea con \"Advantage Database Server\" y lo tendrás.\n\nRolando <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "20:26", "topic": "ADS.CH ¿ Dónde encontralo ?", "username": "rolando" } ]
ADS.CH ¿ Dónde encontralo ?
[ { "date": "2013-06-30", "forum": "FiveWin para Harbour/xHarbour", "text": "Muchas gracias Rolando por la aclaración a mi duda.", "time": "00:46", "topic": "ADS.CH ¿ Dónde encontralo ?", "username": "rlblanco" } ]
ADS.CH ¿ Dónde encontralo ?
[ { "date": "2013-06-30", "forum": "FiveWin para Harbour/xHarbour", "text": "Ya tengo la aplicación funcionando en Advantage.\n\nMuchas gracias Rolando.", "time": "10:30", "topic": "ADS.CH ¿ Dónde encontralo ?", "username": "rlblanco" } ]
ADS.CH ¿ Dónde encontralo ?
[ { "date": "2013-06-30", "forum": "FiveWin para Harbour/xHarbour", "text": "Este es el sitio oficial de descargas para ADS:\n[url:dhenxnnr]http&#58;//www&#46;sybase&#46;com/products/databasemanagement/advantagedatabaseserver/client-engine-api[/url:dhenxnnr]", "time": "11:26", "topic": "ADS.CH ¿ Dónde encontralo ?", "username": "Antonio Linares" } ]
ADS.CH ¿ Dónde encontralo ?
[ { "date": "2013-06-30", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio,\n\nQuizás sería bueno por favor que en las builds de Fivetech se incluya include\\ads.ch y ace32.lib y rddads.lib por defecto, para facilitar a los usuarios las actualizaciones.\n\nMuchas gracias.", "time": "16:09", "topic": "ADS.CH ¿ Dónde encontralo ?", "username": "lucasdebeltran" } ]
ADS.CH ¿ Dónde encontralo ?
[ { "date": "2013-06-30", "forum": "FiveWin para Harbour/xHarbour", "text": "Saludos !\nEn la carpeta xharbour\\winmake\\readme.txt consigues informacion donde descargar varios ficheros para las contribs, su contenido es este\n\n/*\n * $Id: readme.txt 9768 2012-10-18 00:39:45Z andijahja $\n * Notes on building xHarbour\n*/\n\nThe following are some environment set-ups which are required to build\ncustom xHarbour:\n\nSET HB_NO_BACKGROUND=\nWhen set to 1, xHarbour will not use background task routines in ST mode\n\nSET HB_GUI=\nWhen set to 1, xHarbour will disregard keyboard interrupt wiich is not very\nuseful in GUI mode\n\nSET HB_NO_VM_ALL=\nWhen set, VM modules will not be amalgamated.\n\nSET HB_NO_FM_DL_ALLOC=\nWhen set, xHarbour will use compiler's native memory manager\n\nSET HB_DIR_POSTGRESQL=<install dir>\nRequired to build libhbpg.lib and sddpg.lib\nDownload URL: <!-- m --><a class=\"postlink\" href=\"http://postgresql.org/download/\">http://postgresql.org/download/</a><!-- m -->\n\nSET HB_DIR_OCILIB=<install dir>\nRequired to build sddoci.lib\nDownload URL: <!-- m --><a class=\"postlink\" href=\"http://orclib.sourceforge.net/\">http://orclib.sourceforge.net/</a><!-- m -->\n\nSET HB_DIR_MYSQL=<install dir>\nRequired to build mysql.lib and sddmy.lib\nDownload URL: <!-- m --><a class=\"postlink\" href=\"http://mysql.com/\">http://mysql.com/</a><!-- m -->\n\nSET HB_DIR_FIREBIRD=<install dir>\nRequired to build firebird.lib and sddfb.lib\nDownload URL: <!-- m --><a class=\"postlink\" href=\"http://firebirdsql.org/\">http://firebirdsql.org/</a><!-- m --> \n\nSET HB_DIR_CAIRO=<install dir>\nRequired to build hbcairo.lib\nDownload URL: <!-- m --><a class=\"postlink\" href=\"http://cairographics.org/\">http://cairographics.org/</a><!-- m --> \n\nSET HB_DIR_CURL=<install dir>\nRequired to build hbcurl.lib\nDownload URL: <!-- m --><a class=\"postlink\" href=\"http://curl.haxx.se/\">http://curl.haxx.se/</a><!-- m -->\n\nSET HB_DIR_OPENSSL=<install dir>\nRequired to build tipssl.lib\nDownload URL: <!-- m --><a class=\"postlink\" href=\"http://slproweb.com/products/Win32OpenSSL.html\">http://slproweb.com/products/Win32OpenSSL.html</a><!-- m -->\n\nSET HB_DIR_ALLEGRO=<install dir>\nRequired to build gtalleg.lib\nDownload URL: <!-- m --><a class=\"postlink\" href=\"http://alleg.sourceforge.net/\">http://alleg.sourceforge.net/</a><!-- m -->\n\nSET HB_DIR_MAGIC=<install dir>\nRequired to build hbmagic.lib\nDownload URL: <!-- m --><a class=\"postlink\" href=\"ftp://ftp.astron.com/pub/file/file-5.04.tar.gz\">ftp://ftp.astron.com/pub/file/file-5.04.tar.gz</a><!-- m -->\n\nSET HB_DIR_ADS=<install dir>\nRequired to build rdads.lib\nDownload URL: <!-- m --><a class=\"postlink\" href=\"http://devzone.advantagedatabase.com/dz/content.aspx?Key=20\">http://devzone.advantagedatabase.com/dz ... spx?Key=20</a><!-- m -->", "time": "16:32", "topic": "ADS.CH ¿ Dónde encontralo ?", "username": "compubrion" } ]
ADS.CH ¿ Dónde encontralo ?
[ { "date": "2013-07-01", "forum": "FiveWin para Harbour/xHarbour", "text": "Muchas gracias a todos por tan importante ayuda.\n\nA vuestra disposición.\nUn saludo.", "time": "20:13", "topic": "ADS.CH ¿ Dónde encontralo ?", "username": "rlblanco" } ]
ADS.CH ¿ Dónde encontralo ?
[ { "date": "2006-02-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Si uso indices CDX con ads, ¿puedo usar EVAL al indexar un archivo?.\n\n Estoy haciendo algunas pruebas y aparentemente ignora los comandos que envio en el EVAL.\n\n[code:n26phb1r] use Agentes New Exclusive\n\tif &#40;!NETERR&#40;&#41;&#41;\n\t\tpack\n\t\terase&#40;\"Agentes&#46;cdx\"&#41;\n index on Numero tag Numero for &#46;not&#46; deleted&#40;&#41; EVAL &#40;msginfo&#40;'indexando registro'&#41;&#41; EVERY 1\n endIf\n[/code:n26phb1r]\n\nUso FWH 2.4,XHarbour 0.99.3 y ADS local 7.1\n\nDe antemano muchas gracias.\n\nJosé Rìos.", "time": "05:56", "topic": "ADS: Por favor saquenme de esta duda.", "username": "José Ríos" } ]
ADS: Por favor saquenme de esta duda.
[ { "date": "2006-02-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Vamos, tan solo quiero que alguien me diga si no se puede usar EVAL al indexar usando ADS. Me interesa usar EVAL para poner un meter en mi rutina de reindexacion, pero no si si estoy haciendo algo mal o simplemente EVAL no es una funcion admitida por ADS.\n\n¿Alguien ha usado EVAL reindexando con ADS?.\n\nSaludos.", "time": "17:12", "topic": "ADS: Por favor saquenme de esta duda.", "username": "José Ríos" } ]
ADS: Por favor saquenme de esta duda.
[ { "date": "2006-02-07", "forum": "FiveWin para Harbour/xHarbour", "text": "No es posible hacer lo que quieres.\n\nHay que entender un poco como funciona ADS cuando se hace un indice contra lo que hace xHarbour o Clipper\n\nBajo Clipper / (x)Harbour un proceso de reindexacion, en realidad lo que hace es un DO WHILE EOF para todos los registros de la base de datos. Cada registro de la base de datos es enviado al maquina que esta corriendo indices se realiza el indice, se incluye en el archivo NTX/CDX y se continua con el proceso, por eso, tu puedes utilizar la clausula EVAL, la cual se va a evaluar EVERY numero de registros. Ya que tu programa tiene el control, puede ejecutar las instrucciones que tienes en EVAL cada \"x\" numeros de registros.\n\nCon ADS no pasa esto, cuando tu pidex indexar un DBF, la instruccion de indexacion no es procesada por tu programa, tu programa le envia a ADS la instruccion de indexacion, y a partir de ahi, tu ya no tienes control sobre el proceso, ADS se encargara de hacer el indice y solo retomaras el control del programa hasta que ADS termine de indexar.\n\nPor ello no es posible utilizar la clausula EVAL.", "time": "18:03", "topic": "ADS: Por favor saquenme de esta duda.", "username": "R.F." } ]
ADS: Por favor saquenme de esta duda.
[ { "date": "2006-02-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Muchas gracias por la respuesta Rene.\n\n\nSaludos.", "time": "00:53", "topic": "ADS: Por favor saquenme de esta duda.", "username": "José Ríos" } ]
ADS: Por favor saquenme de esta duda.
[ { "date": "2006-02-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Trata este codigo. A mi me funciona pero la barra del meter pasa tan rapido, si es que pasa, que no se nota nada en 250,000 registros\n\n// launch ADS's callback function\nadsRegCallBack( {|nPct| ;\n oMeter:set( oMeter:nTotal * Int( nPct / 10000 ) ), ;\n SysRefresh(), .F. } ) // return .F. is aborting not allowed\n\n// your indexing routine goes here\n INDEX ON FIELD->TRAN_NO TAG iTraNo FOR .NOT. DELETED() ;\n EVAL (oMeter:SET(recno()),oMeter:Refresh(), !lEnd) EVERY nTimes\n\n oMeter:Set(Reccount())\n oMeter:Refresh()\n SysRefresh()\n\n// release ADS's callback function\nadsClrCallBack()", "time": "16:30", "topic": "ADS: Por favor saquenme de esta duda.", "username": "George" } ]
ADS: Por favor saquenme de esta duda.
[ { "date": "2006-02-13", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias por el tip George. Lo voy a Probar.\n\n Saludos.\n\n José Ríos.", "time": "00:11", "topic": "ADS: Por favor saquenme de esta duda.", "username": "José Ríos" } ]
ADS: Por favor saquenme de esta duda.
[ { "date": "2006-11-14", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\n\nHow I can get <hConnect> to use in ADSBEGINTRANSACTION()?", "time": "12:31", "topic": "ADSBEGINTRANSACTION(<hConnect>)", "username": "vilian" } ]
ADSBEGINTRANSACTION(<hConnect>)
[ { "date": "2006-11-14", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\n\nUse AdsConnection()\n\nMight I suggest that you put your ads questions on the Xhb newsgroup? You'll find a lot more ads users there <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->\n\nAlex", "time": "14:14", "topic": "ADSBEGINTRANSACTION(<hConnect>)", "username": "AlexSchaft" } ]
ADSBEGINTRANSACTION(<hConnect>)
[ { "date": "2006-11-14", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\n\ncheck the parameter #6 of the adsconnect60 function \n\nsaludos\n\nMarcelo", "time": "17:09", "topic": "ADSBEGINTRANSACTION(<hConnect>)", "username": "Marcelo Via Giglio" } ]
ADSBEGINTRANSACTION(<hConnect>)
[ { "date": "2006-11-15", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\n\nThanks", "time": "01:46", "topic": "ADSBEGINTRANSACTION(<hConnect>)", "username": "vilian" } ]
ADSBEGINTRANSACTION(<hConnect>)
[ { "date": "2006-06-01", "forum": "FiveWin for Harbour/xHarbour", "text": "Two of my clients have suddenly started experiencing a problem that generates an ADS error 9006 ( cannot allocate memory ) with HB_xgrab.\n\nI cannot replicate, nor can I create a small code sample. The problem does not create an error.log file with this problem so I don't know what code triggers it.\n\nI do know that it happens across two different versions of xBuilder ( March 06, and October 05 ) , and their appropriate versions of FWH.\n\nThe software on the October release has been running since December without a problem and suddenly this error started occuring this morning. \n\nThe installation with the March release actually started having problems last week with memory related issues using the older release, then upgraded to the newer version and the problem increased.\n\nThe problem will occur when trying to run an area of the program where multiple files are opened and data is stored in memory for display on a series of folder pages ( FWH ).\n\nThe software uses ADS, but one system uses LOCAL server and the other is using CLIENT SERVER.\n\nOther clients with the same versions do not yet experience any problems.\n\nIt is my guess that either a piece of intrusive software is at play, but nothing shows up in testing, or a new security patch from Microsoft auto installed that may now conflict with xHarbour memory management.\n\nHas anyone seen any evidence of this error recently, and does anyone have any clues.\n\nTim", "time": "17:05", "topic": "ADSCDX 9006: HB-xgrab memory allocation error", "username": "TimStone" } ]
ADSCDX 9006: HB-xgrab memory allocation error
[ { "date": "2006-06-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim,\n\nThe problem you describe is very specific and it looks as a xharbour ADS RDD issue.\n\n> ADS error 9006 ( cannot allocate memory ) with HB_xgrab. \n\nYou could create a log file from such ADS call, so when the error happens then you will know what memory amount is requested to be allocated.", "time": "07:09", "topic": "ADSCDX 9006: HB-xgrab memory allocation error", "username": "Antonio Linares" } ]
ADSCDX 9006: HB-xgrab memory allocation error
[ { "date": "2006-06-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim:\n\nThat problem happends with DBF with memofields created with Clipper, SixDriver or Comix.\n\nThe problem is with the memosize block, which is not totally compatible with DBFCDX original format.\n\nThe 3rd. parties create the memo field with a size of 16 bytes, however, with the \"REAL\" FoxPro DBFCDX, the memo field should always been a 64 bytes long.\n\nHow to solve the problem:\n\nYou will need to create a brand new structure using the ARC tool.\n\nCreate a fresh structure with memofields with a memoblock size of 64 (default).\n\nAfter creating the new empty dbf, using CLIPPER, (you read it, CLIPPER) open the new created DBF, Clipper will open it without any problem, and then, using an APPEND FROM, import the data from the old database into the new created structure.\n\nIs very important that you create the new structre with ARC or using a xHarboour program.", "time": "10:04", "topic": "ADSCDX 9006: HB-xgrab memory allocation error", "username": "R.F." } ]
ADSCDX 9006: HB-xgrab memory allocation error
[ { "date": "2006-06-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Rene,\n\nYou should report this issue to Przemek as many users may face the same problem. Thanks.", "time": "10:07", "topic": "ADSCDX 9006: HB-xgrab memory allocation error", "username": "Antonio Linares" } ]
ADSCDX 9006: HB-xgrab memory allocation error
[ { "date": "2006-06-02", "forum": "FiveWin for Harbour/xHarbour", "text": "OK ... I hate to complicate the theory, but here are the facts:\n\n1) The DBF and FPT were created with xHarbour / FWH and the ADS DBFCDX driver.\n\n2) These have worked without failure now for several years.\n\n3) The company using ADS Client Server found a virus on one workstation, disconnected it from the network, and still had the problem. They restored to a point prior to the virus, after cleaning all of the computers, and everything works.\n\n4) The company using ADS LOCAL SERVER reports all machines are clean. However, apparently something occured on one computer that caused it to pass back corrupted data on two files. They did not have a viable backup. I tried exporting the data with ARC but that wouldn't work. dBase can't copy it either. dSalvage fixed a couple of small problems and says its OK. However, what worked was when I did an export using dClip41 ... but now apparently the client can't do an append to the files !\n\nI have posted this on the xHarbour board.", "time": "22:14", "topic": "ADSCDX 9006: HB-xgrab memory allocation error", "username": "TimStone" } ]
ADSCDX 9006: HB-xgrab memory allocation error
[ { "date": "2017-06-21", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola a todos.\n\nHace ya algunas semanas cambie mis libs de borland 5.8.2 cw32.lib a cw32mt.lib, tenia q hacer este cambio, pq empece a usar HDO (SQLite) de Manu Expósito y necesita esta lib, por el uso q hace de las funciones [b:28phx1cc]'__endthreadex'[/b:28phx1cc] y[b:28phx1cc] '__beginthreadex'.[/b:28phx1cc]\n\nDesde ese momento noto q mi app q usa Advantage me genera aleatoriamente este error :\n\n[b:28phx1cc]ADSCDX/5035 The requested lock culd not be guaranted.[/b:28phx1cc]\n\ny la aplicación se vuelve bastante inestable.\n\nMe gustaría saber si alguien le ha ocurrido algo similar y si ha conseguido solucionarlos, no me gustaría dejar de usar HDO, pq quiero empezar el largo proceso de migrar mis tablas a SQL, y HDO me es de mucha utilidad y va realmente bien.\n\nGracias a todos los q me podáis ayudar.\n\nSaludos.", "time": "09:28", "topic": "ADSCDX/5035 The requested lock culd not be guaranted.", "username": "manuelcalerosolis" } ]
ADSCDX/5035 The requested lock culd not be guaranted.
[ { "date": "2017-06-21", "forum": "FiveWin para Harbour/xHarbour", "text": "Mira esto: [url:1eyamvop]http&#58;//devzone&#46;advantagedatabase&#46;com/dz/Content&#46;aspx?Key=17&RefNo=040116-1620[/url:1eyamvop]", "time": "13:26", "topic": "ADSCDX/5035 The requested lock culd not be guaranted.", "username": "xmanuel" } ]
ADSCDX/5035 The requested lock culd not be guaranted.
[ { "date": "2017-06-21", "forum": "FiveWin para Harbour/xHarbour", "text": "Manu no uso triggers.\n\nSaludos.", "time": "17:32", "topic": "ADSCDX/5035 The requested lock culd not be guaranted.", "username": "manuelcalerosolis" } ]
ADSCDX/5035 The requested lock culd not be guaranted.
[ { "date": "2017-06-21", "forum": "FiveWin para Harbour/xHarbour", "text": "Aqui [url:2gyn4lrt]http&#58;//devzone&#46;advantagedatabase&#46;com/dz/webhelp/advantage9&#46;1/mergedProjects/adserror/err5xxx/advantage_5xxx_error_codes&#46;htm[/url:2gyn4lrt] tienes la lista de errores 5xx mira el 5035 a ver si es de eso...\n\nPor lo que he podido leer parece que otro ha bloqueado ese registro o antes de ser actualizado se ha borrado.\n\nSi buscas en google esto \"advantage error 5035\" te salen respuestas que tal vez te valgan...", "time": "19:32", "topic": "ADSCDX/5035 The requested lock culd not be guaranted.", "username": "xmanuel" } ]
ADSCDX/5035 The requested lock culd not be guaranted.
[ { "date": "2017-06-22", "forum": "FiveWin para Harbour/xHarbour", "text": "Manu, ya he buscado en google y lo q encuentro no me ha valido para nada de momento.\n\nGracias por tu interés.", "time": "09:13", "topic": "ADSCDX/5035 The requested lock culd not be guaranted.", "username": "manuelcalerosolis" } ]
ADSCDX/5035 The requested lock culd not be guaranted.
[ { "date": "2017-06-22", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"manuelcalerosolis\":10i0zi34]Hola a todos.\n\nHace ya algunas semanas cambie mis libs de borland 5.8.2 cw32.lib a cw32mt.lib, tenia q hacer este cambio, pq empece a usar HDO (SQLite) de Manu Expósito y necesita esta lib, por el uso q hace de las funciones [b:10i0zi34]'__endthreadex'[/b:10i0zi34] y[b:10i0zi34] '__beginthreadex'.[/b:10i0zi34]\n\nDesde ese momento noto q mi app q usa Advantage me genera aleatoriamente este error :\n\n[b:10i0zi34]ADSCDX/5035 The requested lock culd not be guaranted.[/b:10i0zi34]\n\ny la aplicación se vuelve bastante inestable.\n\nMe gustaría saber si alguien le ha ocurrido algo similar y si ha conseguido solucionarlos, no me gustaría dejar de usar HDO, pq quiero empezar el largo proceso de migrar mis tablas a SQL, y HDO me es de mucha utilidad y va realmente bien.\n\nGracias a todos los q me podáis ayudar.\n\nSaludos.[/quote:10i0zi34]\n\nTry adding this parameter at startup\n\n[code=fw:10i0zi34]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />AdsTestRecLocks<span style=\"color: #000000;\">&#40;</span> .T. <span style=\"color: #000000;\">&#41;</span><br />&nbsp;</div>[/code:10i0zi34]", "time": "18:10", "topic": "ADSCDX/5035 The requested lock culd not be guaranted.", "username": "Giovany Vecchi" } ]
ADSCDX/5035 The requested lock culd not be guaranted.
[ { "date": "2017-06-23", "forum": "FiveWin para Harbour/xHarbour", "text": "The requested lock could not be granted. The file or record may be locked by another user. \nThis error can also occur when using the Advantage proprietary table type (ADTs) and the current record has been deleted.\n\nLinux Note If using a pre-2.4 kernel, it is possible to get this error because of an incorrect lock offset range. See USE_LOW_LOCK_OFFSETS for more details.", "time": "01:21", "topic": "ADSCDX/5035 The requested lock culd not be guaranted.", "username": "russimicro" } ]
ADSCDX/5035 The requested lock culd not be guaranted.
[ { "date": "2008-06-13", "forum": "FiveWin para Harbour/xHarbour", "text": "Que otra vez yo!.. \r\nGracia a la ayuda de nuestro amigo antonio pude compilar mi primer programas para quere usar el RDD, pero cuando intento abrir una base de datos me da el error ADSCDX/6082, me podrìan decir por favor a que se debe este error? \r\nDonde puedo encontrar el detalle de los errores como salian antes en el clipper con el NG? \r\nPD: estoy siguiendo los pasos del ejemplo que trae el FWH, el programa testxbrw.prg \r\n\r\nMuchas gracias.", "time": "16:13", "topic": "ADSCDX/6082 Error open : xxxxx.dbf", "username": "jlsg1803" } ]
ADSCDX/6082 Error open : xxxxx.dbf
[ { "date": "2008-06-14", "forum": "FiveWin para Harbour/xHarbour", "text": "Me contesto, realizando muchas pruebas este error se corrige copiando el adsloc32.dll en el directorio de mi archivos DBF......\r\nEs impresionante ver la rapidez con la que se crean lo indices con el ADS....me he quedado atonito!!!....espectacular!!!!!!!\r\nPor favor si alguien tiene alguna documentacion sobre este manejador se lo agradeceria", "time": "19:34", "topic": "ADSCDX/6082 Error open : xxxxx.dbf", "username": "jlsg1803" } ]
ADSCDX/6082 Error open : xxxxx.dbf
[ { "date": "2013-09-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear All,\n\nI've got this error while to use DbCloseAll() function with ADS. It has data open but error as subject and code.\n[code=fw:199vu93a]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">Application<br />==========<br />&nbsp; &nbsp;Path and <span style=\"color: #0000ff;\">name</span> : <span style=\"color: #000000;\">D</span>:\\V5\\EZ4POS\\<span style=\"color: #0000ff;\">Release</span>\\EZ4POS5.EXE <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">32</span> bits<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Gr??e : <span style=\"color: #000000;\">4</span>,<span style=\"color: #000000;\">847</span>,<span style=\"color: #000000;\">616</span> bytes<br />&nbsp; &nbsp;Time <span style=\"color: #0000ff;\">from</span> start : <span style=\"color: #000000;\">0</span> hours <span style=\"color: #000000;\">0</span> mins <span style=\"color: #000000;\">14</span> secs <br />&nbsp; &nbsp;Error occurred <span style=\"color: #00C800;\">at</span> : <span style=\"color: #000000;\">11</span>/<span style=\"color: #000000;\">09</span>/<span style=\"color: #000000;\">13</span>, <span style=\"color: #000000;\">13</span>:<span style=\"color: #000000;\">38</span>:<span style=\"color: #000000;\">24</span><br />&nbsp; &nbsp;Error description : <span style=\"color: #000000;\">Error</span> ADSCDX/<span style=\"color: #000000;\">5023</span> &nbsp;Read error<br /><br />Stack Calls<br />===========<br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span> : <span style=\"color: #000000;\">D</span>:\\V5\\EZ4POS\\EZCASH1.PRG => <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>CASHIER<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">41</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span> : &nbsp;=> DBCLOSEALL<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">0</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span> : <span style=\"color: #000000;\">D</span>:\\V5\\EZ4POS\\EZPOS.PRG => NOWQUIT<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">2979</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span> : <span style=\"color: #000000;\">D</span>:\\V5\\EZ4POS\\EZPOS.PRG => LOGOFF<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">3949</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span> : <span style=\"color: #000000;\">D</span>:\\V5\\EZ4POS\\EZPOS.PRG => <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">466</span><span style=\"color: #000000;\">&#41;</span></div>[/code:199vu93a]\nThank you in advance for any help and idea.", "time": "07:48", "topic": "ADSCDX\\5023 error", "username": "dutch" } ]
ADSCDX\5023 error
[ { "date": "2013-09-11", "forum": "FiveWin for Harbour/xHarbour", "text": ".........\nhb_waEval( {|| (Alias())->(DbClearRelation())} )\ndbCloseAll()", "time": "12:10", "topic": "ADSCDX\\5023 error", "username": "Dima" } ]
ADSCDX\5023 error
[ { "date": "2013-09-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Dima,\n\nI think so. Because the new xHarbour 1.2.3, I cannot close the main database file before close related file. It will show an error \"Read Error\".\n\nWhich library has contain the hb_waEval() function? I cannot compile with xHB 1.2.3 and FWH1305.\n[quote=\"Dima\":8wwfrv0d].........\nhb_waEval( {|| (Alias())->(DbClearRelation())} )\ndbCloseAll()[/quote:8wwfrv0d]\n\nThanks in advance.", "time": "02:59", "topic": "ADSCDX\\5023 error", "username": "dutch" } ]
ADSCDX\5023 error
[ { "date": "2013-09-12", "forum": "FiveWin for Harbour/xHarbour", "text": "hb_waEval() -> Harbour 2.0\n\n[code=fw:u1i2xdsy]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />amas:=aGetWorkAreas<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// FW</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> len<span style=\"color: #000000;\">&#40;</span>amas<span style=\"color: #000000;\">&#41;</span>#<span style=\"color: #000000;\">0</span><br /> <span style=\"color: #00C800;\">for</span> each als in amas<br /><span style=\"color: #000000;\">&#40;</span>als<span style=\"color: #000000;\">&#41;</span>-><span style=\"color: #000000;\">&#40;</span>DbClearRelation<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span><br /> <span style=\"color: #00C800;\">next</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br />DbCloseAll<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:u1i2xdsy]", "time": "07:12", "topic": "ADSCDX\\5023 error", "username": "Dima" } ]
ADSCDX\5023 error
[ { "date": "2013-09-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Dima,\n\nThank you so much, it works fine now.", "time": "03:36", "topic": "ADSCDX\\5023 error", "username": "dutch" } ]
ADSCDX\5023 error
[ { "date": "2007-03-26", "forum": "FiveWin para Harbour/xHarbour", "text": "Me ha sido imposible hasta el momento estrenar mi FW701, porque la tdbfh, no encuentra estas funciones, alguien podria decime que hacer, El caso es que la version que tengo Fw24 funciona perfecto. Yarecompila mi tdbf con el xharbour que trae el cd de fw701 . ayuda por favor...", "time": "22:53", "topic": "ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH", "username": "Miguel Salas" } ]
ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH
[ { "date": "2007-03-26", "forum": "FiveWin para Harbour/xHarbour", "text": "Miguel,\n\nPuedes enviarme por email la clase tdbfh ? gracias,", "time": "23:32", "topic": "ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH", "username": "Antonio Linares" } ]
ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH
[ { "date": "2007-03-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Miguel,\n\nLas funciones que comentas estan en el módulo HBFORCE.C de la librería.\n\nTienes que compilarlo e incluirlo al enlazar.", "time": "07:15", "topic": "ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH", "username": "Antonio Linares" } ]
ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH
[ { "date": "2007-03-29", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio:\n\nYa incluí la hbforce, esos errores quedaron resueltos, solo quq ahora me dice que falta la funcion _ADS , la llama del TUTIL de la TDBFH con REQUEST , y aparte en mi modulo principal:\n\n#ifdef __HARBOUR__\n #INCLUDE \"ADS.CH\"\n REQUEST _ADS\n REQUEST AdsKeyNo\n REQUEST AdsKeyCount\n REQUEST AdsGetRelKeyPos\n REQUEST AdsSetRelKeyPos\n#endif\n\nde donde me falto ponerla?", "time": "21:33", "topic": "ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH", "username": "Miguel Salas" } ]
ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH
[ { "date": "2007-03-29", "forum": "FiveWin para Harbour/xHarbour", "text": "Miguel,\n\nCambia\n\n REQUEST _ADS\n\npor\n\n REQUEST ADS", "time": "21:51", "topic": "ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH", "username": "Antonio Linares" } ]
ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH
[ { "date": "2007-03-29", "forum": "FiveWin para Harbour/xHarbour", "text": "ya avance mas ahora tengo esto:\n\nError occurred at: 29/03/2007, 15:06:10\n Error description: Error BASE/1005 Message not found: TINDEX:_ODBF\n\nStack Calls\n===========\n Called from: => TINDEX:ERROR(175)\n Called from: tobject.prg => (b)HBOBJECT:HBOBJECT(105)\n Called from: => TINDEX:MSGNOTFOUND(0)\n Called from: TIndex.PRG => TINDEX:_ODBF(167)\n Called from: TIDXUTIL.PRG => GETIDXNONE(84)\n Called from: TDBF.PRG => TACACHAZA:NEW(341)\n Called from: TDBF.PRG => TACACHAZA:NEWOPEN(354)\n Called from: cachaza.PRG => CACHAZAXHORA(216)\n Called from: cachaza.PRG => (b)CACHAZA(103)\n Called from: WINDOW.PRG => TMDIFRAME:ACTIVATE(0)\n Called from: cachaza.PRG => CACHAZA(10", "time": "22:14", "topic": "ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH", "username": "Miguel Salas" } ]
ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH
[ { "date": "2007-03-29", "forum": "FiveWin para Harbour/xHarbour", "text": "Miguel,\n\nPor favor, vuelve a enviarme el ZIP con las clases por email, gracias", "time": "22:27", "topic": "ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH", "username": "Antonio Linares" } ]
ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH
[ { "date": "2007-03-29", "forum": "FiveWin para Harbour/xHarbour", "text": "Miguel\n\nDebes colocar la libreria antes de las de fivewin ( fiveh(x) )\n\no bien elimina la tindex.obj de la fiveh(X)\n\nsaludos\nPatricio", "time": "22:40", "topic": "ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH", "username": "Patricio Avalos Aguirre" } ]
ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH
[ { "date": "2007-03-29", "forum": "FiveWin para Harbour/xHarbour", "text": "Patricio,\n\nEso es lo que pensé <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) --> por eso quería comprobar las clases de TDbf para ver si hay colisión en los nombres\n\nTu solución posiblemente es la correcta <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "22:58", "topic": "ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH", "username": "Antonio Linares" } ]
ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH
[ { "date": "2007-03-29", "forum": "FiveWin para Harbour/xHarbour", "text": "Aqui voy de nuevo, gracias por su ayuda.\n\nYa depuró todo 0 error, 0 warning, peeeeero,, ¿porque no muestra nada?\nsolo se activa en al administrador de tareas.\n\nen el error anterior spor lo menos me abria el dialogo para pedir el usuario y contraseña. ¿?", "time": "23:28", "topic": "ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH", "username": "Miguel Salas" } ]
ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH
[ { "date": "2007-03-30", "forum": "FiveWin para Harbour/xHarbour", "text": "Miguel,\n\nPosiblemente no estás enlazando tu primer PRG ó no lo has compilado con /n. Por eso se construye un EXE pero no comienza en tu código sino en el primer símbolo que encuentra la máquina virtual de harbour", "time": "09:30", "topic": "ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH", "username": "Antonio Linares" } ]
ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH
[ { "date": "2007-03-30", "forum": "FiveWin para Harbour/xHarbour", "text": "Aqui si ya no entendí.\n\nSolo tengo un programa cachaza.prg y un cachaza.rc. Te decia que el error anterior me abria el dialogo por lo menos.\n\n¿?", "time": "21:12", "topic": "ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH", "username": "Miguel Salas" } ]
ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH
[ { "date": "2007-03-30", "forum": "FiveWin para Harbour/xHarbour", "text": "Miguel,\n\nPon un MsgInfo( \"aqui\" ) en tu PRG y comprueba si se muestra", "time": "22:08", "topic": "ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH", "username": "Antonio Linares" } ]
ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH
[ { "date": "2007-03-30", "forum": "FiveWin para Harbour/xHarbour", "text": "¡Ya estoy viendo la luz!.... ya abre el dialog, muestra el menu pero Tengo algunas dudas\n\n1.- No leyo mi archivo .INI.\n\n2.- Cada que le toca procesar algo se cicla.\n\nAgradezco su ayuda. Les recuerdo que este programa esta funcionando perfecto con la anterior version (fw24).\nSaludos", "time": "23:53", "topic": "ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH", "username": "Miguel Salas" } ]
ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH
[ { "date": "2007-03-31", "forum": "FiveWin para Harbour/xHarbour", "text": "Miguel,\n\nMuestranos tu PRG para que podamos construirlo y asi ayudarte", "time": "10:49", "topic": "ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH", "username": "Antonio Linares" } ]
ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH
[ { "date": "2007-04-01", "forum": "FiveWin para Harbour/xHarbour", "text": "#define _OBJECTS_CH\n#define _VIDEO_CH\n#define _DDE_CH\n#define _ODBC_CH\n#define _DLL_CH\n#define _TREE_CH\n\n#include \"Fivewin.ch\"\n#include \"TSBrowse.ch\"\n#Include \"TDBFDBF.CH\"\n#ifdef __HARBOUR__\n #INCLUDE \"ADS.CH\"\n REQUEST ADS\n REQUEST AdsKeyNo\n REQUEST AdsKeyCount\n REQUEST AdsGetRelKeyPos\n REQUEST AdsSetRelKeyPos\n#endif\n\n\n#define CLR_PINK nRgb(200,225,245) //nRGB( 255, 128, 128)\n#define CLR_NBLUE nRGB(200,255,200) //nRGB( 128, 128, 192)\n\n//Graficas\n#define GRAPH_TYPE_BAR 1\n#define GRAPH_TYPE_LINE 2\n#define GRAPH_TYPE_POINT 3\n#define GRAPH_TYPE_ALL 4\n\nstatic oWnd, lInit\nMEMVAR cEmpresa, nEmpresa, oBmpLogo, oBmp, cFntW, cBmp, cFont\n\n//----------------------------------------------------------------------------//\n\nfunction cachaza()\n local oBar, oBrush, oIcon, oTimer, oIni\n //local cFileMp3 := \"f:\\campo\\bas\\LunaFies.mp3\"\n LOCAL cBmpFondo := \"\"\n local cFileMp3 := \"\"\n\n PUBLIC cEmpresa, nEmpresa, oBmp, cFntW, cFont, cBmp\n\n SET 3DLOOK ON\n SET CENTURY On\n SET DATE TO FRENCH\n SET EPOCH TO 1999\n lInit := .T.\n/* INI oIni FILE \".\\TABHRA.ini\"\n\n GET cEmpresa SECTION \"EMPRESA\" ENTRY \"NomEmp\" OF oIni\n GET nEmpresa SECTION \"EMPRESA\" ENTRY \"NumEmp\" OF oIni\n GET cFont SECTION \"EMPRESA\" ENTRY \"fuente\" OF oIni DEFAULT \"Arial\"\n GET cFntW SECTION \"EMPRESA\" ENTRY \"hFont\" OF oIni\n\n ENDINI\n*/\n //SetHandleCount( 99 )\n DbfCdx()\n// DEFINE BRUSH oBrush FILE \".\\INGFAGSA.bmp\"\n\n cEmpresa := \"Fagsa\"\n nEmpresa := 1\n cFont := \"Arial\"\n cFtntW :=\"\"\n DEFINE ICON oIcon NAME \"Truck\"\n\n DEFINE WINDOW oWnd MDI ; //FROM 4,10 TO (MaxRow()-4), (MaxCol()-10) ;\n MENU gMenu() ;\n TITLE \"Salida de cachaza por Horas \" ;\n ICON oIcon\n\n DEFINE BUTTONBAR oBar OF oWnd 3D\n DEFINE BUTTON NAME \"tabla\" NOBORDER OF oBar ;\n ACTION ( CachazaXHora() );\n TOOLTIP \"Cachaza por horas\"\n\n SET MESSAGE OF oWnd ;\n TO \"Fomento Azucarero del Golfo, S.A. de C.V. Pánuco, Veracruz, México, <!-- w --><a class=\"postlink\" href=\"http://www.ifagsa.com.mx\">www.ifagsa.com.mx</a><!-- w -->\" ;\n CENTERED DATE TIME KEYBOARD\n\n\n oWnd:bPainted := { |hDc| DrawBmp( hDc , oWnd , cBmpFondo ) }\n\n ACTIVATE WINDOW oWnd maximized //;\n// on init CachazaXHora()\n\n\n\n\nreturn( nil )\n\n//----------------------------------------------------------------------------//\n\nstatic function gMenu()\n\n local oMenu\n\n MENU oMenu\n MENUITEM \"&Consultas\"\n MENU\n MENUITEM \"&Cachaza por hora...\" ;\n ACTION CachazaXHora()\n SEPARATOR\n MENUITEM \"&Salir\" ACTION oWnd:End()\n ENDMENU\n *\n MENUITEM \"&Ventanas\"\n MENU\n MENUITEM \"&Titulo Vertical\" ACTION oWnd:Tile() ;\n WHEN Len( oWnd:oWndClient:aWnd ) > 0\n MENUITEM \"&Titulo Horizontal\" ACTION oWnd:Tile( .t. ) ;\n WHEN Len( oWnd:oWndClient:aWnd ) > 0\n MENUITEM \"&Cascada\" ACTION oWnd:Cascade() ;\n WHEN Len( oWnd:oWndClient:aWnd ) > 0\n MENUITEM \"&Siguiente ventana\" + Chr( 9 ) + \"Ctrl+F6\" ;\n ACTION oWnd:NextWindow() ;\n WHEN Len( oWnd:oWndClient:aWnd ) > 1\n SEPARATOR\n MENUITEM \"&Alinea Iconos\" ACTION oWnd:ArrangeIcons() ;\n WHEN Len( oWnd:oWndClient:aWnd ) > 0\n\n MENUITEM \"&Iconiza Todo\" ACTION oWnd:IconizeAll() ;\n WHEN Len( oWnd:oWndClient:aWnd ) > 0\n\n MENUITEM \"C&ierra Todo\" ACTION oWnd:CloseAll() ;\n WHEN Len( oWnd:oWndClient:aWnd ) > 0\n ENDMENU\n\n oMenu:AddHelp( \"FAGSA\", \"JLAS\" )\n\n ENDMENU\n\nreturn( oMenu )\n\n//-------------------------------------------------------------------------------//\n\nSTATIC FUNCTION Refr_Wnd( hDC )\n\n LOCAL hWnd, nColor := 255\n LOCAL aRect, nSteps\n LOCAL oBrush, nI\n\n LOCAL aCoor\n\n IF lInit\n aCoor := GetCoors(GetDeskTopWindow()) // Coordenadas de ventana\n IF aCoor[ 3 ] >= 768 // si > 600x800 la centra\n aCoor[ 1 ] := ( aCoor[ 3 ] - 580 ) / 2\n aCoor[ 2 ] := ( aCoor[ 4 ] - 800 ) / 2\n aCoor[ 3 ] := 580\n aCoor[ 4 ] := 800\n oWnd:Move( aCoor[ 1 ], aCoor[ 2 ], aCoor[ 4 ], aCoor[ 3 ] )\n ELSE\n oWnd:Maximize()\n ENDIF\n lInit:=.F.\n ENDIF\n\n hWnd := oWnd:hWnd\n aRect := GetClientRect( hWnd )\n nSteps:=( aRect[ 3 ] - aRect[ 1 ] ) / 3\n\n aRect[ 3 ] := 0\n FOR nI := 1 to nSteps\n aRect[ 3 ] += 3\n DEFINE BRUSH oBrush COLOR RGB( nColor, nColor, nColor )\n FillRect( hDC, aRect, oBrush:hBrush )\n RELEASE BRUSH oBrush\n aRect[ 1 ] += 3\n nColor -= 1\n NEXT nI\n\n SetBkMode( hDC, 1 )\n SetTextColor( hDC, CLR_WHITE )\n DrawText(hDC, \"© Miguel Salas\",{oWnd:nHeight - 105, oWnd:nWidth - 135, oWnd:nHeight - 10, oWnd:nWidth - 10 } )\n\nRETURN (NIL)\n\n//----------------------------------------------------------------------------//\n\nfunction CachazaXHora()\n\n local oWndChild, oBar, oLbx, oACachaza\n local bData, oBtn, oGet, oFont, bcolor, ;\n oFont1, oIco\n //Local aBrush := Array(2)\n LOCAL aArr := {}\n LOCAL nTot := ARRAY(10)\n LOCAL nAcumAnt[ 1 ]\n LOCAL nPromedio := 0, dFecha1\n LOCAL nTonSem[ 1 ]\n\n\n DATABASE NEW oACachaza FILE \".\\dat\\acachaza.DBF\" SHARED via \"DBFCDX\" ;\n INDEX aCachaza.CDX\n\n oACachaza:lBuffer := .T.\n oACachaza:Setorder(1)\n\n IF oACachaza:LASTREC() == 0\n MsgInfo(\"Tabla vacia\" + CRLF + \"No hay nada que mostrar\")\n oACachaza:End()\n return nil\n ENDIF\n\n oACachaza:last()\n\n dFecha1 := oACachaza:AH_fecha\n\n// CursorWait()\n\n DEFINE FONT oFont1 NAME \"MS Sans Serif\" SIZE 0, -12\n DEFINE ICON oIco NAME \"alert.ico\"\n\n DEFINE WINDOW oWndChild MDIchild ;\n OF oWnd\n\n DEFINE BUTTONBAR oBar OF oWndChild 3D\n\n DEFINE BUTTON NAME \"Primero\" ;\n NOBORDER OF oBar TOOLTIP \"Inicio de Zafra\" ;\n ACTION ( oACachaza:first(), dFecha1 := oACachaza:AH_fecha, aArr := {},;\n CargaDatos( oACachaza, oLbx, aArr, nTot, nAcumAnt, dFecha1, @nPromedio, oWndChild, @nTonSem ) )\n\n DEFINE BUTTON NAME \"Previo\" ;\n NOBORDER OF oBar TOOLTIP \"Dia Anterior\";\n ACTION ( dFecha1--, aArr := {},;\n CargaDatos( oACachaza, oLbx, aArr, nTot, nAcumAnt, dFecha1, @nPromedio, oWndChild, @nTonSem) )\n\n\n DEFINE BUTTON NAME \"Siguiente\" ;\n NOBORDER OF oBar TOOLTIP \"Siguiente Registro\";\n ACTION ( dFecha1++, aArr := {}, ;\n CargaDatos( oACachaza, oLbx, aArr, nTot, nAcumAnt,dFecha1, @nPromedio, oWndChild, @nTonSem) )\n\n DEFINE BUTTON NAME \"Ultimo\" ;\n NOBORDER OF oBar TOOLTIP OemToAnsi( \"Ultimo Registro\" ) ;\n ACTION ( oACachaza:LAST() , dFecha1 := oACachaza:AH_fecha, aArr := {}, ;\n CargaDatos( oACachaza, oLbx, aArr, nTot, nAcumAnt, dFecha1, @nPromedio, oWndChild, @nTonSem ) )\n\n DEFINE BUTTON NAME \"Buscar\" ;\n NOBORDER OF oBar TOOLTIP \"Busca una Fecha especifica\";\n ACTION ( dFecha1 := msgdate(,\"Dia de Zafra\"), aArr := {}, ;\n CargaDatos( oACachaza, oLbx, aArr, nTot, nAcumAnt, dFecha1, @nPromedio, oWndChild, @nTonSem ) )\n\n DEFINE BUTTON NAME \"Impresora\" GROUP ;\n NOBORDER OF oBar TOOLTIP \"Imprimir \";\n ACTION oLbx:Report(\"Salida de Cachaza por hora\", .T.)\n\n DEFINE BUTTON NAME \"Histogr\" ;\n NOBORDER OF oBar TOOLTIP \"Gráfica de la entrada por horas\";\n ACTION msginfo( \"Hola\" ) //Graficar( aArr, dFecha1, nPromedio )\n\n DEFINE BUTTON NAME \"Actualizar\" GROUP ;\n NOBORDER OF oBar TOOLTIP \"Refresca datos\";\n ACTION aArr := {},;\n CargaDatos( oACachaza, oLbx, aArr, nTot, nAcumAnt, dFecha1, @nPromedio, oWndChild, @nTonSem )\n\n DEFINE BUTTON NAME \"Salir\" GROUP ;\n NOBORDER OF oBar TOOLTIP \"Salir de esta pantalla\";\n ACTION oWndChild:End()\n\n @ 00, 00 BROWSE oLbx ALIAS ARRAY OF oWndChild UPDATE\n\n CargaDatos( oACachaza, oLbx, aArr, nTot, nAcumAnt, dFecha1, @nPromedio, oWndChild, @nTonSem )\n\n ? \"hola3\"\n\n bColor := { || If( oLbx:nAt % 2 == 0, CLR_PINK, CLR_NBLUE ) }\n\n oLbx:lCellbrw := .T.\n// oLbx:SetColor( { 2, 4 }, { aBrush[1], aBrush[2] } )\n\n oLbx:SetColor( { 1, 3, 5, 6, 13, 15 }, ;\n { CLR_BLUE, CLR_YELLOW, CLR_BLUE, ;\n { CLR_WHITE, CLR_HRED }, ; // degraded cursor background color\n CLR_WHITE, CLR_HRED } ) // text colors\n\n oLbx:SetColor( { 2, 4, 14 }, ;\n { { CLR_WHITE, CLR_HBLUE }, ; // degraded cells background color\n { CLR_HGRAY, CLR_BLACK }, ; // degraded headers backgroud color\n { CLR_HRED, CLR_HGREEN } } ) // degraded order column background color\n\n\n ADD COLUMN TO BROWSE oLbx DATA ARRAY ELEMENT 1;\n TITLE \"Dia\" ;\n SIZE 70 ;\n COLORS CLR_BLACK, bColor; // background color from a Code Block\n 3DLOOK TRUE, TRUE, TRUE; // cells, titles, footers\n ALIGN DT_LEFT, DT_CENTER, DT_RIGHT ; // cells, title, footer\n FOOTER { || \"Dia Anterior\" + CRLF +;\n \"Del dia\" + CRLF + ;\n \"A LA SEMANA\" + CRLF +;\n \"Dia Anterior\" + CRLF +;\n \"Del Dia\" + CRLF +;\n \"Total\" }\n\n ADD COLUMN TO BROWSE oLbx DATA ARRAY ELEMENT 2;\n TITLE \"Hora\" ;\n ALIGN DT_CENTER, DT_CENTER; // let's align cells to right and center title\n SIZE 44 ;\n COLORS CLR_BLACK, bColor ; // background color from a Code Block\n 3DLOOK TRUE, TRUE, TRUE ; // cells, titles, footers\n FOOTER \"=\"\n\n ADD COLUMN TO BROWSE oLbx DATA ARRAY ELEMENT 3;\n TITLE \"Bruto\" ;\n ALIGN DT_RIGHT, DT_CENTER;\n SIZE 240 ;\n COLORS CLR_BLACK, bColor;\n 3DLOOK TRUE, TRUE, TRUE;\n FOOTER { || Transform( nTonsem[ 1 ], \"#,###,###.###\" ) + CRLF +; /* >Dia Anterior */\n Transform( nTot[ 1 ], \"##,###.###\" ) + CRLF +; /* Del dia */\n Transform( nTonsem[ 1 ] + nTot[ 1 ], \"###,###.###\" ) + CRLF +; /* A LA SEMANA */\n Transform( nAcumAnt[1], \"#,###,###.###\" ) + CRLF +; /* >Dia Anterior */\n Transform( nTot[ 1 ], \"##,###.###\" ) + CRLF +; /* Del Dia */\n Transform( nAcumAnt[ 1 ] + nTot[ 1 ], \"#,###,###.###\" ) } /* >Total */\n\n\n ADD SUPER HEADER TO oLbx FROM COLUMN 3 TO COLUMN 3 ;\n TITLE OemToAnsi(\"Toneladas de cachaza por horas\") 3DLOOK\n\n\n\n oLbx:nHeightCell += 6\n oLbx:nHeightSuper += 7\n oLbx:ChangeFont( oFont1,, 1)\n //oLbx:SetColor( {3,4},{CLR_BLACK,CLR_HGRAY} )\n oLbx:SetColor({9},{CLR_RED},)\n\n // 3D text bas-relief in all headers\n oLbx:Set3DText( .T., .T.,, 3 )\n\n // 3D text raised in cells of column 2\n //oLbx:Set3DText( .T., .T., 2, 1 )\n\n // adjust the header height\n oLbx:nHeightHead := 25\n\n oWndChild:SetControl(oLbx)\n ? \"hola4\"\n\n ACTIVATE WINDOW oWndChild ;\n VALID ( oLbx:End(), oFont1:End(), oIco:End(), SysRefresh(),;\n oACachaza:End(), .T. )\n\nreturn nil\n\n/*-------------------------------------------------------------*/\n\nstatic function CargaDatos( oACachaza, oLbx, aArr, nTot, nAcumAnt, dFecha1, nPromedio, oWndChild, nTonSem )\n\n local nTGCN := 0, n\n local dFecha2, dFechaini\n LOCAL oDb := oACachaza:Clone() //Clonamos la base datos en memoria\n LOCAL nPromTH := 0, nPromHras := 0, nTonsHra := 0\n\n Afill( nTot, 0)\n\n IF oACachaza:Ah_fecha == DATE()\n IF oACachaza:Ah_Hora < \"06\"\n dFecha1--\n ENDIF\n ENDIF\n dFecha2 := dFecha1 + 1\n // busca la fecha a consultar ( B£squeda aproximada )\n oACachaza:SEEK(dtos(dFecha1)+\"06\", .T., .F. )\n IF oACachaza:Eof() .OR. oACachaza:AH_fecha != dFecha1\n\n MsgAlert(\"Sin Informaci¢n en :\"+dtoc(dfecha1))\n RETURN .F.\n ENDIF\n\n oACachaza:Prior()\n\n if oACachaza:bof()\n\n FOR n := 1 TO 1\n nAcumAnt[ n ] := 0\n nTonSem[ n ] := 0\n NEXT\n\n else\n\n nAcumAnt[ 1 ] := oACachaza:ah_a_tonbr\n\n oACachaza:Next()\n\n FOR n := 1 TO 1\n nTonSem[ n ] := 0\n NEXT\n\n dFechaIni := oDb:aH_fecha - ( dow( oDb:ah_fecha ) - 1 )\n IF dFechaIni != dFecha1\n\n oDb:Setscope( dtos( dFechaIni )+ \"06\", DTOS( dFecha1 ) + \"05\" )\n\n do while ! oDb:Eof()\n\n nTonSem[ 1 ] += oDb:ah_h_tonbr\n oDb:next():qload()\n\n ENDDO\n\n ENDIF\n\n ENDIF\n\n nTGCN := 0\n\n oACachaza:setscope(dtos( dFecha1) + \"06\", DTOS(dFecha2) + \"05\" )\n\n DO WHILE ( ! oACachaza:eof() )\n\n nTGCN += oACachaza:ah_h_tonbr\n AADD( aArr, {transform(oACachaza:ah_fecha, \"@D\"),;\n strzero(val(oACachaza:ah_hora) + 1,2),;\n oACachaza:ah_h_tonbr, ;\n nTGCN,;\n oACachaza:ah_a_tonbr } )\n\n oACachaza:skip(1)\n\n ENDDO\n\n\n // Totalizar columnas\n AEval( aArr, { | e | nTot[1] += e[ 3 ], ; // Tons Brutas\n nTot[2] := nTGCN , ; // Acumulado parcial\n nTonsHra += e[ 4 ] })\n\n nPromedio := round( nTot[1] / len( aArr ), 3 )\n\n nPromTH := nTonsHra / nTGCN\n\n oWndChild:SetText( \"Dia de Zafra: \"+ DTOC( dFecha1 ) +space(10)+;\n \"Promedio por Hora:\"+LTRIM( str( nPromedio ) ) + \" Tons.\" )\n\n oLbx:SetArray( aArr )\n oLbx:refresh()\n\n oACachaza:ClearScope()\n\nreturn .T.\n//----------------------------------------------------------------------------//\n\nFUNCTION DrawBmp( hDc , oWnd , cBmpFile )\n/*\n FUNCTION DrawBmp( hDc , oWnd , cBmpFile )\n Autor : Víctor Manuel Tomás Díaz\n Vikthor\n*/\n\n LOCAL nTop, nLeft, nBottom, nRight\n LOCAL oBmpFondo\n LOCAL nWidth := oWnd:nWidth(), nHeight := oWnd:nHeight()\n\n DEFAULT cBmpFile := \"\"\n\n DEFINE BITMAP oBmpFondo FILE ( cBmpFile )\n\n IF oWnd:oMsgBar != nil // Si la ventana tiene Barra de mensajes\n nHeight -= oWnd:oMsgBar:nHeight\n ENDIF\n IF oWnd:oBar != nil // Si la Ventana tiene Barra de botones\n nHeight -= oWnd:oBar:nHeight\n ENDIF\n nHeight -= 40 // +- Altura de la barra de titulo y menu\n #IFDEF __HARBOUR__\n DrawBitmap( hDC, oBmpFondo:hBitmap , 0, 0, nWidth, nHeight )\n #ELSE\n IF At(\"2.1\",FWVERSION) > 0\n DrawBitmap( hDC, oBmpFondo:hBmpPal , 0, 0, nWidth, nHeight )\n ELSE\n DrawBitmap( hDC, oBmpFondo:hBitmap , 0, 0, nWidth, nHeight )\n ENDIF\n #ENDIF\n oBmpFondo:End()\nRETURN( NIL )", "time": "15:51", "topic": "ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH", "username": "Miguel Salas" } ]
ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH
[ { "date": "2007-04-01", "forum": "FiveWin para Harbour/xHarbour", "text": "> 2.- Cada que le toca procesar algo se cicla. \n\nQue error te da ?", "time": "15:56", "topic": "ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH", "username": "Antonio Linares" } ]
ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH
[ { "date": "2007-04-03", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola a todos,\n\nhace días que empecé a revisar/modificar TDBF, y ya consigo utilizarla aún sin eliminar TIndex de Fivewin.\n\nCreo que el método Clone() es erróneo para la versión actual de Harbour, me explico.\n\nEste método realiza:\n\n oClon:aTField := __objClone( oDb:aTField )\n oClon:aTIndex := __objClone( oDb:aTIndex )\n #else\n oClon:aTField := oClone( oDb:aTField )\n oClon:aTIndex := oClone( oDb:aTIndex )\n\n\nclonando en realidad unas ARRAYs de objetos.\n\nPor tanto debería realizarse un Aclone() y posteriormente un Oclone() de cada elemento de la nueva ARRAY.\n\nSaludos.\nCarlos G.", "time": "08:19", "topic": "ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH", "username": "FiveWiDi" } ]
ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH
[ { "date": "2007-04-03", "forum": "FiveWin para Harbour/xHarbour", "text": "LOCAL oDb := oACachaza:Clone() //Clonamos la base datos en \n\nPrueba con sustituir la línea anterior por esta otra:\n\n LOCAL oDb := oACachaza:Clone( .T. ) //Clonamos la base datos en \n\nSi no me equivoco en la misma función, estás estableciendo un Scope a oDb y otro a oAcachaza cuando ambas tienen el mismo alias/área de trabajo (no me he fijado si hay más cosas).\n\nPor otro lado este es el metodo Clone() de Tdbf.prg modificado (sin optimizar) que utilizo con FWH 7.01 y parece que funciona correctamente:\n\nSaludos\n******************************\nMETHOD Clone( lNewArea, cComment ) CLASS TDbf\n\n local oDb := Self\n local oClon\n\n DEFAULT lNewArea := .f.\n DEFAULT cComment := ::cComment\n\n if lNewArea\n oClon := DbfServer( oDb:cFile )\n oClon:New( oDb:cFile, oDb:cName, oDb:cRDD, cComment, oDb:cPath )\n #ifdef __HARBOUR__\n\n //oClon:aTField := __objClone( oDb:aTField )\n //oClon:aTIndex := __objClone( oDb:aTIndex )\n\n // 2 línias sustituyen 2 anteriores. CG\n oClon:aTField := aclone( oDb:aTField )\n oClon:aTIndex := aclone( oDb:aTIndex )\n\n #else\n\n //oClon:aTField := oClone( oDb:aTField )\n //oClon:aTIndex := oClone( oDb:aTIndex )\n\n // 2 línias sustituyen 2 anteriores. CG\n oClon:aTField := aclone( oDb:aTField )\n oClon:aTIndex := aclone( oDb:aTIndex )\n\n #endif\n\n oClon:FieldCount := len( oClon:aTField )\n AEval( oClon:aTField, { |o| o:oDbf := oClon } )\n AEval( oClon:aTIndex, { |o| o:oDbf := oClon } )\n oClon:Activate( oDb:lRecycle, oDb:lShared, oDb:lReadOnly, oDb:lProtec )\n\n else\n #ifdef __HARBOUR__\n oClon := __objClone( oDb )\n\n //oClon:aTField := __objClone( oDb:aTField )\n //oClon:aTIndex := __objClone( oDb:aTIndex )\n\n // 2 línias sustituyen 2 anteriores. CG\n oClon:aTField := aclone( oDb:aTField )\n oClon:aTIndex := aclone( oDb:aTIndex )\n\n #else\n oClon := oClone( oDb )\n\n //oClon:aTField := oClone( oDb:aTField )\n //oClon:aTIndex := oClone( oDb:aTIndex )\n\n // 2 línias sustituyen 2 anteriores. CG\n oClon:aTField := aclone( oDb:aTField )\n oClon:aTIndex := aclone( oDb:aTIndex )\n\n #endif\n\n oClon:cComment := cComment\n AEval( oClon:aTField, { |o| o:oDbf := oClon } )\n AEval( oClon:aTIndex, { |o| o:oDbf := oClon } )\n\n endif\n\n // Inicio líneas añadidas CG\n oClon:AutoField()\n AEval( oClon:aTField, { |o| o:Activate() } )\n oclon:AutoIndex()\n oClon:IdxActivate()\n // Fin líneas añadidas CG\n\nreturn( oClon )\n******************************", "time": "17:44", "topic": "ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH", "username": "FiveWiDi" } ]
ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH
[ { "date": "2007-04-16", "forum": "FiveWin para Harbour/xHarbour", "text": "hola podrias pasarme la tdbfh y si tienes la TSbrowse que tienes funcionando con FW701, quizas por alli este el mal, ya que no me deja usar objetos database, set index, etc, esto que estube haciendo me parece demasiado para actualizar mis programas, imaginate si este es uno solo y no he podido hacerlo funcionar, que sera cuando me ponga a corregirlos todos, si me dijeron \"nada mas recompila y ya\", pues asi debe ser, si todos mis programas funcionan con FW2.4, deden funcionar con 7.01 sin cambios, o minimos cambios.", "time": "18:59", "topic": "ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH", "username": "Miguel Salas" } ]
ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH
[ { "date": "2007-04-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Miguel,\n\nFWH siempre mantiene compatibilidad con el código anterior, lo que ocurre es que si se está usando una librería de terceros como en este caso es la clase TDbf, pues pueden aparecer este tipo de errores por el uso de funciones que han cambiado en Harbour, etc.", "time": "19:09", "topic": "ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH", "username": "Antonio Linares" } ]
ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH
[ { "date": "2007-04-16", "forum": "FiveWin para Harbour/xHarbour", "text": "totalmente de acuedo Antonio, por eso pido si alguien tiene funcionando estas libs con 701 , me las haga llegar, talvez desde alli esta mi error.\nGracias", "time": "20:29", "topic": "ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH", "username": "Miguel Salas" } ]
ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH
[ { "date": "2007-04-16", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"Miguel Salas\":1fxfslgj]totalmente de acuedo Antonio, por eso pido si alguien tiene funcionando estas libs con 701 , me las haga llegar, talvez desde alli esta mi error.\nGracias[/quote:1fxfslgj]\n\nPrueba con este:\n\n<!-- m --><a class=\"postlink\" href=\"http://hyperupload.com/download/0207653518/Tdbf_Hb1.01.zip.html\">http://hyperupload.com/download/0207653 ... 1.zip.html</a><!-- m -->\n\nParece que funciona con Harbour 1.01 y FiveWin 7.04\n\nSaludos\nCarlos G.", "time": "22:47", "topic": "ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH", "username": "FiveWiDi" } ]
ADSISSHARED,ADSISREADONLY,ISSHARED,ISREADONLY EN TDBFH
[ { "date": "2007-10-04", "forum": "FiveWin para Pocket PC", "text": "Hola termine de desarrollar una aplicacion para la pocket PC y necesito acceder a los datos ADT de mi sistema desarrollado en FiveWin/Harbour, se puede hacer esto de alguna manera o no existe posibilidad de comunicar la Pocket con datos ADT y debo seguir usando DBF?\n\nGracias por la ayuda!\nNatalia.", "time": "16:57", "topic": "ADT DESDE POCKET PC", "username": "nolgiati" } ]
ADT DESDE POCKET PC
[ { "date": "2007-10-04", "forum": "FiveWin para Pocket PC", "text": "Natalia,\n\nSi te refieres al ADS (Advantage Database server), no existe versión para Pocket PC, que nosotros sepamos", "time": "17:47", "topic": "ADT DESDE POCKET PC", "username": "Antonio Linares" } ]
ADT DESDE POCKET PC
[ { "date": "2007-10-04", "forum": "FiveWin para Pocket PC", "text": "Entonces no existe posibilidad de abrir con mi programa de la pocket una Tabla ADT? Tengo que volver a la version DBF todo mi sistema de Windows?\n\nSaludos.", "time": "17:55", "topic": "ADT DESDE POCKET PC", "username": "nolgiati" } ]
ADT DESDE POCKET PC
[ { "date": "2007-10-04", "forum": "FiveWin para Pocket PC", "text": "El ADS que usas en el PC es local ó la versión cliente/servidor ?", "time": "18:37", "topic": "ADT DESDE POCKET PC", "username": "Antonio Linares" } ]
ADT DESDE POCKET PC
[ { "date": "2007-10-04", "forum": "FiveWin para Pocket PC", "text": "Antonio:\nEn este momento uso ADS Local, pero ya estoy por comprar la version cliente servidor solo si me sirve con la Pocket ya que ofresco mi sistema windows junto con la extension de la Pocket.\n\nSlds.", "time": "19:01", "topic": "ADT DESDE POCKET PC", "username": "nolgiati" } ]
ADT DESDE POCKET PC
[ { "date": "2007-10-04", "forum": "FiveWin para Pocket PC", "text": "Natalia,\n\nSi necesitas acceder a los mismos datos desde el Pocket PC y desde el PC vas a tener que usar DBFCDX como RDD.\n\nAdvantage requiere unas DLLs y que sepamos no existen dichas DLLs para Pocket PC", "time": "19:30", "topic": "ADT DESDE POCKET PC", "username": "Antonio Linares" } ]
ADT DESDE POCKET PC
[ { "date": "2007-10-04", "forum": "FiveWin para Pocket PC", "text": "Muchas gracias Antonio, a pesar de sentir limitacion en este aspecto por lo menos ahora se que no tengo que usar la migracion a ADT hasta que no este resuelto para la Pocket.\n\nGracias por tu tiempo,\nSlds. <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->", "time": "19:34", "topic": "ADT DESDE POCKET PC", "username": "nolgiati" } ]
ADT DESDE POCKET PC
[ { "date": "2007-10-04", "forum": "FiveWin para Pocket PC", "text": "Natalia:\n\nADS requiere de un cliente (DLL) que en este momento no existe para Pocket PC.\n\nNo se si Extended Systems tenga planes de hacer un cliente Pocket en el corto plazo. \n\nPara trabajar con tablas ADT y pockets nosotros usamos una interfaz web que nos permite la portabilidad de la aplicacion, pero no lo hacemos usando FWPPC", "time": "20:58", "topic": "ADT DESDE POCKET PC", "username": "R.F." } ]
ADT DESDE POCKET PC
[ { "date": "2007-10-05", "forum": "FiveWin para Pocket PC", "text": "Hola Rene,\n\nQue herramientas necesitaría para utilizar esa interfaz web de la que me comentas?.\nEl sistema que tengo desarrollado para la Pocket con FWPPC usando DBFs, me sirve? O debería hacerlo completo desde cero?\nMe podrías guiar un poquito.\n\nDesde ya muchas gracias.\nNatalia, \nSaludos", "time": "15:53", "topic": "ADT DESDE POCKET PC", "username": "nolgiati" } ]
ADT DESDE POCKET PC
[ { "date": "2007-10-05", "forum": "FiveWin para Pocket PC", "text": "Natalia:\n\nEso seria un muy buen tema para una ponencia, lo tomare en cuenta para mi proxima visita a Argentina.\n\nDe momento te explico como funciona el invento:\n\nNecesitas un Pocket PC, Palm, Blackberry o hasta un telefono celular con navegador Web incluido y cualquier tipo de conexion a Internet o intranet WiFi, GPRS, etc.\n\nNecesitas un equipo que haga las veces de servidor web, tu mismo servidor de archivos puede servir, necesitas instalar un software de servidor web, ya sea el IIS o bien nosotros usamos el Orelly WebSite.\n\nEn el caso de IIS nosotros usamos una herramienta de xHarbour.com llamada xBScript, que te permite camibar el motor de VBScript incluido con el servidor ASP de IIS por un motor 100% compatible con xHarbour, con todas las caracteristicas, incluyendo soporte al RDDADS y obviamente a tablas ADT.\n\nEn el caso del Orelly WebSite, usamos un estandar de internet llamado CGI, bajo este estandar tu haces un programa EN LO QUE QUIERAS, FiveWin incluido, que corre en el equipo servidor web.\n\nBien la cosa es muuuuy simple, en tu dipositivo movil, tu vas a conectar con el servidor web donde tienes instaldo tu servidor, ya sea via intranet o internet, y vas a diseñar pequeñas paginas WEB con formularios.\n\nTanto ASP, como CGI son estandares de internet que te permiten ejecutar un programa \"remoto\" desde tu navegador web, ese programa remoto esta alojado en el servidor Web, y es un EXE hecho en cualquier lenguaje de programacion.\n\nLos estandares mencionados anteriormente te permiten \"enviar\" los fomularios desde tu navegador movil, y al mismo tiempo ejecutar el programa alojado en el servidor, el cual recibe como parametros los datos que tu cargaste en el formulario WEB, tu mismo programa los procesa y debe responder con otra pagina web, misma que cuando es generada es devuelta de manera automatica a tu navegador portatil.\n\nEsta solucion la tenemos muuuy probada para tomas de inventarios remotas donde la conexion WiFi no esta garantizada, tambien tenemos la solucion implementada en restaurantes para tomas de comandas y envio directo a cocina, para Verificadores de precios en supermercados, etc.\n\nLa ventaja de esto es que funciona con cualquier dispositivo movil que tenga un navegador Web, de cualquier marca o modelo.\n\nNos vemos en Chile a partir del 13 de Octubre y en Argentina el 3 de Noviembre.", "time": "17:12", "topic": "ADT DESDE POCKET PC", "username": "R.F." } ]
ADT DESDE POCKET PC
[ { "date": "2007-10-05", "forum": "FiveWin para Pocket PC", "text": "René,\nTodo esto parece realmente muy interesante, lo vamos a tener en cuenta para un futuro.\nMuchas gracias por tu explicacion.\n\nAprovecho la oportunidad para consultarte hacerca de tu visita a Argentina ya que me gustaría asistir en caso de que dieses alguna capacitacion.\n\nSaludos, \nNatalia", "time": "17:43", "topic": "ADT DESDE POCKET PC", "username": "nolgiati" } ]
ADT DESDE POCKET PC
[ { "date": "2009-12-01", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi\nHow can I Recall deleted records in ADT tables?\nThe Utility provided (ARC) doesn't work for this.\nI've tried the function AdsRecallAllRecords (compliling ACE32.LIB) but the compiler cannot find the function (UNRESOLVED EXTERNAL)\nAny suggestion?\nThanks in advance.\n\nPD: sorry for my english", "time": "19:52", "topic": "ADT tables Recall", "username": "IVAN TRACHTA" } ]
ADT tables Recall
[ { "date": "2009-12-02", "forum": "FiveWin for Harbour/xHarbour", "text": "you can not recall deleted records in ADT. \nOnce deleted they are deleted forever.", "time": "06:26", "topic": "ADT tables Recall", "username": "nageswaragunupudi" } ]
ADT tables Recall
[ { "date": "2006-03-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Estoy iniciando con ado, pero no entiendo porque me manda este error.\n\n Error description: Error ADODB.Recordset/16389 E_FAIL: MOVELAST\n Args:\n\nStack Calls\n===========\n Called from: win32ole.prg => TOLEAUTO:MOVELAST(0)\n Called from: => SKIPPER(125)\n\nle agrege llave primaria a la tabla y sigo con el error.\n\n\nsaludos\nfernando sandoval ruiz", "time": "22:31", "topic": "ADo oRs:MoveLast() Errror", "username": "fsandoval" } ]
ADo oRs:MoveLast() Errror
[ { "date": "2006-03-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Local Ors, Obrw, oDlg\noRs = CREATEOBJECT( \"ADODB.Recordset\" )\n\nTRY\n oRs:Open( \"SELECT * FROM EMPRESAS ORDER BY NUMCIA\", \"DRIVER={MySQL ODBC 3.51 Driver};SERVER=localhost;PORT=3306;DATABASE=comandas;UID=root;PWD=root;OPTION=1;\" )\nCATCH oErr\n ? oErr:Description\n RETURN NIL\nEND TRY\n\n// oInspect( oRecSet)\n//Inspector( oRdd , \"oRdd\")\nDEFINE FONT oFontBrw Name \"Ms Sans Serif\" SIZE 0,-11\n\n//DEFINE DIALOG oDlg RESOURCE \"DLGMANDB\" FONT oFontBrw\nDEFINE DIALOG oDlg SIZE 300, 300\n\n\n @ 0, 0 BROWSE oBrw;\n ON RIGHT CLICK oBrw:Report( \"TCBrowse report\", .T. )\n\n ADD COLUMN TO oBrw;\n DATA oRs:Fields( \"NomCia\" ):Value;\n HEADER \"UTENTI\";\n COLOR CLR_RED, CLR_GREEN\n\n ADD COLUMN TO oBrw;\n DATA oRs:Fields( \"DirCia\" ):Value;\n HEADER \"UTENTI\";\n COLOR CLR_RED, CLR_GREEN\n\n\n oBrw:bLogicLen = { || oRs:RecordCount }\n oBrw:bGoTop = { || oRs:MoveFirst() }\n oBrw:bGoBottom = { || oRs:MoveLast() }\n oBrw:bSkip = { | nSkip | Skipper( oRs, nSkip ) }\n oBrw:cAlias = \"ARRAY\"\n\n\n// oDlg:oClient:=oBrw\n// oDlg:SetControl( oBrw )\n// oBrw:lCellStyle := .T. // Solo para FW 2.00 ¢ superior\n// oBrw:nLineStyle := 3 // Solo para FW 2.00 ¢ superior\n// oBrw:Refresh()\n\n/*\n REDEFINE BUTTON oBAltas ID 202 OF oDlg ;\n ACTION (AltasCias( ID_AALT, oRecSet ) ,SelEmpresa(oWnd, oRecSet ), oRecSet:Refresh(.t.),oBrw:Refresh() , oRecSet:End() ,oDlg:End() , SysRefresh() )\n\n REDEFINE BUTTON oBModificar ID 203 OF oDlg ;\n ACTION AltasCias( ID_AMOD, oRecSet )\n\n REDEFINE BUTTON oBBorrar ID 204 OF oDlg ;\n ACTION ( if( MsgYesNo( OemToAnsi( ;\n \"¨Seguro que quiere borrar la Empresa \" + oRecSet:Fields(\"NumCia\"):value ) ) , ;\n BorrarRegistro(oAdo , \"empresas\" , \"numemp\" , oRecSet:Fields(\"NumCia\"):value ) , \"\" ) , oRecSet:refresh() )\n\n REDEFINE BUTTON oBSeleccion ID 201 OF oDlg ;\n ACTION (SelEmpresa(oWnd , oRecSet ), SysRefresh() ,oDlg:End())\n\n REDEFINE BUTTON oBSalir ID 206 OF oDlg ;\n ACTION ( oTb:Close(), oDlg:End())\n*/\n\n ACTIVATE DIALOG oDlg ;\n ON INIT oDlg:SetControl( oBrw ) ;\n CENTER\n\n oFontBrw:End()\n\nRETURN( NIL )", "time": "22:36", "topic": "ADo oRs:MoveLast() Errror", "username": "fsandoval" } ]
ADo oRs:MoveLast() Errror
[ { "date": "2006-03-08", "forum": "FiveWin para Harbour/xHarbour", "text": "No sera la propiedad de navegacion de tu Recorset??", "time": "00:12", "topic": "ADo oRs:MoveLast() Errror", "username": "meskamas" } ]
ADo oRs:MoveLast() Errror
[ { "date": "2006-03-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias manuel, he seguido los ejemplos publicados aqui en internet asi como documentacion del ado, cual seria la manera correcta de especificar el recordser o de cambiarla?\n\n\ngracias.\nfernando sandoval ruiz", "time": "00:24", "topic": "ADo oRs:MoveLast() Errror", "username": "fsandoval" } ]
ADo oRs:MoveLast() Errror
[ { "date": "2009-11-09", "forum": "FiveWin for Harbour/xHarbour", "text": "SOmeone havesample using mysql with ado ?\n\ni need install something to use this ?\n\nthanks", "time": "19:39", "topic": "ADo mysql", "username": "lailton.webmaster" } ]
ADo mysql
[ { "date": "2009-11-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Lailton,\n\nFor using mysql with ado you need install the odbc driver for mysql and it's all.\n\nThe rest of job if made for ado.\n\n\nAtte.,\n\nLautaro Moreira\nOsorno\nChile\n\nPD: Sorry for my bad english", "time": "19:56", "topic": "ADo mysql", "username": "Lautaro" } ]
ADo mysql
[ { "date": "2009-11-09", "forum": "FiveWin for Harbour/xHarbour", "text": "GRacias estoy baixando mysql connector odbc\n\nthanks", "time": "20:00", "topic": "ADo mysql", "username": "lailton.webmaster" } ]
ADo mysql
[ { "date": "2009-11-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Laiton:\n\nMira este blog\nTake a look to this blog\n\n<!-- m --><a class=\"postlink\" href=\"http://sqlcmd.blogspot.com/\">http://sqlcmd.blogspot.com/</a><!-- m -->\n\nSaludos\nRegards", "time": "21:10", "topic": "ADo mysql", "username": "Armando" } ]
ADo mysql
[ { "date": "2009-11-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks Armando.\n\nSpeed of Ado with mysql is good ?\n\nwhat´s more fast, ADO or SQLRDD or SQLLIB ? ( To MYSQL )\n\nhow i can calcule this ?\n\nThanks so much", "time": "15:39", "topic": "ADo mysql", "username": "lailton.webmaster" } ]
ADo mysql
[ { "date": "2009-11-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Laiton:\n\nPlease follow this interesting thread\n\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=3&t=17113&start=0\">viewtopic.php?f=3&t=17113&start=0</a><!-- l -->\n\nRegards", "time": "18:20", "topic": "ADo mysql", "username": "Armando" } ]
ADo mysql
[ { "date": "2019-03-21", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias por la info, que seguro que alguien sin identificar sabe aprovechar. <!-- s:roll: --><img src=\"{SMILIES_PATH}/icon_rolleyes.gif\" alt=\":roll:\" title=\"Rolling Eyes\" /><!-- s:roll: --> \nNo es mi caso. Yo lo monté todo con archivos de texto.\nTe espera una buena. Buena suerte. <!-- s;-) --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\";-)\" title=\"Wink\" /><!-- s;-) -->", "time": "17:01", "topic": "AEAT - libreria mxml - errores", "username": "hmpaquito" } ]
AEAT - libreria mxml - errores