messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2017-08-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Saludos al Forum\n\nQue debo tener instaldo para trabajar con Advantage. y como hago la conexion, algun ejemplo. con conexion ODBC, OLE , o se puede hacr la conexion sin necesidad de usar ODBC, OLE\n\nTengo Instalado esto.\narc32.exe (Advantage Data Architect 10.1)\nadsodbc.exe (Advantage OLE DB Provider)\noledb.exe (Advantage ODBC Driver)\nQue mas se requiere instalar.\n\nBaje un link tAds_2.zip\narc32_10.1.exe (Advantage Data Architect )\nADS_101_SETUP.exe (Para que sirve)\nACE32_10.LIB (Esta seria la libreria a enlazar cn la compilacion)\nRddAds_10.lib (Esta seria la libreria a enlazar cn la compilacion)\n\n\n\nSaludos al Forum", "time": "00:55", "topic": "Advantage Iniciando", "username": "ruben Dario" } ]
Advantage Iniciando
[ { "date": "2017-08-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola Ruben Dario, también estoy interesado en este tema.\nHay varios gurú en ADS, sería muy bueno un manual en español, pero es difícil de conseguir por ahora.\nTambién puedes enviarle un correo al creador de tDads, también la tiene clara.\n\nSaludos\nRuben Dario Fernández.", "time": "16:13", "topic": "Advantage Iniciando", "username": "D.Fernandez" } ]
Advantage Iniciando
[ { "date": "2017-08-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola como esta.\n\nEn los mensajes del Forum, me parece que tu has trabajado con la base de datos APOLLO se ve interesante esta base de Datos\n\nGracias por tu informacion.", "time": "17:08", "topic": "Advantage Iniciando", "username": "ruben Dario" } ]
Advantage Iniciando
[ { "date": "2017-08-18", "forum": "FiveWin para Harbour/xHarbour", "text": "No, no lo he hecho. Es más mande un mail y no me han respondido. Esta bastante en precio. Quizás alguien sepa más de Apollo en el foro. Voy a poner un post. \n\nGracias y saludos cordiales. \nRubén Dario Fernández \nFwh 16.08 - Bcc 7.2 - Synwrite", "time": "17:27", "topic": "Advantage Iniciando", "username": "rubenfernandez01" } ]
Advantage Iniciando
[ { "date": "2017-08-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Con ADS , ya logre hacer conexion , pero USANDO ODBC y OLE para trabajar con ADO.\ntengo entendido que el problema de trabajar cond ADO es que no actualiza los Indices, Ejemplpo los CDX\nCon la Base de Datos APOLLO no es posible, no tienen un OLE o ODBC", "time": "20:05", "topic": "Advantage Iniciando", "username": "ruben Dario" } ]
Advantage Iniciando
[ { "date": "2011-05-30", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello!\n\nWe have an aplication build with FWH that is using DBF on Windows 2003 server using Advantage Local Server (ALS) DLLs. We have noticed that browse is very fast immediately after reindex, but after some appends browse slows down drastically. Have you ever noticed such behaviour in you apps and what could be a reason ?\n\nThanks, Roman", "time": "17:10", "topic": "Advantage Local Server over network", "username": "modicr" } ]
Advantage Local Server over network
[ { "date": "2011-05-31", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Mr. Roman,\n\nI'm using ALS too over network.. I haven't experienced such problem.. But take a look at AOF's if you have one.. 'ADS_RESPECTFILTERS' usually the culprit of slowing browses..", "time": "01:04", "topic": "Advantage Local Server over network", "username": "fraxzi" } ]
Advantage Local Server over network
[ { "date": "2016-08-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Algo Raro, Tengo Instalado un dataserer advantage en una maquina con windows seven,\ny programas clientes en terminales que acceden a dicho servidor, en las estaciones que tengo \nwindows xp, todo bien, en aquellas que tengo windos 10, los archivos son abiertos como exclusivos, y\nno permite que otras terminales accedan a los datos, he probado con data Arquitec de Ads, y pasa lo mismo\nentiendo entonces que no es mi aplicación, alguien le ha pasado lo mismo?, ADS ver 10.10", "time": "00:08", "topic": "Advantage Servidor", "username": "CarlosFossati" } ]
Advantage Servidor
[ { "date": "2016-08-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Hasta donde se, advantage database server cuando es usado en modalidad servidor la comunicación es a través de socket/puertos.\nno a través de sistemas de fichero. solo cuando se usa en modo local server es que trabaja con sistema de fichero.", "time": "03:13", "topic": "Advantage Servidor", "username": "carlos vargas" } ]
Advantage Servidor
[ { "date": "2016-08-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias Carlos, pero lo raro que con windows xp funciona barbaro", "time": "14:55", "topic": "Advantage Servidor", "username": "CarlosFossati" } ]
Advantage Servidor
[ { "date": "2016-08-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola\n\nUtilizas Diccionario de Datos?\nsi es si como abres el DD", "time": "03:16", "topic": "Advantage Servidor", "username": "Patricio Avalos Aguirre" } ]
Advantage Servidor
[ { "date": "2015-06-14", "forum": "FiveWin para Harbour/xHarbour", "text": "Necesito generar rddads.lib para la ultima version de fw, si alguien me puede orientar! Gracias!", "time": "23:52", "topic": "Advantaje y la Ver 1505 de Fw", "username": "CarlosFossati" } ]
Advantaje y la Ver 1505 de Fw
[ { "date": "2015-06-15", "forum": "FiveWin para Harbour/xHarbour", "text": "<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=6&t=30561&start=0&hilit=rddads\">viewtopic.php?f=6&t=30561&start=0&hilit=rddads</a><!-- l -->", "time": "05:49", "topic": "Advantaje y la Ver 1505 de Fw", "username": "cnavarro" } ]
Advantaje y la Ver 1505 de Fw
[ { "date": "2008-10-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola, he buscado en el foro y no hay soluciones definitivas aparentemente en relación a este problema.\r\n\r\nEs cuando al ejecutar nuestro EXE el Windows indica que no se puede verificar el fabricante del software y si deseamos de todos modos ejecutarlo y bla,bla,bla.\r\n\r\nLo raro es que sólo ocurre en algunas máquinas con XP, no en todas. Desoncozco en Vista si también hay este inconveniente.\r\n\r\nMás alla de que se trata sólo de un click y se ingresa, no es muy buena imágen la que nos deja.\r\n\r\nAlguno encontró una solución al tema? \r\n\r\nBueno, gracias y saludos a todos\r\n\r\nIván", "time": "15:41", "topic": "Advertencia seguridad en Windows XP", "username": "IVAN TRACHTA" } ]
Advertencia seguridad en Windows XP
[ { "date": "2008-10-08", "forum": "FiveWin para Harbour/xHarbour", "text": "debes hacerle una firma digital", "time": "16:21", "topic": "Advertencia seguridad en Windows XP", "username": "QAZWSX2K" } ]
Advertencia seguridad en Windows XP
[ { "date": "2008-10-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola, incorpore esto a tu archivo de recursos\r\n[code:2ixb8dcf]\nVERSAO VERSIONINFO \nFILEVERSION 1, 0, 0, 0\nPRODUCTVERSION 1, 0, 0, 0\nFILEFLAGSMASK VS_FFI_FILEFLAGSMASK\nFILEOS VOS__WINDOWS32\nFILETYPE VFT_APP\n&#123;\n BLOCK \"StringFileInfo\"\n &#123;\n BLOCK \"041604B0\"\n &#123;\n VALUE \"CompanyName\", \"Fivetech Software\\000\"\n VALUE \"FileDescription\", \"Videos - Locadora\\000\"\n VALUE \"FileVersion\", \"1&#46;0\\000\"\n VALUE \"LegalCopyright\", \"2005,2006 - Empresa de CVS\\000\"\n VALUE \"OriginalFilename\", \"VENTAS&#46;EXE\\000\"\n VALUE \"ProductName\", \"Ventas\\000\"\n VALUE \"ProductVersion\", \"2&#46;0\\000\"\n &#125;\n\n &#125;\n\n BLOCK \"VarFileInfo\"\n &#123;\n VALUE \"Translation\", 1046, 1200\n &#125;\n\n&#125;\n[/code:2ixb8dcf]\r\n\r\nSaludos", "time": "16:26", "topic": "Advertencia seguridad en Windows XP", "username": "karinha" } ]
Advertencia seguridad en Windows XP
[ { "date": "2008-10-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Debes agregar en el panel de control el nivel de seguridad del programa colocandolo en los permitidos siempre....ahora no recuerdo bien....pero por alli esta la opcion...por panel de control de XP.", "time": "16:29", "topic": "Advertencia seguridad en Windows XP", "username": "joseluisysturiz" } ]
Advertencia seguridad en Windows XP
[ { "date": "2008-10-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Bueno, gracias. Pruebo y aviso.\r\nSaludos", "time": "23:55", "topic": "Advertencia seguridad en Windows XP", "username": "IVAN TRACHTA" } ]
Advertencia seguridad en Windows XP
[ { "date": "2008-10-10", "forum": "FiveWin para Harbour/xHarbour", "text": "He agregado lo que indica Karinha y sigue apareciendo el mensaje de advertencia.\r\n\r\nQAZWSX2K como se hace la firma digital?", "time": "02:08", "topic": "Advertencia seguridad en Windows XP", "username": "Alfredo Arteaga" } ]
Advertencia seguridad en Windows XP
[ { "date": "2008-10-10", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"Alfredo Arteaga\":hd03hzyq]He agregado lo que indica Karinha y sigue apareciendo el mensaje de advertencia.\n\nQAZWSX2K como se hace la firma digital?[/quote:hd03hzyq]\r\n\r\nAlfredo, porfa puedes poner una imagen de la advertencia?\r\n\r\nSaludos. <!-- s:oops: --><img src=\"{SMILIES_PATH}/icon_redface.gif\" alt=\":oops:\" title=\"Embarassed\" /><!-- s:oops: --> <!-- s:oops: --><img src=\"{SMILIES_PATH}/icon_redface.gif\" alt=\":oops:\" title=\"Embarassed\" /><!-- s:oops: -->", "time": "13:02", "topic": "Advertencia seguridad en Windows XP", "username": "karinha" } ]
Advertencia seguridad en Windows XP
[ { "date": "2008-10-10", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias Karinha. Son estos mensajes...\r\n\r\n[url=http&#58;//img407&#46;imageshack&#46;us/my&#46;php?image=advertenciamn8&#46;jpg:hef5qavh][img:hef5qavh]http&#58;//img407&#46;imageshack&#46;us/img407/5425/advertenciamn8&#46;th&#46;jpg[/img:hef5qavh][/url:hef5qavh]", "time": "15:54", "topic": "Advertencia seguridad en Windows XP", "username": "Alfredo Arteaga" } ]
Advertencia seguridad en Windows XP
[ { "date": "2008-10-10", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"Alfredo Arteaga\":1f7fv5oa]Gracias Karinha. Son estos mensajes...\n\n[url=http&#58;//img407&#46;imageshack&#46;us/my&#46;php?image=advertenciamn8&#46;jpg:1f7fv5oa][img:1f7fv5oa]http&#58;//img407&#46;imageshack&#46;us/img407/5425/advertenciamn8&#46;th&#46;jpg[/img:1f7fv5oa][/url:1f7fv5oa][/quote:1f7fv5oa]\r\n\r\nAlfredo, hicestes algo errado. Debria funcionar perfecto como acá.\r\n\r\nAblas com Antonio ó mira algun ejemplo en \\samples\r\n\r\nAsi, me funciona sin problemas.\r\n\r\nSaludos.", "time": "16:04", "topic": "Advertencia seguridad en Windows XP", "username": "karinha" } ]
Advertencia seguridad en Windows XP
[ { "date": "2008-10-11", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola, a todos.\r\n\r\nCasi con toda deguridad que solucion es el IE7.\r\n\r\nPrueba lo siguiente:\r\n - Abre las opciones de Internet\r\n - Pincha en la pesta de Seguridad\r\n - Ahora pincha sobre el apartado de Intranet Local\r\n - A continuación pincha el botón de Sitios\r\n - Verás que te aparece una pantalla cuya primera casilla de verificación dice : \"Detectar redes Intranet Automáticamente\". Esta casilla viene marcada por defecto, como en la versión anterior, y debería hacer que todos los ordenadores que están en tu red local fuesen detectados como sitios de \" Intranet Local\", pero en esta versión hace justamente lo contrario (se supone que por error).\r\nSaludos", "time": "22:26", "topic": "Advertencia seguridad en Windows XP", "username": "jMelgar" } ]
Advertencia seguridad en Windows XP
[ { "date": "2009-10-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Good morning, \n\nI have been doing some testing with Letodb and works quite well, however before I put my program in production, which is not urgent, I would like to ask for your advice. I would like to know if someone is using Letodb, how long has been using it for, the number or concurrent users, the number of records of the databases, the speed obtained, possible errors or malfunctions detected, etc.\n\nMy program is a small manufacturing, logistics and invoicing software, which I made 20 years ago in Clipper Summer ’87 and it’s been working every day since then. Nowadays it is in FWH 8.06 and Harbour 1.0.1. The dimensions would be: 8 users (Windows XP) in a local network with Windows 2003 server. About 30 tables DBFCDX, the biggest with 80.000 records and 28 MB.\n\nThe reason for using Letodb is to allow other users to connect from outside the office using internet ADSL. These connections would be occasional and mostly viewing rather than adding or editing records. I would rather not to use VNC or Terminal Server.\n\nI have been reading in this forum about other options like SQLWin, AdoRDD and Tmysql. \n\nAny advice about them? I see that the last posts about SQLWin and AdoRDD are some months old. Are the last versions stable and full functional? Is it too complicated for my needs?\n\nThank you very much for you help. Regards,\n\nAlvaro", "time": "13:35", "topic": "Advice about LETODB, SQLWin and AdoRDD", "username": "alvaro533" } ]
Advice about LETODB, SQLWin and AdoRDD
[ { "date": "2009-10-20", "forum": "FiveWin for Harbour/xHarbour", "text": "<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?p=88719#p88719\">viewtopic.php?p=88719#p88719</a><!-- l -->", "time": "19:48", "topic": "Advice about LETODB, SQLWin and AdoRDD", "username": "Antonio Linares" } ]
Advice about LETODB, SQLWin and AdoRDD
[ { "date": "2013-09-05", "forum": "Off Topic / Otros temas", "text": "Good article on Linkedin today:\n\n[url=http&#58;//www&#46;linkedin&#46;com/today/post/article/20130905001513-24171-advice-for-microsoft-s-new-ceo-go-all-in-with-apps/url:1w1rqdj3]Advice for Microsoft’s new CEO: Go All-in with Apps[/url:1w1rqdj3]", "time": "17:03", "topic": "Advice for Microsoft’s new CEO: Go All-in with Apps", "username": "James Bott" } ]
Advice for Microsoft’s new CEO: Go All-in with Apps
[ { "date": "2013-09-10", "forum": "Off Topic / Otros temas", "text": "Correct link: \n[url:ibfdeo83]http&#58;//www&#46;linkedin&#46;com/today/post/article/20130905001513-24171-advice-for-microsoft-s-new-ceo-go-all-in-with-apps[/url:ibfdeo83]\n\nBTW, here is another interesting article:\n<!-- m --><a class=\"postlink\" href=\"http://www.theregister.co.uk/2013/09/05/smbs_to_be_windows_wallflowers/\">http://www.theregister.co.uk/2013/09/05 ... llflowers/</a><!-- m -->\n[quote:ibfdeo83]This is where ISVs will find themselves temporarily stranded between the old world of desktop .exe install and the new world of apps:[b:ibfdeo83] Side-load license keys only come in packs of 100, and they're not transferrable.[/b:ibfdeo83]\n\nAn ISV selling half a dozen licences at a time therefore can't buy a bunch of side-load licences and on-sell them, or even give them away for free, for client installations.\n\nFor an outfit that lives by creating custom apps that tightly reflect the needs and often the IP of a specialised customer base, the [b:ibfdeo83]message right now is that they'll have to live in the world of old-style desktop installation and aren't welcome on the Windows 8.1 Start screen.[/b:ibfdeo83][/quote:ibfdeo83]", "time": "10:53", "topic": "Advice for Microsoft’s new CEO: Go All-in with Apps", "username": "modicr" } ]
Advice for Microsoft’s new CEO: Go All-in with Apps
[ { "date": "2018-12-04", "forum": "Off Topic / Otros temas", "text": "My pc (Windows 7) died...\n\nOn that system, I need to do dayly stuff (internet, mail,...) and it is the system that I use for building my invoice program with FWH 18\n\nThat program is partly 16 bit (rebuilding in 32 bit) Not 64 bit, because in the office I have Win 7 32 computers\n\nI don't want Windows 10, because that is totaly different. Should I go for a Win 7 operation system ? That is no so easy to find anymore...", "time": "15:38", "topic": "Advice for buying new PC", "username": "Marc Venken" } ]
Advice for buying new PC
[ { "date": "2018-12-04", "forum": "Off Topic / Otros temas", "text": "Marc\n\nI advise you to start using Windows 10 64 bits\nIt does not have to have any problem. Since Windows 8 I have been using it and I am very happy with it.\nA computer with Windows 10, enough memory, a good graphics card with dedicated memory, an i5 or better i7, and SSD hard disk, will give you optimal performance.\nSooner or later Microsoft will continue to move forward and, as has happened with previous operating systems, Windows 7 will disappear.", "time": "16:17", "topic": "Advice for buying new PC", "username": "cnavarro" } ]
Advice for buying new PC
[ { "date": "2018-12-04", "forum": "Off Topic / Otros temas", "text": "For FWH 32 bit it is no problem the 64 bit system ?", "time": "16:34", "topic": "Advice for buying new PC", "username": "Marc Venken" } ]
Advice for buying new PC
[ { "date": "2018-12-04", "forum": "Off Topic / Otros temas", "text": "No, it is not.\n\nAnd if you don't like the new menu style of Win 10 you can get a Win 7 style one at Stardock.com.", "time": "17:07", "topic": "Advice for buying new PC", "username": "James Bott" } ]
Advice for buying new PC
[ { "date": "2018-12-04", "forum": "Off Topic / Otros temas", "text": "Microsoft will not be supporting Windows 7. Everything must be Windows 10.\n\nIt would be best to move to the current OS.", "time": "18:12", "topic": "Advice for buying new PC", "username": "TimStone" } ]
Advice for buying new PC
[ { "date": "2018-12-05", "forum": "Off Topic / Otros temas", "text": "Hello Marc,\nswitch your company and your development to \"remote\".\nHave a look at:\n\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=3&t=25121&hilit=serverbook\">viewtopic.php?f=3&t=25121&hilit=serverbook</a><!-- l -->\n\nOn your desktop you can use any OS.\n\nBest regards\nOtto\n\nOn this server - connected to the internet over SIM card - is running:\nApache HTTP Server: local newspaper, hotel web page, DMS and some other web pages\nWINDOWS Server RDP for 2 companies and my development environment.\n\n[img:2x9viudf]https&#58;//mybergland&#46;com/FWForum/serverbook&#46;jpg[/img:2x9viudf]", "time": "08:34", "topic": "Advice for buying new PC", "username": "Otto" } ]
Advice for buying new PC
[ { "date": "2009-06-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\n\nI'm trying to create a MDI window, that can open multiple MDI Child windows that each browse the same database (each window opens a new instance of the database and gives it a unique alias) I have tried to create my own class, and i call a :new() to open the windows/databases/browse etc.\n\nI am now adding a menu to the MDI window, but have the problem of knowing what window is highlighted and to which object the window refers to.\n\nMy class stores the alias name of the browse and i was hoping to reference this in the action of the menu (oObject:cAlias->TICKET_NBR) but i don't know how to reference the Object that is selected.\n\nAny help will be appreciated\n\nPete", "time": "14:28", "topic": "Advice needed", "username": "PeterHarmes" } ]
Advice needed
[ { "date": "2009-06-23", "forum": "FiveWin for Harbour/xHarbour", "text": "oWnd:getActive() returns the active MDI child window (where oWnd is the main window).\n\nIf you use database objects then you don't need to deal with aliases.\n\nRegards,\nJames", "time": "17:38", "topic": "Advice needed", "username": "James Bott" } ]
Advice needed
[ { "date": "2009-06-24", "forum": "FiveWin for Harbour/xHarbour", "text": "I get the following error when i try to referene oWnd:GetActive()\n\n Error description: Warning BASE/1004 Message not found: TMDIFRAME:GETACTIVE - Please contact P & L\n Args:\n\nStack Calls\n===========\n Called from: C:\\xHarbour\\source\\rtl\\tobject.prg => TMDIFRAME:ERROR(172)\n Called from: C:\\xHarbour\\source\\rtl\\tobject.prg => TMDIFRAME:MSGNOTFOUND(205)\n Called from: C:\\xHarbour\\source\\rtl\\tobject.prg => TMDIFRAME:GETACTIVE(0)\n Called from: Scedmdi.prg => (b)SCHEDMDICHILDMENU(205)\n Called from: .\\source\\classes\\MENU.PRG => TMENU:COMMAND(437)\n Called from: C:\\FWH\\source\\classes\\window.prg => TWINDOW:COMMAND(1003)\n Called from: .\\source\\classes\\MDIFRAME.PRG => TMDIFRAME:COMMAND(241)\n Called from: => TMDIFRAME:HANDLEEVENT(0)\n Called from: C:\\FWH\\source\\classes\\window.prg => _FWH(3333)\n Called from: => WINRUN(0)\n Called from: C:\\FWH\\source\\classes\\window.prg => TWINDOW:ACTIVATE(952)\n Called from: ORD_MOD.PRG => MAIN(516)", "time": "09:11", "topic": "Advice needed", "username": "PeterHarmes" } ]
Advice needed
[ { "date": "2009-06-24", "forum": "FiveWin for Harbour/xHarbour", "text": "I've solved my problem - i just pass Self to the menu function and i can then reference the aliases of the databases used. It was pretty obvious really, it's amazing what happens after you've had some sleep!!!\n\nPete", "time": "09:23", "topic": "Advice needed", "username": "PeterHarmes" } ]
Advice needed
[ { "date": "2009-06-24", "forum": "FiveWin for Harbour/xHarbour", "text": "or WndMain():oWndClient:getActive()", "time": "12:09", "topic": "Advice needed", "username": "frose" } ]
Advice needed
[ { "date": "2009-06-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Another question,\n\nWhen a child closes, i would like the wondow to automatically retile the remaining child windows. I've tried to call :tile(.T.) on the valid of the child window, but i think that the app thinks the window is still open. Does anyone know how i can achieve this?\n\nRegards,\n\nPete", "time": "10:48", "topic": "Advice needed", "username": "PeterHarmes" } ]
Advice needed
[ { "date": "2009-06-25", "forum": "FiveWin for Harbour/xHarbour", "text": ">I've tried to call :tile(.T.) on the valid of the child window, but i think that the app thinks the window is still open.\n\nWhen the valid is called, the window IS still open--the window only closes after the valid is executed.\n\nYou can try using a timer in the valid so it tiles after the window is closed.\n\nThese issues are why I never use MDI windows. There is way too much effort for the user spent manipulating windows. A SDI interface like Outlook is much easier for the user.\n\nJames", "time": "17:31", "topic": "Advice needed", "username": "James Bott" } ]
Advice needed
[ { "date": "2009-06-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks James, the timer did the trick <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) -->\n\nPete", "time": "12:07", "topic": "Advice needed", "username": "PeterHarmes" } ]
Advice needed
[ { "date": "2009-06-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Next question... \n\nIf I have 3 tiled MDICHILD windows opened and i want to resort the order that they appear by dragging the bottom window above the second window, is there a way to call a tile when the mouse button is released? I've tried the bMoved option but, this is called as soon as the window is moved not when the mouse button is released.\n\nAny ideas?\n\nThanks\n\nPete", "time": "15:49", "topic": "Advice needed", "username": "PeterHarmes" } ]
Advice needed
[ { "date": "2009-06-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Try bLButtonUp.\n\nJames", "time": "16:01", "topic": "Advice needed", "username": "James Bott" } ]
Advice needed
[ { "date": "2009-08-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\n\nI have two files. KART.dbf and NAMES.dbf (DBFCDX). Every record in KART.dbf has more than one records in NAMES.dbf (1 to N). All of fields is indexed. I run the test1.exe. I can switch the sort order by clicking the headers of first 3 columns. I can not sort 4th column, because its relation field. When I click the header of 4th column, I want to change the XBrowse contents and change the relation file another like view in test2.exe.\n\nHow Can I change it in test1.prg like view in test2.prg?\n\nKART.dbf\n-------------------\nid, Nümeric, AutoID (created by me)\nRef1, Character\nRef2, Character\nIt has also indexes TAGs called ID, REF1, REF2\n\nNAMES.dbf \n--------------------\nid, Nümeric, AutoID (created by me)\nKid, Nümeric (Relation field to KART.dbf. It includes id in KART.dbf)\nName, Character\nIt has also indexes TAGs called ID, KID, NAME\n\nKART.dbf includes data\n----------------------------\n1, \"Ref11\", \"Ref12\"\n2, \"Ref21\", \"Ref22\"\n3, \"Ref31\", \"Ref32\"\n4, \"Ref41\", \"Ref42\"\n\nNAMES.dbf includes data\n----------------------------\n1, 1, \"Albert\"\n2, 1, \"John\"\n3, 2, \"Hakan\"\n4, 2, \"Smith\"\n5, 1, \"Antonio\"\n6, 1, \"Luiz\"\n7, 3, \"Tommy\"\n8, 3, \"Dave\"\n\n[img:182x0dok]http&#58;//www&#46;objekt&#46;com&#46;tr/fwh_test/test1&#46;png[/img:182x0dok]\ntest1.prg\n[code=fw:182x0dok]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span> <br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"XBrowse.Ch\"</span> <br />REQUEST DBFCDX<br />PROCEDURE MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />   RDDSetDefault<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">'DBFCDX'</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><br />        USE NAMES <span style=\"color: #00C800;\">NEW</span> EXCLUSIVE<br />        <span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">ID</span> TAG <span style=\"color: #0000ff;\">ID</span><br />        <span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> KID TAG KID<br />    <span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">NAME</span> TAG <span style=\"color: #0000ff;\">NAME</span><br />    SET ORDER <span style=\"color: #0000ff;\">TO</span> TAG KID<br /><br />    USE KART <span style=\"color: #00C800;\">NEW</span> EXCLUSIVE<br />        <span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">ID</span> TAG <span style=\"color: #0000ff;\">ID</span><br />        <span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> REF1 TAG REF1<br />    <span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> REF2 TAG REF2<br />    SET ORDER <span style=\"color: #0000ff;\">TO</span> TAG <span style=\"color: #0000ff;\">ID</span><br />    SET RELATION <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #0000ff;\">ID</span> INTO NAMES<br />    GO TOP<br /><br />        <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd  <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Kart List\"</span> <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">5</span> <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">35.2</span>,<span style=\"color: #000000;\">95</span> <br /><br />   @ <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">XBROWSE</span> oBrw <span style=\"color: #0000ff;\">OF</span> oWnd             ;<br />      COLUMNS <span style=\"color: #ff0000;\">'ID'</span>, <span style=\"color: #ff0000;\">'REF1'</span>, <span style=\"color: #ff0000;\">'REF2'</span>    ;<br />      HEADERS <span style=\"color: #ff0000;\">'ID'</span>,<span style=\"color: #ff0000;\">'REF1'</span>,<span style=\"color: #ff0000;\">'REF2'</span>              ;<br />      <span style=\"color: #0000ff;\">ALIAS</span> <span style=\"color: #ff0000;\">'KART'</span>                    ;<br />      AUTOSORT  <br />      <br />        oBrw:<span style=\"color: #000000;\">nMarqueeStyle</span> := <span style=\"color: #000000;\">5</span><br />        oBrw:<span style=\"color: #000000;\">lRecordSelector</span> := .f.<br />   <br />     <br />        ADD COLUMN <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #0000ff;\">XBROWSE</span> oBrw <span style=\"color: #00C800;\">AT</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #00C800;\">DATA</span> NAMES->NAME;<br />        HEADER <span style=\"color: #ff0000;\">\"FIRST NAME OF KART\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">135</span>           <br />        oBrw:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bLClickHeader</span> := <span style=\"color: #000000;\">&#123;</span>|| MMMMM<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#125;</span><br />        <br />        oBrw:<span style=\"color: #000000;\">CreateFromCode</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <br />        oWnd:<span style=\"color: #000000;\">oClient</span>   := oBrw<br />    <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> oBrw:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">RETURN</span><br /><br />PROCEDURE MMMMM<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />    <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"I want to change the XBrowse like test2 view\"</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">RETURN</span></div>[/code:182x0dok]\n===========================================================\n[img:182x0dok]http&#58;//www&#46;objekt&#46;com&#46;tr/fwh_test/test2&#46;png[/img:182x0dok]\ntest2.prg\n[code=fw:182x0dok]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span> <br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"XBrowse.Ch\"</span> <br />REQUEST DBFCDX<br />PROCEDURE MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />   RDDSetDefault<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">'DBFCDX'</span> <span style=\"color: #000000;\">&#41;</span><br /><br />    USE KART <span style=\"color: #00C800;\">NEW</span> EXCLUSIVE<br />        <span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">ID</span> TAG <span style=\"color: #0000ff;\">ID</span><br />        <span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> REF1 TAG REF1<br />    <span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> REF2 TAG REF2<br />    SET ORDER <span style=\"color: #0000ff;\">TO</span> TAG <span style=\"color: #0000ff;\">ID</span><br /><br />        USE NAMES <span style=\"color: #00C800;\">NEW</span> EXCLUSIVE<br />        <span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">ID</span> TAG <span style=\"color: #0000ff;\">ID</span><br />        <span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> KID TAG KID<br />    <span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">NAME</span> TAG <span style=\"color: #0000ff;\">NAME</span><br />    SET ORDER <span style=\"color: #0000ff;\">TO</span> TAG <span style=\"color: #0000ff;\">NAME</span><br /><br />    SET RELATION <span style=\"color: #0000ff;\">TO</span> KID INTO KART<br />    <br />    GO TOP<br /><br />        <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd  <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Kart List (Sorted Name)\"</span> <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">5</span> <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">35.2</span>,<span style=\"color: #000000;\">95</span> <br /><br />   @ <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">XBROWSE</span> oBrw <span style=\"color: #0000ff;\">OF</span> oWnd             ;<br />      COLUMNS <span style=\"color: #ff0000;\">'NAME'</span>    ;<br />      HEADERS <span style=\"color: #ff0000;\">'FIRST NAME OF KART'</span>              ;<br />      <span style=\"color: #0000ff;\">ALIAS</span> <span style=\"color: #ff0000;\">'NAMES'</span>                    ;<br />      AUTOSORT  <br /><br />        oBrw:<span style=\"color: #000000;\">nMarqueeStyle</span> := <span style=\"color: #000000;\">5</span><br />        oBrw:<span style=\"color: #000000;\">lRecordSelector</span> := .f.<br />   <br />     <br />        ADD COLUMN <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #0000ff;\">XBROWSE</span> oBrw <span style=\"color: #00C800;\">AT</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #00C800;\">DATA</span> KART->ID;<br />        HEADER <span style=\"color: #ff0000;\">\"ID\"</span> <br />        oBrw:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bLClickHeader</span> := <span style=\"color: #000000;\">&#123;</span>|| MMMMM<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#125;</span><br />        <br />        ADD COLUMN <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #0000ff;\">XBROWSE</span> oBrw <span style=\"color: #00C800;\">AT</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #00C800;\">DATA</span> KART->REF1;<br />        HEADER <span style=\"color: #ff0000;\">\"REF1\"</span> <br />        oBrw:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bLClickHeader</span> := <span style=\"color: #000000;\">&#123;</span>|| MMMMM<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#125;</span><br />        ADD COLUMN <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #0000ff;\">XBROWSE</span> oBrw <span style=\"color: #00C800;\">AT</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #00C800;\">DATA</span> KART->REF2;        <br />        HEADER <span style=\"color: #ff0000;\">\"REF2\"</span> <br />        oBrw:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bLClickHeader</span> := <span style=\"color: #000000;\">&#123;</span>|| MMMMM<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#125;</span><br />        <br />        oBrw:<span style=\"color: #000000;\">CreateFromCode</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <br />        oWnd:<span style=\"color: #000000;\">oClient</span>   := oBrw<br />    <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> oBrw:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">RETURN</span><br /><br />PROCEDURE MMMMM<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />    <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"I want back to change the XBrowse like test1 view\"</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">RETURN</span></div>[/code:182x0dok]\n\n\n[url:182x0dok]http&#58;//www&#46;objekt&#46;com&#46;tr/fwh_test/relation&#46;rar[/url:182x0dok]", "time": "15:10", "topic": "Advice needed about XBrowse usage!", "username": "Horizon" } ]
Advice needed about XBrowse usage!
[ { "date": "2009-08-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Please try:\n[code=fw:2swpotym]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"XBrowse.Ch\"</span><br /><br />REQUEST DBFCDX<br /><br />FIELD <span style=\"color: #0000ff;\">ID</span>, KID<br /><br />PROCEDURE MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oWnd, oBrw<br /><br />&nbsp; &nbsp;RDDSetDefault<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">'DBFCDX'</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">// Assuming that indexes are already built</span><br /><br />&nbsp; &nbsp;USE NAMES <span style=\"color: #00C800;\">NEW</span> SHARED<br />&nbsp; &nbsp;SET ORDER <span style=\"color: #0000ff;\">TO</span> TAG KID<br /><br />&nbsp; &nbsp;USE KART <span style=\"color: #00C800;\">NEW</span> SHARED<br />&nbsp; &nbsp;SET ORDER <span style=\"color: #0000ff;\">TO</span> TAG <span style=\"color: #0000ff;\">ID</span><br />&nbsp; &nbsp;SET RELATION <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #0000ff;\">ID</span> INTO NAMES<br />&nbsp; &nbsp;GO TOP<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd &nbsp;<span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Kart List\"</span> <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">5</span> <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">35.2</span>,<span style=\"color: #000000;\">95</span><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">XBROWSE</span> oBrw <span style=\"color: #0000ff;\">OF</span> oWnd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; FIELDS KART->ID, KART->REF1, KART->REF2, NAMES->NAME ;<br />&nbsp; &nbsp; &nbsp; HEADERS <span style=\"color: #ff0000;\">'ID'</span>,<span style=\"color: #ff0000;\">'REF1'</span>,<span style=\"color: #ff0000;\">'REF2'</span>, <span style=\"color: #ff0000;\">'FIRST NAME OF KART'</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; ORDERS <span style=\"color: #ff0000;\">'ID'</span>, <span style=\"color: #ff0000;\">'REF1'</span>, <span style=\"color: #ff0000;\">'REF2'</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ALIAS</span> <span style=\"color: #ff0000;\">'KART'</span><br /><br />&nbsp; &nbsp;oBrw:<span style=\"color: #000000;\">nMarqueeStyle</span> &nbsp; &nbsp; := <span style=\"color: #000000;\">5</span><br />&nbsp; &nbsp;oBrw:<span style=\"color: #000000;\">lRecordSelector</span> &nbsp; := .f.<br />&nbsp; &nbsp;oBrw:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">bLClickHeader</span> := <span style=\"color: #000000;\">&#123;</span>|| MMMMM<span style=\"color: #000000;\">&#40;</span> oBrw <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp;oBrw:<span style=\"color: #000000;\">CreateFromCode</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;oWnd:<span style=\"color: #000000;\">oClient</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; := oBrw<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> oBrw:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">RETURN</span><br /><br />PROCEDURE MMMMM<span style=\"color: #000000;\">&#40;</span> oBrw <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> cName := NAMES->NAME, nID := KART->ID<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> oBrw:<span style=\"color: #000000;\">cAlias</span> == <span style=\"color: #ff0000;\">'KART'</span><br />&nbsp; &nbsp; &nbsp; KART-><span style=\"color: #000000;\">&#40;</span> &nbsp;DbClearRelation<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; NAMES-><span style=\"color: #000000;\">&#40;</span> OrdSetFocus<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">'NAME'</span> <span style=\"color: #000000;\">&#41;</span>, DbSetRelation<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">'KART'</span>, <span style=\"color: #000000;\">&#123;</span> || KID <span style=\"color: #000000;\">&#125;</span>, <span style=\"color: #ff0000;\">'KID'</span> <span style=\"color: #000000;\">&#41;</span>, DbSeek<span style=\"color: #000000;\">&#40;</span> cName <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; oBrw:<span style=\"color: #000000;\">cAlias</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; := <span style=\"color: #ff0000;\">'NAMES'</span><br />&nbsp; &nbsp; &nbsp; oBrw:<span style=\"color: #0000ff;\">ID</span>:<span style=\"color: #000000;\">cSortOrder</span> &nbsp; &nbsp; &nbsp;:= <span style=\"color: #00C800;\">nil</span><br />&nbsp; &nbsp; &nbsp; oBrw:<span style=\"color: #000000;\">Ref1</span>:<span style=\"color: #000000;\">cSortOrder</span> &nbsp; &nbsp;:= <span style=\"color: #00C800;\">nil</span><br />&nbsp; &nbsp; &nbsp; oBrw:<span style=\"color: #000000;\">Ref2</span>:<span style=\"color: #000000;\">cSortOrder</span> &nbsp; &nbsp;:= <span style=\"color: #00C800;\">nil</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp; &nbsp; NAMES-><span style=\"color: #000000;\">&#40;</span> DbClearRelation<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, OrdSetFocus<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">'KID'</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; KART-><span style=\"color: #000000;\">&#40;</span> &nbsp;DbSetRelation<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">'NAMES'</span>, <span style=\"color: #000000;\">&#123;</span> || <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">&#125;</span>, <span style=\"color: #ff0000;\">'ID'</span> <span style=\"color: #000000;\">&#41;</span>, DbSeek<span style=\"color: #000000;\">&#40;</span> nID <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; oBrw:<span style=\"color: #000000;\">cAlias</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; := <span style=\"color: #ff0000;\">'KART'</span><br />&nbsp; &nbsp; &nbsp; oBrw:<span style=\"color: #0000ff;\">ID</span>:<span style=\"color: #000000;\">cSortOrder</span> &nbsp; &nbsp; &nbsp;:= <span style=\"color: #ff0000;\">'ID'</span><br />&nbsp; &nbsp; &nbsp; oBrw:<span style=\"color: #000000;\">Ref1</span>:<span style=\"color: #000000;\">cSortOrder</span> &nbsp; &nbsp;:= <span style=\"color: #ff0000;\">'REF1'</span><br />&nbsp; &nbsp; &nbsp; oBrw:<span style=\"color: #000000;\">Ref2</span>:<span style=\"color: #000000;\">cSortOrder</span> &nbsp; &nbsp;:= <span style=\"color: #ff0000;\">'REF2'</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span><br /><br />&nbsp; &nbsp;oBrw:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">RETURN</span></div>[/code:2swpotym]", "time": "03:51", "topic": "Advice needed about XBrowse usage!", "username": "nageswaragunupudi" } ]
Advice needed about XBrowse usage!
[ { "date": "2009-08-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks nageswaragunupudi,\n\nI think This is my way to do this. When I run the prg, I noticed something. Is there any suggestion for it.\n\nIf I click directly 4th column header there is no problem. \nBut, if I click the Ref1 column header and then 4.th column It refresh the filter. There is no problem so far. Then I click the 4.th column header again, There is no KART.dbf data in the window. I could not understand it.\n\nAny Suggestion?", "time": "12:31", "topic": "Advice needed about XBrowse usage!", "username": "Horizon" } ]
Advice needed about XBrowse usage!
[ { "date": "2009-08-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Please change this code :\n[code=fw:18s8z3m6]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">KART-><span style=\"color: #000000;\">&#40;</span> &nbsp;DbClearRelation<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span></div>[/code:18s8z3m6]\nas\n[code=fw:18s8z3m6]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">KART-><span style=\"color: #000000;\">&#40;</span> &nbsp;DbClearRelation<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, OrdSetFocus<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">'ID'</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span></div>[/code:18s8z3m6]", "time": "04:26", "topic": "Advice needed about XBrowse usage!", "username": "nageswaragunupudi" } ]
Advice needed about XBrowse usage!
[ { "date": "2009-08-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks,\n\nIt works now.", "time": "10:13", "topic": "Advice needed about XBrowse usage!", "username": "Horizon" } ]
Advice needed about XBrowse usage!
[ { "date": "2009-08-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Horizon,\nwould you be so kind to post the dbf and index files, too.\nThanks in advance\nOtto", "time": "12:37", "topic": "Advice needed about XBrowse usage!", "username": "Otto" } ]
Advice needed about XBrowse usage!
[ { "date": "2009-08-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\n\nThis url is the same as my first message in this thread.\n\n[url:9vuaah1w]http&#58;//www&#46;objekt&#46;com&#46;tr/fwh_test/relation&#46;rar[/url:9vuaah1w]", "time": "13:22", "topic": "Advice needed about XBrowse usage!", "username": "Horizon" } ]
Advice needed about XBrowse usage!
[ { "date": "2009-06-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\n\nI used to print my labels to my local printer from programs like below.\n\nFirst I create a new file from my template file and then print like that\n\n[code=fw:3duv62tm]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />WinExec<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"cmd /c YAZ.BAT\"</span><span style=\"color: #000000;\">&#41;</span></div>[/code:3duv62tm]\n\nYAZ.BAT\n[code=fw:3duv62tm]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">TYPE NewFile.PRN > PRN</div>[/code:3duv62tm]\n\nI need to write my NewFile.PRN without using winexec and Batch file to label printers defined in Control Panel of Windows.\n\nHow Can I do it?\n\nThanks in advance.", "time": "11:06", "topic": "Advice needed about printing Label Printers", "username": "Horizon" } ]
Advice needed about printing Label Printers
[ { "date": "2009-06-26", "forum": "FiveWin for Harbour/xHarbour", "text": "xHarbour has a function PrintFileRaw(). Maybe that could help you\n\n[b:23ya0vgn]PrintFileRaw()[/b:23ya0vgn]\nPrints a file to a Windows printer in RAW mode. \n\n[b:23ya0vgn]Syntax[/b:23ya0vgn]\n[quote:23ya0vgn]PrintFileRaw( <cPrinterName>, ;\n <cFileName> , ;\n [<cJobTitle>] ) --> nErrorCode[/quote:23ya0vgn]\n\n[b:23ya0vgn]Arguments[/b:23ya0vgn]\n[i:23ya0vgn]<cPrinter> [/i:23ya0vgn]\nThis is a character string holding the name of the printer to use for printing. \n\n[i:23ya0vgn]<cFileName> [/i:23ya0vgn]\nThe file to print must be specified as a character string, including path and extension. If the path is omitted, the file is searched in the current directory. \n\n[i:23ya0vgn]<cJobTitle> [/i:23ya0vgn]\nThis is an optional character string which appears as print job description in the spooler. It defaults to <cFileName>. Return\nThe function returns 1 on success or a value less than zero on error. See the example for error codes. \n\n[b:23ya0vgn]Description[/b:23ya0vgn]\nFunction PrintFileRaw() prints a file to a Windows printer in RAW mode. This restricts file types for printing to enhanced metafiles (EMF), ASCII text, and raw data, which includes all printer specific file types such as PostScript and PCL. The file is sent to the Windows spooler which processes the print job. The function returns zero when the file is successfully transferred to the spooler. Note that this is no guarantee for a printout. If the physical printer is out of paper, for example, the spooler reports an error to the user. This type of failure cannot be detected by PrintFileRaw(). \n\n\n[b:23ya0vgn]Example[/b:23ya0vgn]\n[code=fw:23ya0vgn]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #B900B9;\">// The example prints a file in RAW mode and demonstrates</span><br /><span style=\"color: #B900B9;\">// the possible return values of PrintFileRaw().</span><br /><br />   PROCEDURE Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />      <span style=\"color: #00C800;\">LOCAL</span> cPrinter := GetDefaultPrinter<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />      <span style=\"color: #00C800;\">LOCAL</span> cFile    := <span style=\"color: #ff0000;\">\"MyFile.Txt\"</span><br />      <span style=\"color: #00C800;\">LOCAL</span> nResult  := <span style=\"color: #000000;\">-1</span><br />      <span style=\"color: #00C800;\">LOCAL</span> cMsg     := <span style=\"color: #ff0000;\">\"PrintFileRaw(): \"</span><br /><br />      CLS<br />      <span style=\"color: #00C800;\">IF</span> Empty<span style=\"color: #000000;\">&#40;</span> cPrinter <span style=\"color: #000000;\">&#41;</span><br />         ? <span style=\"color: #ff0000;\">\"No default printer found\"</span><br />         QUIT<br />      <span style=\"color: #00C800;\">ENDIF</span><br /><br />      nResult := PrintFileRaw<span style=\"color: #000000;\">&#40;</span> cPrinter, cFile, <span style=\"color: #ff0000;\">\"Test for PrintFileRaw()\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br />      <span style=\"color: #00C800;\">SWITCH</span> nResult<br />      <span style=\"color: #00C800;\">CASE</span> <span style=\"color: #000000;\">-1</span><br />         cMsg += <span style=\"color: #ff0000;\">\"Invalid parameters passed to function\"</span> ; EXIT<br />      <span style=\"color: #00C800;\">CASE</span> <span style=\"color: #000000;\">-2</span><br />         cMsg += <span style=\"color: #ff0000;\">\"WinAPI OpenPrinter() call failed\"</span>      ; EXIT<br />      <span style=\"color: #00C800;\">CASE</span> <span style=\"color: #000000;\">-3</span><br />         cMsg += <span style=\"color: #ff0000;\">\"WinAPI StartDocPrinter() call failed\"</span>  ; EXIT<br />      <span style=\"color: #00C800;\">CASE</span> <span style=\"color: #000000;\">-4</span><br />         cMsg += <span style=\"color: #ff0000;\">\"WinAPI StartPagePrinter() call failed\"</span> ; EXIT<br />      <span style=\"color: #00C800;\">CASE</span> <span style=\"color: #000000;\">-5</span><br />         cMsg += <span style=\"color: #ff0000;\">\"WinAPI malloc() of memory failed\"</span>      ; EXIT<br />      <span style=\"color: #00C800;\">CASE</span> <span style=\"color: #000000;\">-6</span><br />         cMsg += <span style=\"color: #ff0000;\">\"File \"</span> + cFile + <span style=\"color: #ff0000;\">\" not found\"</span>          ; EXIT<br />      <span style=\"color: #00C800;\">DEFAULT</span><br />         cMsg += cFile + <span style=\"color: #ff0000;\">\" PRINTED OK!!!\"</span><br />      END<br /><br />      ? cMsg<br />   <span style=\"color: #00C800;\">RETURN</span><br /> </div>[/code:23ya0vgn]", "time": "03:20", "topic": "Advice needed about printing Label Printers", "username": "hua" } ]
Advice needed about printing Label Printers
[ { "date": "2009-06-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Thank you very much hua.\n\nIt works.", "time": "22:18", "topic": "Advice needed about printing Label Printers", "username": "Horizon" } ]
Advice needed about printing Label Printers
[ { "date": "2015-02-03", "forum": "FiveWin for Harbour/xHarbour", "text": "I use this syntax to find out reccount for scoped and filtered dbfcdx file.\n\n[code=fw:mr9n3opj]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">    <br />    USE MYFILE <span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #ff0000;\">\"SSTAR\"</span>    <br />    SET SCOPE <span style=\"color: #0000ff;\">TO</span> DTOS<span style=\"color: #000000;\">&#40;</span>xTARIH<span style=\"color: #000000;\">&#41;</span>, DTOS<span style=\"color: #000000;\">&#40;</span>xTARIH<span style=\"color: #000000;\">&#41;</span><br /><br />    <span style=\"color: #00C800;\">IF</span> !Empty<span style=\"color: #000000;\">&#40;</span>SSART<span style=\"color: #000000;\">&#41;</span><br />           SET FILTER <span style=\"color: #0000ff;\">TO</span> &SSART <br />    <span style=\"color: #00C800;\">ENDIF</span><br />    GO TOP<br />    nCount := <span style=\"color: #000000;\">0</span><br />    <span style=\"color: #00C800;\">DO</span> <span style=\"color: #00C800;\">WHILE</span> !EOF<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <br />        nCount++<br />        SKIP<br />        SysRefresh<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />    <span style=\"color: #00C800;\">ENDDO</span><br /> </div>[/code:mr9n3opj]\n\nIs there any other method to find out reccount?\n\nThanks.", "time": "11:03", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "Horizon" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Hakan,\n\nyou can try OrdKeyCount() but keep in mind that it doesn't respect filters, only scopes and index FOR clause conditions.\n\nEMG", "time": "11:15", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "Enrico Maria Giordano" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-03", "forum": "FiveWin for Harbour/xHarbour", "text": "OrdKeyCount() respects not only scopes and (for cond indexes) but also filters.\nBut it does not exclude deleted() records when set deleted on ( this is how we use normally ).\nSo if we set filter to \"SET FILTER TO !DELETED()\" then the OrdKeyCount() excludes deleted records also.", "time": "14:00", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "nageswaragunupudi" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Rao,\n\n[quote=\"nageswaragunupudi\":3ashbuco]OrdKeyCount() respects not only scopes and (for cond indexes) but also filters.[/quote:3ashbuco]\n\nYou're right! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEMG", "time": "14:35", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "Enrico Maria Giordano" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Since the filter info is not contained in the index, then ordkeycount() would have to read all the records in the scope in order to determine those in the filter. This must be rather slow since it is all disk access.\n\nJames", "time": "16:05", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "James Bott" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-03", "forum": "FiveWin for Harbour/xHarbour", "text": "James,\n\n[quote=\"James Bott\":185qi7rm]Since the filter info is not contained in the index, then ordkeycount() would have to read all the records in the scope in order to determine those in the filter. This must be rather slow since it is all disk access.[/quote:185qi7rm]\n\nThis is true... <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nEMG", "time": "16:24", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "Enrico Maria Giordano" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-03", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote:2q8kgv78]would have to read all the records[/quote:2q8kgv78]\nNot at all so with the present day optimized filters in DBFCDX and other advanced RDDs\n\nDecades back we were working with Clipper with DBFNDX, DBFNTX RDDs. Those days if a filter is set, RDD reads all records and skips filtered and deleted records. Yes, that was deadly slow. Gurus used to say avoid filters like plague.\n\nThen Foxpro came up with Rushmore technology, introducing bitmapped filtering technique, initially optimized with the help of indexes. That changed the entire scenario. Filtering was lightning fast.\n\nComix and SIX RDDs came into market providing the same technology for Clipper. Now no limits on filtering. Later Clipper bought Comix from Loadstone and incorporated the same in DBFCDX in Clipper 5.3, though Clipper's adoption is less powerful than the original Comix.\n\nPresent 32-bit (x)Harbour also provide the same functionality. OrdKeyCount() even with filters is very fast and does not have to read all records in the scope.", "time": "16:28", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "nageswaragunupudi" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Rao,\n\nI don't think filters are fast with standard xHarbour's DBFCDX. But I strongly hope to be wrong...\n\nEMG", "time": "16:40", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "Enrico Maria Giordano" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Nages,\n\nThanks for the explanation. \n\n[quote:ddra5knz]OrdKeyCount() even with filters is very fast and does not have to read all records in the scope.[/quote:ddra5knz]\n\nI would think this would have to be \"may not\" instead of \"does not.\" If, information in the filter is not contained in any of the indexes, then I don't see how it could avoid reading all the records in the scope.\n\nJames", "time": "17:29", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "James Bott" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\n\nIn a dbf with about 50.000 records, Harbour and RDDCDX filters are slow, and much more in a network scenario.\n\nIn network mode, I just do:\n\n[code=fw:3nbqkgic]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> &nbsp; SET EXCLUSIVE OFF<br />&nbsp; &nbsp;<br />&nbsp; &nbsp;USE <span style=\"color: #000000;\">&#40;</span>cMyPath+<span style=\"color: #ff0000;\">\"AUXILIAR\"</span><span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">NEW</span> &nbsp;<span style=\"color: #0000ff;\">ALIAS</span> <span style=\"color: #ff0000;\">\"AUXILIAR\"</span><br />&nbsp; &nbsp;AUXILIAR-><span style=\"color: #000000;\">&#40;</span>OrdSetFocus<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"AUXILIAR1\"</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span></div>[/code:3nbqkgic]\n\nMaybe I am missing something.\n\nThank you.", "time": "18:33", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "lucasdebeltran" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Instead of 50,000 records let us test on 100.000 records (approx).\n\nPlease compile and run this program:\nCopy \\fwh\\samples\\customer.dbf to the folder where the exe is located. Or build this program in \\fwh\\samples folder.\n\n[code=fw:2cxuyj34]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"fivewin.ch\"</span><br /><br />REQUEST DBFCDX<br /><br /><span style=\"color: #00C800;\">static</span> <span style=\"color: #00C800;\">function</span> TestFilter<br /><br />&nbsp; &nbsp;field AGE, STATE, CITY<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> n, nSecs, nCount<br /><br />&nbsp; &nbsp;SET EXACT OFF<br />&nbsp; &nbsp;SET DELETED <span style=\"color: #0000ff;\">ON</span><br />&nbsp; &nbsp;SET EXCLUSIVE OFF<br /><br />&nbsp; &nbsp;RDDSETDEFAULT<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"DBFCDX\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #B900B9;\">//---</span><br /><br />&nbsp; &nbsp;? <span style=\"color: #ff0000;\">\"Start Building 100,000 recs dbf\"</span><br /><br />&nbsp; &nbsp;USE CUSTOMER EXCLUSIVE<br />&nbsp; &nbsp;COPY <span style=\"color: #0000ff;\">TO</span> CUST100<br />&nbsp; &nbsp;CLOSE <span style=\"color: #00C800;\">DATA</span><br />&nbsp; &nbsp;USE CUST100 EXCLUSIVE<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">for</span> n := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">199</span><br />&nbsp; &nbsp; &nbsp; APPEND <span style=\"color: #0000ff;\">FROM</span> CUSTOMER<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">next</span><br />&nbsp; &nbsp;CLOSE <span style=\"color: #00C800;\">DATA</span><br /><br />&nbsp; &nbsp;? <span style=\"color: #ff0000;\">\"Index big dbf\"</span><br />&nbsp; &nbsp;USE CUST100 EXCLUSIVE<br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> AGE TAG AGE<br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> STATE TAG STATE<br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> UPPER<span style=\"color: #000000;\">&#40;</span>CITY<span style=\"color: #000000;\">&#41;</span> TAG CITY<br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> DELETED<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> TAG DELETED<br />&nbsp; &nbsp;CLOSE <span style=\"color: #00C800;\">DATA</span><br /><br /><span style=\"color: #B900B9;\">//-----</span><br /><br />&nbsp; &nbsp;? <span style=\"color: #ff0000;\">\"Open BigDbf\"</span><br />&nbsp; &nbsp;USE CUST100 <span style=\"color: #00C800;\">NEW</span> SHARED<br />&nbsp; &nbsp;? <span style=\"color: #ff0000;\">\"Apply filter and get count\"</span><br />&nbsp; &nbsp;nSecs &nbsp; &nbsp;:= Seconds<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;SET FILTER <span style=\"color: #0000ff;\">TO</span> AGE < <span style=\"color: #000000;\">70</span> .AND. <span style=\"color: #000000;\">&#40;</span> STATE = <span style=\"color: #ff0000;\">\"NY\"</span> .OR. STATE = <span style=\"color: #ff0000;\">\"WA\"</span> <span style=\"color: #000000;\">&#41;</span> .AND. UPPER<span style=\"color: #000000;\">&#40;</span>CITY<span style=\"color: #000000;\">&#41;</span> < <span style=\"color: #ff0000;\">\"M\"</span> .AND. ! DELETED<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;GO TOP<br />&nbsp; &nbsp;? <span style=\"color: #ff0000;\">\"Filtered in \"</span> + Str<span style=\"color: #000000;\">&#40;</span> Seconds<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> - nSecs <span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #ff0000;\">\" secs\"</span><br /><br />&nbsp; &nbsp;nSecs &nbsp; &nbsp;:= Seconds<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;nCount &nbsp; := OrdKeyCount<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;nSecs &nbsp; &nbsp;:= Seconds<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> - nSecs<br /><br />&nbsp; &nbsp;FWDBG LastRec<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, nCount, nSecs<br />&nbsp; &nbsp;SET ORDER <span style=\"color: #0000ff;\">TO</span> TAG STATE<br />&nbsp; &nbsp;GO TOP<br />&nbsp; &nbsp;XBROWSER <span style=\"color: #ff0000;\">\"CUST100\"</span><br />&nbsp; &nbsp;CLOSE <span style=\"color: #00C800;\">DATA</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br />&nbsp;</div>[/code:2cxuyj34]\n\nCheck the time taken to execute OrdKeyCount() and experience the xbrowse.\nI built the program with Harbour. It took 0.40 seconds (less than 1/2 second) to count 1400 filtered records in a total 99,200 records. Do we still say that the RDD \"reads all records\" for counting ?", "time": "23:21", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "nageswaragunupudi" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-03", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote:w5nefj71] If, information in the filter is not contained in any of the indexes, then I don't see how it could avoid reading all the records in the scope.[/quote:w5nefj71]\nFilter information is never stored in indexes.\n\nRDD builds a record list (whatever name it is called) of which each bit represents one record. RDD sets on and off the bits evaluating the filter condition based on index expressions and index values. Where the filter condition is not fully optimized, RDD scans the remaining records (maybe's) and eliminates filtered records. This is normally done as and when required. OrdKeyCount() also forces this operation.\n\nFinally counting filtered records is only counting \"on\" bits of the internal list.\n\nDBFCDX RDD (and some other advanced RDDs) basically has good optimization capabilities. It is for the programmer to make the best use of these capabilities.\n\n1. Do not use aliases in index experssions or filter expressions.\n INDEX ON STATE is better than INDEX ON CUST->STATE or INDEX ON FIELD->STATE\n2. Do not use memory variables or UDFs in the filter experssions. Instead use literal constants.\n3. Left side of a comparison expression should match exactly an index expression.\n When there is an index on UPPER(CITY), better we use UPPER(CITY) < \"M\" than CITY < \"M\"\n4. If the filter expression contains optimzable and not optimizable expressions, let us start with optimizable expressions first. If some expressions result in fewer filtered records then let us have such experssions first. (I am not very sure how our RDD works, but this is by long years of experience in building where/filter clauses on large RDBMSs)\n5) If targetting networked environments, keep the size of index files to the minimum. This is very important", "time": "23:53", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "nageswaragunupudi" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Mr. Nages,\n\nThank you very much for your indications.\n\nAnd, wouldn´t be better for performance to SET DELETED OFF and create indexes like\n\n[code=fw:3uyup4eo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> FIELD->CODIGO TAG EMISOR1 &nbsp;<span style=\"color: #00C800;\">FOR</span> !Deleted<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span></div>[/code:3uyup4eo]\n?.\n\n(or INDEX ON CODIGO TAG EMISOR1 [b:3uyup4eo]FOR !Deleted()[/b:3uyup4eo])?.\n\nThank you.", "time": "08:53", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "lucasdebeltran" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Thank you \n\nI have solved my problem like that\n\n[code=fw:3ipuyb6j]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">    USE MYFILE <span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #ff0000;\">\"SSTAR\"</span>    <br />    SET SCOPE <span style=\"color: #0000ff;\">TO</span> DTOS<span style=\"color: #000000;\">&#40;</span>xTARIH<span style=\"color: #000000;\">&#41;</span>, DTOS<span style=\"color: #000000;\">&#40;</span>xTARIH<span style=\"color: #000000;\">&#41;</span><br /><br />    <span style=\"color: #00C800;\">IF</span> !Empty<span style=\"color: #000000;\">&#40;</span>SSART<span style=\"color: #000000;\">&#41;</span><br />           SSART += <span style=\"color: #ff0000;\">\" .AND. !DELETED()\"</span><br />           SET FILTER <span style=\"color: #0000ff;\">TO</span> &SSART <br />    <span style=\"color: #00C800;\">ENDIF</span><br />    GO TOP<br />    nCount := OrdKeyCount<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span></div>[/code:3ipuyb6j]\n\nThis is more faster than my old code.", "time": "09:05", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "Horizon" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Conditional indexes are not used for optimizing filters.\nIt does not make any difference whether SET DELETED is OFF or ON for indexing.\nCreate normal non-conditional indexes on the disk.\n\n[code=fw:1ccvjtf5]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">field CITY  <span style=\"color: #B900B9;\">// declaration like local, static, etc</span><br /><br /><span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> UPPER<span style=\"color: #000000;\">&#40;</span>CITY<span style=\"color: #000000;\">&#41;</span> TAG CITY <span style=\"color: #B900B9;\">// Please note: I am not using FIELD->CITY</span></div>[/code:1ccvjtf5]\n\nFor every large table, create one TAG as a matter of routine:\n[code=fw:1ccvjtf5]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> DELETED<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> TAG DELETED</div>[/code:1ccvjtf5]\n\nWhen we do not need any filter use\nSET FILTER TO !DELETED()\n\nWhen we need a filter, suffix \" .AND. !DELETED()\" to the filter condition:\nSET FILTER TO <condition> .AND. !DELETED()\n\nWe may create conditional indexes on a temporary basis at runtime only to improve navigation speeds for browses.", "time": "09:08", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "nageswaragunupudi" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Mr. Nages,\n\nFrom previous posts from you I understood that SET DELETED ON in a network scenareo and xBrowse causes some delay, so that´s the reason to include the For !Deleted() clause on the index command.\n\nIs it correct?.\n\nThank you.", "time": "09:16", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "lucasdebeltran" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "This sample:\n\n[code=fw:3p7hmbuq]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">REQUEST DBFCDX<br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> nSec, nKey<br /><br />&nbsp; &nbsp; RDDSETDEFAULT<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"DBFCDX\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">IF</span> !FILE<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"CORSE.CDX\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; USE CORSE<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> DTOS<span style=\"color: #000000;\">&#40;</span> FIELD -> <span style=\"color: #00C800;\">data</span> <span style=\"color: #000000;\">&#41;</span> + UPPER<span style=\"color: #000000;\">&#40;</span> FIELD -> cliente <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">TO</span> CORSE<br />&nbsp; &nbsp; &nbsp; &nbsp; CLOSE<br />&nbsp; &nbsp; <span style=\"color: #00C800;\">ENDIF</span><br /><br />&nbsp; &nbsp; USE CORSE <span style=\"color: #0000ff;\">INDEX</span> CORSE<br /><br />&nbsp; &nbsp; SET FILTER <span style=\"color: #0000ff;\">TO</span> FIELD -> cliente = <span style=\"color: #ff0000;\">\"A\"</span><br /><br />&nbsp; &nbsp; nSec = SECONDS<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; nKey = ORDKEYCOUNT<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; ? SECONDS<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> - nSec, nKey<br /><br />&nbsp; &nbsp; CLOSE<br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:3p7hmbuq]\n\ndisplays this without filter\n\n[code=fw:3p7hmbuq]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">0.00</span> &nbsp; &nbsp; <span style=\"color: #000000;\">910404</span></div>[/code:3p7hmbuq]\n\nand this with filter:\n\n[code=fw:3p7hmbuq]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">2.20</span> &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">58776</span></div>[/code:3p7hmbuq]\n\nSo I don't see any optimization... <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nEMG", "time": "10:30", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "Enrico Maria Giordano" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nHmm, you can't compare with and without a filter to see optimization. It seems you would have to compare the filter compiled with xHarbour (with optimization) v.s. Clipper (without optimization).\n\nJames", "time": "16:04", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "James Bott" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "James,\n\nunderstood. Can't test with Clipper anymore, sorry. <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nEMG", "time": "16:10", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "Enrico Maria Giordano" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Because this filter \n[code=fw:dcdkb9vt]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">SET FILTER <span style=\"color: #0000ff;\">TO</span> FIELD -> cliente = <span style=\"color: #ff0000;\">\"A\"</span></div>[/code:dcdkb9vt]\ncan not be optimized at all.\n\nAs I said earlier, DBFCDX provides capabilities of optimization, provided the programmer wants to avail the benefits of these capabilities. In this case we can not say DBFCDX is slow.\n\nIf there is an index on CLIENTE then SET FILTER TO CLIENTE = \"A\" can be fully optimized.\nIf there is an index on UPPER(CLIENTE) then SET FILTER TO UPPER(CLIENTE) = 'A' can be fully optimized.\n\nThe guidelines I indicated above to set optimized filters/where clauses are universal and are applicable to all RDBMSs as well.", "time": "17:33", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "nageswaragunupudi" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Rao,\n\n[quote=\"nageswaragunupudi\":puf307ci]If there is an index on CLIENTE then SET FILTER TO CLIENTE = \"A\" can be fully optimized.\nIf there is an index on UPPER(CLIENTE) then SET FILTER TO UPPER(CLIENTE) = 'A' can be fully optimized.[/quote:puf307ci]\n\nIf I had an index on UPPER(CLIENTE) I wouldn't need of filters at all. I would just use scopes. We can't have an index for any possible filter.\n\nEMG", "time": "17:44", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "Enrico Maria Giordano" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nConsider:\n\nAssuming there is an index on client, then this should be optimized:\n\nset filter to client =\"A\" .or. client=\"M\"\n\nAnd I don't think you can do this with scopes.\n\nJames", "time": "17:50", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "James Bott" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Rao,\n\n[quote=\"nageswaragunupudi\":37h56xdu]If there is an index on CLIENTE then SET FILTER TO CLIENTE = \"A\" can be fully optimized.\nIf there is an index on UPPER(CLIENTE) then SET FILTER TO UPPER(CLIENTE) = 'A' can be fully optimized.[/quote:37h56xdu]\n\nI don't see any speed improvement in the modified sample below. <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\n[code=fw:37h56xdu]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">REQUEST DBFCDX<br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> nSec, nKey<br /><br />&nbsp; &nbsp; RDDSETDEFAULT<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"DBFCDX\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">IF</span> !FILE<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"CORSE.CDX\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; USE CORSE<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> UPPER<span style=\"color: #000000;\">&#40;</span> FIELD -> cliente <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">TO</span> CORSE<br />&nbsp; &nbsp; &nbsp; &nbsp; CLOSE<br />&nbsp; &nbsp; <span style=\"color: #00C800;\">ENDIF</span><br /><br />&nbsp; &nbsp; USE CORSE <span style=\"color: #0000ff;\">INDEX</span> CORSE<br /><br />&nbsp; &nbsp; nSec = SECONDS<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; SET FILTER <span style=\"color: #0000ff;\">TO</span> UPPER<span style=\"color: #000000;\">&#40;</span> FIELD -> cliente <span style=\"color: #000000;\">&#41;</span> = <span style=\"color: #ff0000;\">\"A\"</span><br /><br />&nbsp; &nbsp; nKey = ORDKEYCOUNT<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; ? SECONDS<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> - nSec, nKey<br /><br />&nbsp; &nbsp; CLOSE<br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:37h56xdu]\n\nEMG", "time": "18:00", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "Enrico Maria Giordano" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "James,\n\n[quote=\"James Bott\":1k4qs7e9]Consider:\n\nAssuming there is an index on client, then this should be optimized:\n\nset filter to client =\"A\" .or. client=\"M\"\n\nAnd I don't think you can do this with scopes.[/quote:1k4qs7e9]\n\nAssuming that the filter above could be optimized, it would only be a specific case. Imagine a dialog full of GETs. You want your user to search on any fields and combinations. You just can't create such a number of indexes, can you?\n\nEMG", "time": "18:05", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "Enrico Maria Giordano" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\n[quote:3gdm2f88]You want your user to search on any fields and combinations.[/quote:3gdm2f88]\n\nAgreed, but I don't see any logical way you can search for any combination of fields in a filter without reading all the records for at least some of the combinations.\n\nI think the point is, that some filters will be optimized if there is a useful index. And this is better than no optimization ever--which was the old way.\n\nYou also have to consider probability. There are a few combinations of fields that users will search often, and some that they will never search. Think of the 80/20 rule-- 20% of the combinations will be searched 80% of the time. You could log the searches for awhile, then make sure you have indexes that will help in those 20% of the cases. Hmm, now if you wanted to get really sophisticated, you could build a routine that automatically tracks the searches and then designs indexes to speed them up. I like it.", "time": "18:42", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "James Bott" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Will you kindly try this sample as it is without changes?\n[code=fw:13x85r8o]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">REQUEST DBFCDX<br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; FIELD CLIENTE<br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> nSec, nKey<br /><br />&nbsp; &nbsp; RDDSETDEFAULT<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"DBFCDX\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><br />&nbsp; &nbsp; FERASE<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"CORSE.CDX\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; <br />&nbsp; &nbsp; USE CORSE EXCLUSIVE<br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> UPPER<span style=\"color: #000000;\">&#40;</span>CLIENTE<span style=\"color: #000000;\">&#41;</span> TAG CLIENTE<br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> DELETED<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> TAG DELETED<br />&nbsp; &nbsp; CLOSE<br /><br />&nbsp; &nbsp; USE CORSE SHARED<br /><br />&nbsp; &nbsp; nSec = SECONDS<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; SET FILTER <span style=\"color: #0000ff;\">TO</span> UPPER<span style=\"color: #000000;\">&#40;</span>CLIENTE<span style=\"color: #000000;\">&#41;</span> = <span style=\"color: #ff0000;\">\"A\"</span> .AND. !DELETED<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; nKey = ORDKEYCOUNT<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; ? SECONDS<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> - nSec, nKey<br /><br />&nbsp; &nbsp; CLOSE<br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br />&nbsp;</div>[/code:13x85r8o]", "time": "18:52", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "nageswaragunupudi" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "James,\n\n[quote=\"James Bott\":1izjss20]Agreed, but I don't see any logical way you can search for any combination of fields in a filter without reading all the records for at least some of the combinations.[/quote:1izjss20]\n\nI've always used conditional indexes created \"on the fly\" with very good results. The searches demanded by my clients are normally very complex, requiring functions calls inside the key and the FOR conditions.\n\nEMG", "time": "19:19", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "Enrico Maria Giordano" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Rao,\n\n[quote=\"nageswaragunupudi\":1f5773e3]Will you kindly try this sample as it is without changes?[/quote:1f5773e3]\n\nYes, there is a speed improvement:\n\nOLD\n\n[code=fw:1f5773e3]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">2.20</span> &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">58776</span></div>[/code:1f5773e3]\n\nNEW\n\n[code=fw:1f5773e3]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">1.84</span> &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">58776</span></div>[/code:1f5773e3]\n\nThis is my modified sample:\n\n[code=fw:1f5773e3]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">REQUEST DBFCDX<br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> nSec, nKey<br /><br />&nbsp; &nbsp; RDDSETDEFAULT<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"DBFCDX\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">IF</span> !FILE<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"CORSE.CDX\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; USE CORSE<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">INDEX</span> <span style=\"color: #0000ff;\">ON</span> UPPER<span style=\"color: #000000;\">&#40;</span> FIELD -> cliente <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">TO</span> CORSE<br />&nbsp; &nbsp; &nbsp; &nbsp; CLOSE<br />&nbsp; &nbsp; <span style=\"color: #00C800;\">ENDIF</span><br /><br />&nbsp; &nbsp; USE CORSE <span style=\"color: #0000ff;\">INDEX</span> CORSE<br /><br />&nbsp; &nbsp; SET ORDER <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">0</span><br /><br />&nbsp; &nbsp; nSec = SECONDS<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; SET FILTER <span style=\"color: #0000ff;\">TO</span> UPPER<span style=\"color: #000000;\">&#40;</span> FIELD -> cliente <span style=\"color: #000000;\">&#41;</span> = <span style=\"color: #ff0000;\">\"A\"</span><br /><br />&nbsp; &nbsp; nKey = ORDKEYCOUNT<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; ? SECONDS<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> - nSec, nKey<br /><br />&nbsp; &nbsp; CLOSE<br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:1f5773e3]\n\nAs you can see, the only required change is SET ORDER TO 0.\n\nEMG", "time": "19:25", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "Enrico Maria Giordano" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "I would explain that my new sample is as fast as your. So nothing related to optimizations. <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nEMG", "time": "19:28", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "Enrico Maria Giordano" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr EMG\n\nYou modified my code.\nFor once please compile my code exactly as it is without changing even a single alphabet and then see the difference. I guarantee a difference in speed.\nBTW may I know the total number of records?\nOr please send me your dbf ziipped.", "time": "19:38", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "nageswaragunupudi" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Rao,\n\n[quote=\"nageswaragunupudi\":dgqfvcir]You modified my code.[/quote:dgqfvcir]\n\nNo, I run your sample as is and I got 1.84. Then I changed my original sample and I got the same speed.\n\n[quote=\"nageswaragunupudi\":dgqfvcir]BTW may I know the total number of records?[/quote:dgqfvcir]\n\nIs in my first message: 910404\n\nEMG", "time": "19:48", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "Enrico Maria Giordano" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2015-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "I love a lively discussion. I always learn something new.\n\nJames", "time": "20:13", "topic": "Advice needed for reccount() in scopped and filtered dbfcdx.", "username": "James Bott" } ]
Advice needed for reccount() in scopped and filtered dbfcdx.
[ { "date": "2008-11-14", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\r\n\r\nOne of our clients have asked if we could capture an image from their cctv system. We have asked the cctv company for details on how to do this and they sent the following reply:\r\n\r\n[quote:3v3a5m5m]We can confirm that there is currently a camera viewing the Weighbridge connected to the CCTV System. In our recent visit the Engineer installed a Video Splitter Unit which now feeds an image from this camera into the On Site Digital Video Recorder and a further output which is now available for your own purpose of inserting a cameo onto the Weighbridge data. This output is terminated with a BNC plug on an approximate three metre lead in preparation to connect to a composite video card that would be required on the PC for this purpose.[/quote:3v3a5m5m]\r\n\r\nHas anyone else done anything similar to this and have any advice on retrieving an image from a video card?\r\n\r\nThanks in advance\r\n\r\nPete", "time": "13:05", "topic": "Advice on image capture needed.", "username": "PeterHarmes" } ]
Advice on image capture needed.
[ { "date": "2008-11-15", "forum": "FiveWin for Harbour/xHarbour", "text": "Peter,\r\n\r\nThis code will help you to manage a webcam:\r\n\r\n<!-- w --><a class=\"postlink\" href=\"http://www.fivetechsoft.com/files/utilities/608webcam_harbour_xharbour.zip\">www.fivetechsoft.com/files/utilities/60 ... arbour.zip</a><!-- w -->", "time": "03:07", "topic": "Advice on image capture needed.", "username": "Antonio Linares" } ]
Advice on image capture needed.
[ { "date": "2008-11-15", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio\r\n\r\nWhen I try to open the file I receive the following message:\r\n\"The compressed (zipped) folder is invalid or corrupted\"\r\n\r\nRegards,\r\n\r\nGeorge", "time": "18:45", "topic": "Advice on image capture needed.", "username": "George" } ]
Advice on image capture needed.
[ { "date": "2008-07-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\r\n\r\nI am a very newby at FWH and Harbour. I am a litte bit confused about data entry forms. I could not make decision which one should i use? WINDOW or DIALOG. The same sample with one get and one button results different views. \r\n\r\nI have also need the manual of Borland Resource Workshop (english) and advice about its usage. \r\n\r\nSorry for my english.\r\n\r\nThanks\r\n\r\nRegards,", "time": "12:19", "topic": "Advice to a newby.", "username": "Horizon" } ]
Advice to a newby.
[ { "date": "2008-07-29", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Horizon\":24uz2bxc]Hi,\n\nI am a very newby at FWH and Harbour. I am a litte bit confused about data entry forms. I could not make decision which one should i use? WINDOW or DIALOG. The same sample with one get and one button results different views.[/quote:24uz2bxc]\n\nGenerally speaking, DIALOGs are for non-resizeable data entry forms and WINDOWs are for main window and for resizeable single or multiple document view.\n\n[quote=\"Horizon\":24uz2bxc]I have also need the manual of Borland Resource Workshop (english) and advice about its usage.[/quote:24uz2bxc]\r\n\r\nRun BRW then press F1.\r\n\r\nEMG", "time": "12:32", "topic": "Advice to a newby.", "username": "Enrico Maria Giordano" } ]
Advice to a newby.
[ { "date": "2008-07-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks Enrico.", "time": "15:34", "topic": "Advice to a newby.", "username": "Horizon" } ]
Advice to a newby.
[ { "date": "2007-09-25", "forum": "FiveWin for Pocket PC", "text": "To All\n\nI have just begun using FWPPC and would like to know -\n\nIs it better to use resource workshop or manually build dialogs and controls - I have created a dialog with BRW and have a static say 'Client ID' but when testing it only displays 'Client' - which leads to my second question - is it better to have the PDA to test on or is the emulator just as good.\n\nWhat font and font size is recommended.\n\nI also created a edit field and set for right justification for a numeric input but the cursor stays on the left side.\n\nCheers\n\nColin", "time": "02:42", "topic": "Advise", "username": "Colin Haig" } ]
Advise
[ { "date": "2007-09-25", "forum": "FiveWin for Pocket PC", "text": "Colin,\n\nYou may use free Pelles C IDE to create dialog for Pocket PC. When you run your applications real device is good choice to test them.\n\nIn my projects default font is System 10. This is larger font than default (8) but it's more readable for users.\n\nSample dialog:\n[code:20uzn9du]\n#include \"c&#58;\\vce\\include\\arm\\windows&#46;h\"\n#include \"c&#58;\\vce\\include\\arm\\commctrl&#46;h\"\n\nDOKHEAD DIALOG DISCARDABLE 0, 0, 136, 154\nSTYLE WS_POPUP|DS_MODALFRAME|WS_CAPTION|WS_VISIBLE\nCAPTION \"Nag&#322;&#46;dokumentu\"\nFONT 10, \"System\"\nBEGIN\n CONTROL \"Klient&#58;\", 1001, \"Static\", SS_RIGHT|WS_GROUP, 0, 2, 22, 11\n CONTROL \"Data wyst&#58;\", 1002, \"Static\", SS_RIGHT|WS_GROUP, 0, 24, 36, 11\n CONTROL \"Sp&#46; zap&#322;&#58;\", 1003, \"Static\", SS_RIGHT|WS_GROUP, 0, 36, 36, 11\n CONTROL \"Termin&#58;\", 1004, \"Static\", SS_RIGHT|WS_GROUP, 0, 49, 36, 11\n CONTROL \"Realiz&#58;\", 1005, \"Static\", SS_RIGHT|WS_GROUP, 0, 61, 36, 11\n CONTROL \"Upust&#58;\", 1006, \"Static\", SS_RIGHT|WS_GROUP, 0, 73, 36, 11\n CONTROL \"W&#46;netto&#58;\", 1007, \"Static\", SS_RIGHT|WS_GROUP, 0, 85, 36, 11\n CONTROL \"Ulica&#58;\", 1008, \"Static\", SS_RIGHT|WS_GROUP, 0, 109, 24, 11\n CONTROL \"Pna/M&#58;\", 1009, \"Static\", SS_RIGHT|WS_GROUP, 0, 121, 24, 11\n CONTROL \"\", 1010, \"Edit\", ES_MULTILINE|ES_AUTOVSCROLL|ES_UPPERCASE|ES_READONLY|WS_VSCROLL|WS_BORDER, 22, 2, 112, 21\n CONTROL \"\", 1011, \"Edit\", ES_AUTOHSCROLL|ES_READONLY|WS_BORDER, 36, 24, 50, 11\n CONTROL \"\", 1012, \"Edit\", ES_AUTOHSCROLL|ES_READONLY|WS_BORDER, 88, 24, 40, 11\n CONTROL \"\", 1013, \"ComboBox\", WS_BORDER|CBS_DROPDOWNLIST|WS_VSCROLL|WS_TABSTOP, 36, 36, 50, 40\n CONTROL \"\", 1014, \"Edit\", ES_RIGHT|ES_NUMBER|ES_AUTOHSCROLL|ES_READONLY|WS_BORDER, 102, 36, 26, 11\n CONTROL \"\", 1015, \"SysDateTimePick32\", WS_TABSTOP|0x00800000, 36, 49, 50, 11\n CONTROL \"+\", 1016, \"Button\", WS_TABSTOP, 88, 49, 12, 11\n CONTROL \"-\", 1017, \"Button\", WS_TABSTOP, 102, 49, 12, 11\n CONTROL \"0\", 1018, \"Button\", WS_TABSTOP, 116, 49, 12, 11\n CONTROL \"\", 1019, \"SysDateTimePick32\", WS_TABSTOP|0x00800000, 36, 61, 50, 11\n CONTROL \"+\", 1020, \"Button\", WS_TABSTOP, 88, 61, 12, 11\n CONTROL \"-\", 1021, \"Button\", WS_TABSTOP, 102, 61, 12, 11\n CONTROL \"K\", 1022, \"Button\", WS_TABSTOP, 116, 61, 12, 11\n CONTROL \"\", 1023, \"Edit\", ES_RIGHT|ES_NUMBER|ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 36, 73, 32, 11\n CONTROL \"+\", 1024, \"Button\", WS_TABSTOP, 88, 73, 12, 11\n CONTROL \"-\", 1025, \"Button\", WS_TABSTOP, 102, 73, 12, 11\n CONTROL \"\", 1026, \"Edit\", ES_RIGHT|ES_NUMBER|ES_AUTOHSCROLL|ES_READONLY|WS_BORDER, 36, 85, 48, 11\n CONTROL \"\", 1027, \"Edit\", ES_RIGHT|ES_NUMBER|ES_AUTOHSCROLL|ES_READONLY|WS_BORDER, 86, 85, 48, 11\n CONTROL \"Obliczenia od cen brutto\", 1028, \"Button\", BS_AUTOCHECKBOX|WS_TABSTOP, 36, 97, 98, 11\n CONTROL \"\", 1029, \"Edit\", ES_AUTOHSCROLL|ES_UPPERCASE|ES_READONLY|WS_BORDER, 24, 109, 110, 11\n CONTROL \"\", 1030, \"Edit\", ES_AUTOHSCROLL|ES_UPPERCASE|ES_READONLY|WS_BORDER, 24, 121, 32, 11\n CONTROL \"\", 1031, \"Edit\", ES_AUTOHSCROLL|ES_UPPERCASE|ES_READONLY|WS_BORDER, 58, 121, 76, 11\n CONTROL \"Uwagi\", 1032, \"Button\", WS_TABSTOP, 28, 138, 34, 12\n CONTROL \"<<\", 1033, \"Button\", WS_TABSTOP, 64, 138, 34, 12\n CONTROL \"Zapisz\", 1034, \"Button\", WS_TABSTOP, 100, 138, 34, 12\nEND\n[/code:20uzn9du]\n\nRegards\nPawel", "time": "06:24", "topic": "Advise", "username": "pawelu" } ]
Advise
[ { "date": "2007-09-25", "forum": "FiveWin for Pocket PC", "text": "[quote=\"Colin Haig\":1npsbcaa]Is it better to use resource workshop or manually build dialogs and controls[/quote:1npsbcaa]\n\nResource editor is better, as usual. But I'm not using it at the moment because I found strange differences in the results on the emulator and on the real device. At least using BRW.\n\n[quote=\"Colin Haig\":1npsbcaa]- I have created a dialog with BRW and have a static say 'Client ID' but when testing it only displays 'Client'[/quote:1npsbcaa]\n\nWe might need of a working RESIZE16 clause as in FWH. Antonio?\n\n[quote=\"Colin Haig\":1npsbcaa]- which leads to my second question - is it better to have the PDA to test on or is the emulator just as good.[/quote:1npsbcaa]\n\nI haven't a PDA. The emulator seems to work fine and the development is faster as you don't have to upload the EXE in the device after each compilation. But yes, you should make at least a final test on the real PDA.\n\n[quote=\"Colin Haig\":1npsbcaa]What font and font size is recommended.[/quote:1npsbcaa]\n\nI usually don't use a specific font (ie. the default system font is used).\n\n[quote=\"Colin Haig\":1npsbcaa]I also created a edit field and set for right justification for a numeric input but the cursor stays on the left side.[/quote:1npsbcaa]\n\nYes, this is a bug of FWPPC, still unresolved. Antonio?\n\nEMG", "time": "08:47", "topic": "Advise", "username": "Enrico Maria Giordano" } ]
Advise
[ { "date": "2007-09-25", "forum": "FiveWin for Pocket PC", "text": "[quote=\"EnricoMaria\":11th0zal][quote=\"Colin Haig\":11th0zal]Is it better to use resource workshop or manually build dialogs and controls[/quote:11th0zal]\n\nResource editor is better, as usual. But I'm not using it at the moment because I found strange differences in the results on the emulator and on the real device. At least using BRW.\n\n[quote=\"Colin Haig\":11th0zal]- I have created a dialog with BRW and have a static say 'Client ID' but when testing it only displays 'Client'[/quote:11th0zal]\n\nWe might need of a working RESIZE16 clause as in FWH. Antonio?\n\n[quote=\"Colin Haig\":11th0zal]- which leads to my second question - is it better to have the PDA to test on or is the emulator just as good.[/quote:11th0zal]\n\nI haven't a PDA. The emulator seems to work fine and the development is faster as you don't have to upload the EXE in the device after each compilation. But yes, you should make at least a final test on the real PDA.\n\n[quote=\"Colin Haig\":11th0zal]What font and font size is recommended.[/quote:11th0zal]\n\nI usually don't use a specific font (ie. the default system font is used).\n\n[quote=\"Colin Haig\":11th0zal]I also created a edit field and set for right justification for a numeric input but the cursor stays on the left side.[/quote:11th0zal]\n\nYes, this is a bug of FWPPC, still unresolved. Antonio?\n\nEMG[/quote:11th0zal]\n\nThanks Enrico for your reply - as I am just starting I might try Pelles RE as suggested by Palewu - I also dont have a PDA but if there was going to be a great variation between the PDA and emulator I would get a PDA.\n\nRegards\n\nColin", "time": "11:29", "topic": "Advise", "username": "Colin Haig" } ]
Advise
[ { "date": "2007-09-25", "forum": "FiveWin for Pocket PC", "text": "Enrico,\n\n> We might need of a working RESIZE16 clause as in FWH. Antonio? \n\nIf it is needed then we will implement it <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\n> Yes, this is a bug of FWPPC, still unresolved. Antonio? \n\nWe found it as a side effect when using a PICTURE. Afaik if you remember the picture, then the right side style was working fine. We didn't find yet whats the relation between them", "time": "19:11", "topic": "Advise", "username": "Antonio Linares" } ]
Advise
[ { "date": "2007-09-25", "forum": "FiveWin for Pocket PC", "text": "Colin,\n\n> to be a great variation between the PDA and emulator \n\nIt may depend on what PDA you may use. We use a HP IPAQ and the emulator and the PDA look exactly the same", "time": "19:13", "topic": "Advise", "username": "Antonio Linares" } ]
Advise
[ { "date": "2023-03-31", "forum": "FiveWin for Harbour/xHarbour", "text": "I finaly found a guy that did a setup of server 2019 for remote desktop so that I can test running on this kind of server (comming from Peer to Peer)\nAfther the 120 day trial I need to setup a final system and here I would like your advise :\nI know somewhat windows desktops and a I7 if faster I5 and 32 ram beter that 16 ...\nBut Server hardware seems to be totaly different because they need more secure, better hardware, all better.\nIf that is so, I can live with that and am willing to pay for it, but when not knowing, when is there hardware overkill ? \nI'm using a type FW system with lot of data transfers from DBF into Xbrowsers...\n\nWill these servers machines run significant faster than the type high laptop/desktop\n\nThey offered a systhem for 3.500 euro like this\n\nPowerEdge T150\nChassis 4 x 3.5in Cabled\n2x 480GB SSD\nIntel Xeon E-2314\n16GB\nDual-Port 1GbE\nS150 Software RAID-controller\niDRAC9 Enterprise\n3 Year ProSupport\n5x Windows Server 2022 RDS USER CALs\n5x Windows Server 2022 USER CALs\n1x Windows Server 2022 Standard ROK 16CORE\n\nI bought a year ago a Laptop with high specs (like Otto adviced) for 1400 euros, but this system was not used and rapid claimed by the family for playing the heavy games )))\n\nI could buy again a high performances laptop, +- 1500 and start using this.\n\nand finaly I saw a offer for this kind of machine :\n\nDell Precision 7920 for around 2.900 euro (here some hardware like to much nVidia could be erased.\n\nChassis\nDell Precision 7920\nCPU\n2x Intel Xeon Gold 6130 - 16C/24T, 2.70-3.70Ghz, 22MB Cache, 125W\nMem\n256GB DDR4, 16x 16GB PC4-2666\nRAID-Controller\nPERC H730 Mini Mono\nGPU\n3x Nvidia Quadro M4000 8GB GDDR5\nFrontbezel\n1x Dell Frontbezel Faceplate\nPower Supply\n2x 1100W 80+ Platinum Hotswap PSU\nRack Rails\n1x Rackrails R740/ 7920", "time": "21:09", "topic": "Advise in Server hardware", "username": "Marc Venken" } ]
Advise in Server hardware
[ { "date": "2023-03-31", "forum": "FiveWin for Harbour/xHarbour", "text": "I also see the exsistence of 10 Gig network cards. This will speed things up also with the correct other hardware ?", "time": "21:46", "topic": "Advise in Server hardware", "username": "Marc Venken" } ]
Advise in Server hardware
[ { "date": "2023-03-31", "forum": "FiveWin for Harbour/xHarbour", "text": "Marc,\n\nIt really depends on how much demand you have.\n\nMy clients are small businesses and they run from 2 - 20 workstations. Most are using a Windows 11 computer. You will get excellent results from a Windows 11 computer, with a 512 GB SSD and a 1 TB drive, plus 16GB of RAM. Most computers have Gigabyte network cards. Of course you need more if you are going to run multiple applications all day long with multiple workstations, plus handling your phone system, and with an email / web server. But likely that is not what you need.\n\nJust to see how well things can work, I purchased a super mini computer in a box. It runs Windows 11 Pro ( included ) and has a new Celeron processor, 512 GB SSD, 8 GB RAM, for under $ 200 after applying the discount code ( <!-- m --><a class=\"postlink\" href=\"https://www.amazon.com/dp/B0BLZF36JH?psc=1&ref=ppx_yo2ov_dt_b_product_details\">https://www.amazon.com/dp/B0BLZF36JH?ps ... ct_details</a><!-- m --> ). I installed Advantage Database Server on it, and my program. It is a tiny box, but it does a great job. I am testing it as a server, and my client software accesses it on a Gigabit network. It is very fast and has absolutely no problems. I'm going to even try to set it up to access via the internet. \n\nMy point is that the power of the server really depends on what type of load you will place on it. My clients could actually enter data all day long on that tiny little box, and it in their real world setting ( especially for 3-5 workstations ), it would likely perform up to their expectations. Of course they make them with i5 and i7 processors, and more RAM, and they would be even better. My point is that you don't need to spend a lot of money and have a big powerful server. Usually that only helps the hardware seller unless you are on some huge operation.", "time": "22:03", "topic": "Advise in Server hardware", "username": "TimStone" } ]
Advise in Server hardware