messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2006-04-03", "forum": "FiveWin para Harbour/xHarbour", "text": "Julio como el link de las classes esta roto, no puedo hacer pruebas directas lo que te mande fue con la conversion de la tabla, por lo que comento que la tabla esta bien.\n\n\npuedes subirlo a: <!-- m --><a class=\"postlink\" hre...
ADO no me funciona en una tabla en especifico
[ { "date": "2006-04-03", "forum": "FiveWin para Harbour/xHarbour", "text": "Por favor, los ficheros que intercambieis alojadlos en <!-- w --><a class=\"postlink\" href=\"http://www.hyperupload.com\">www.hyperupload.com</a><!-- w --> y publicar aqui el enlace de descarga para que asi otros usuarios puedan...
ADO no me funciona en una tabla en especifico
[ { "date": "2006-04-07", "forum": "FiveWin para Harbour/xHarbour", "text": "Bueno, este es el final de este capitulo de la trilogía \"ADO y yo\" !\n\nEl asunto esta solucionado. Son tantas las consideraciones y aprendizajes con esto que me paso, que creo que estaré escribiendo algo mas amplio en mi reci...
ADO no me funciona en una tabla en especifico
[ { "date": "2006-01-26", "forum": "FiveWin para Harbour/xHarbour", "text": "Ola pessoal, estou trabalhando com o ADO para o ACCESS porem alguns comandos conforme relação abaixo não funciona! sabem porque?\n\n****************************************************\n#Include \"Fivewin.ch\"\nFunction Main()\nL...
ADO não funciona o RecordCount()?
[ { "date": "2006-01-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Ola pessoal, estou trabalhando com o ADO para o ACCESS porem alguns comandos conforme relação abaixo não funciona! sabem porque?\n\n****************************************************\n#Include \"Fivewin.ch\"\nFunction Main()\nLO...
ADO não funciona o RecordCount()?
[ { "date": "2006-01-26", "forum": "FiveWin for Harbour/xHarbour", "text": "From the MSDN:\n\n\"The returned Recordset object is always a read-only, forward-only cursor.\"\n\nUse recordsets instead of connections:\n\n[code:2nkza2xb]#define adOpenForwardOnly 0\n#define adOpenKeyset 1\n#define adOpenDy...
ADO não funciona o RecordCount()?
[ { "date": "2006-01-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Perfect!\n\nMuito obrigado,\nRonaldo Minacapelli", "time": "16:38", "topic": "ADO não funciona o RecordCount()?", "username": "ronaldo" } ]
ADO não funciona o RecordCount()?
[ { "date": "2006-01-31", "forum": "FiveWin para Harbour/xHarbour", "text": "Ronaldo,\n\n¿Donde tienes el cursor? ¿¿Que valor tiene CursorLocation del objeto Connection??\n\nSaludos,\nJosé Luis Capel", "time": "17:52", "topic": "ADO não funciona o RecordCount()?", "username": "jlcapel" } ]
ADO não funciona o RecordCount()?
[ { "date": "2006-01-31", "forum": "FiveWin para Harbour/xHarbour", "text": "No uses objetos CONNECTION para ejecutar el query, los objetos CONNECTION regresan un cursor forward que no puede recuperar los valores que necesitas.\n\nCrea un objeto Connection, luego un objeto Command y eso te devolvera el Re...
ADO não funciona o RecordCount()?
[ { "date": "2006-01-31", "forum": "FiveWin para Harbour/xHarbour", "text": "René,\n\n[quote:37sla978]No uses objetos CONNECTION para ejecutar el query, los objetos CONNECTION regresan un cursor forward que no puede recuperar los valores que necesitas.[/quote:37sla978]\n\nNo es exactamente como tu dices. ...
ADO não funciona o RecordCount()?
[ { "date": "2006-02-01", "forum": "FiveWin para Harbour/xHarbour", "text": "Ronaldo,\n\nPrueba este código a ver si te ayuda a clarificar por que no te funcionan los métodos que indicas:\n\n[code:1bllbe90]#Include \"Fivewin&#46;ch\"\n\n#define adBookmark 0x2000 \n#define adMovePrevious 0x200 \n\n\nFuncti...
ADO não funciona o RecordCount()?
[ { "date": "2006-02-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi enrico..\n\nDo you Know , Where Find Mtehods and DATA from this Class..\n\n\nCREATEOBJECT( \"ADODB.Recordset\" )\n\n\nThanks", "time": "02:35", "topic": "ADO não funciona o RecordCount()?", "username": "mauricioajor...
ADO não funciona o RecordCount()?
[ { "date": "2006-02-28", "forum": "FiveWin for Harbour/xHarbour", "text": "On the MSDN.\n\nEMG", "time": "09:13", "topic": "ADO não funciona o RecordCount()?", "username": "Enrico Maria Giordano" } ]
ADO não funciona o RecordCount()?
[ { "date": "2006-02-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks Enrico...\n\n I´m Learn About ADO, But You Can Response Only Two Asks?\n\n\n First ..\n\n Using ADODB My Systems Are Compatible With win98 , winxp , win2003 ?\n\n Second..\n\n Using ADODB My Systems Required DATAB...
ADO não funciona o RecordCount()?
[ { "date": "2006-02-28", "forum": "FiveWin for Harbour/xHarbour", "text": "1) WinXP and Win2003: yes. Win98: you will need to install Office or MSDE.\n\n2) No.\n\nEMG", "time": "16:48", "topic": "ADO não funciona o RecordCount()?", "username": "Enrico Maria Giordano" } ]
ADO não funciona o RecordCount()?
[ { "date": "2006-02-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks Very Much Enrico.\n\n\n \nMauricio", "time": "17:00", "topic": "ADO não funciona o RecordCount()?", "username": "mauricioajordao" } ]
ADO não funciona o RecordCount()?
[ { "date": "2006-03-01", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"EnricoMaria\":1u5q0l6s]1) WinXP and Win2003: yes. Win98: you will need to install Office or MSDE.[/quote:1u5q0l6s]\n\nSorry, MDAC not MSDE.\n\nEMG", "time": "17:24", "topic": "ADO não funciona o RecordCount()?", ...
ADO não funciona o RecordCount()?
[ { "date": "2006-03-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks Enrico AGAIN...\n\n i´m modify TCBROWSE to ADO\n\n How Get Field Names of Database Using ADO ?\n\n\n\n\nthanks Mauricio", "time": "00:12", "topic": "ADO não funciona o RecordCount()?", "username": "mauricio...
ADO não funciona o RecordCount()?
[ { "date": "2006-03-02", "forum": "FiveWin for Harbour/xHarbour", "text": "[code:hyoifeh7]#define adOpenForwardOnly 0\n#define adOpenKeyset 1\n#define adOpenDynamic 2\n#define adOpenStatic 3\n\n#define adLockReadOnly 1\n#define adLockPessimistic 2\n#define adLockOptimistic 3...
ADO não funciona o RecordCount()?
[ { "date": "2006-03-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico ,\n\nThe Object Change ADO for ADOX because You are Using Extend ADO methods, Thats Right?\n\n\nThe Extende ADO methods are 100% compatible ?\n\n\n\n\nthanks , AGAIN\n\nmauricio\n(brazil)", "time": "10:27", "topic":...
ADO não funciona o RecordCount()?
[ { "date": "2006-03-02", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"mauricioajordao\":10ldrvt6]Enrico ,\n\nThe Object Change ADO for ADOX because You are Using Extend ADO methods, Thats Right?\n\n\nThe Extende ADO methods are 100% compatible ?[/quote:10ldrvt6]\n\nYes and yes.\n\nEMG", ...
ADO não funciona o RecordCount()?
[ { "date": "2006-03-02", "forum": "FiveWin for Harbour/xHarbour", "text": "THANKS AGAIN\n\nMAURICIO", "time": "11:31", "topic": "ADO não funciona o RecordCount()?", "username": "mauricioajordao" } ]
ADO não funciona o RecordCount()?
[ { "date": "2010-03-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola : proba asi si usas Ado \n\n oData1:RecordCount() Asi no funciona \n\n \n\n If oData1:RecordCount > 0 \n ? \"Hay \"\n ...
ADO não funciona o RecordCount()?
[ { "date": "2010-03-17", "forum": "FiveWin para Harbour/xHarbour", "text": "A mi me funciona Asi. COn Mysql\n \n\n if oDatos:RecordCount() =0 //ADORecCount()\n MsgInfo(\"No Hay Datos \",\"Informacion\") Return (.t.)\n endif\n nLinea := 1 ; nHasta := oDatos:RecordCount()\n oD...
ADO não funciona o RecordCount()?
[ { "date": "2010-03-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Por qué no usas un recordset. Prueba así:\n\n\n****************************************************\n#Include \"Fivewin.ch\"\nFunction Main()\nLOCAL txSql\nPRIVATE oCn,oRs,oError\n\n//Crea el objeto conexión\nTRY\n\toCn := TOleAu...
ADO não funciona o RecordCount()?
[ { "date": "2010-03-18", "forum": "FiveWin para Harbour/xHarbour", "text": "Então, creio que essas opções não funcionem, pois voc~e deve verificar a forma de abertura do RecordSet.\n\nRonaldo Minacapelli", "time": "21:40", "topic": "ADO não funciona o RecordCount()?", "username": "ronaldo" ...
ADO não funciona o RecordCount()?
[ { "date": "2019-09-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola,\n\n¿Sabéis donde puedo encontrar la documentación de sus parámetros?\n\nMuchas gracias.", "time": "19:04", "topic": "ADO oCn:Backup()", "username": "MOISES" } ]
ADO oCn:Backup()
[ { "date": "2019-09-16", "forum": "FiveWin para Harbour/xHarbour", "text": "Moises:\n\nDale una revisión a MySqlDump.exe y MySQL.Exe, para hacer\nel respaldo/recuperación de acuerdo a tus necesidades.\n\nSaludos", "time": "19:34", "topic": "ADO oCn:Backup()", "username": "Armando" } ]
ADO oCn:Backup()
[ { "date": "2019-09-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Muchas gracias por contestar. Busco una aproximación vía ADO para MySQL/MSSQL/María DB, neutral por tanto desde el punto de vista de la base de datos.\n\nCreo que existe este método, pero no he encontrado sus parámetros.\n\nUn sa...
ADO oCn:Backup()
[ { "date": "2019-09-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Moises:\n\nMira este link\n\n<!-- m --><a class=\"postlink\" href=\"https://www.linode.com/docs/databases/mysql/use-mysqldump-to-back-up-mysql-or-mariadb/\">https://www.linode.com/docs/databases/m ... r-mariadb/</a><!-- m -->\n\n...
ADO oCn:Backup()
[ { "date": "2019-09-17", "forum": "FiveWin para Harbour/xHarbour", "text": "Muchas gracias, pero no es lo que busco, porque el backup se tiene que hacer desde el propio programa y usando los métodos de ADO, para que funcione también en MSSQL, SQLite. etc.", "time": "16:49", "topic": "ADO oCn:Back...
ADO oCn:Backup()
[ { "date": "2014-12-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\n\nI'm using ADO and at the begin op my program I open a connection to the SQL-server.\nThis program is running for a long time, and sometimes I get a ''MySQL server has gone away'-error.\nThis is always when executing a co...
ADO open/close Connection Question
[ { "date": "2014-12-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Marc,\n\nI always open a recodset only when needed. Programs don't slow down. If you have to write a bunch of record then take care to open and close the recordset only once.\n\nEMG", "time": "12:22", "topic": "ADO open/cl...
ADO open/close Connection Question
[ { "date": "2014-12-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nI always open and close also when using a recordset, but if I want to inset records, or delete records, I don't use recordsets.\nI use the [code=fw:2ojj9uo6]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\...
ADO open/close Connection Question
[ { "date": "2014-12-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Marc,\n\nIf you don't use recordsets you still need to open and close connections.\n\nEMG", "time": "13:25", "topic": "ADO open/close Connection Question", "username": "Enrico Maria Giordano" } ]
ADO open/close Connection Question
[ { "date": "2014-12-07", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Enrico Maria Giordano\":1see933g]Marc,\n\nIf you don't use recordsets you still need to open and close connections.\n\nEMG[/quote:1see933g]\n\nEnrico,\n\nThat was my question. Now I'm opening the connection at the beginni...
ADO open/close Connection Question
[ { "date": "2014-12-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Marc,\n\nyour best option is to open che connection just before the call to one or more Execute() methods and to close it at the end.\n\nEMG", "time": "15:07", "topic": "ADO open/close Connection Question", "username":...
ADO open/close Connection Question
[ { "date": "2014-12-07", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Enrico Maria Giordano\":28hny0hm]Marc,\n\nyour best option is to open che connection just before the call to one or more Execute() methods and to close it at the end.\n\nEMG[/quote:28hny0hm]\n\nThanks Enrico,\n\nJust one ...
ADO open/close Connection Question
[ { "date": "2014-12-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Marc,\n\nyou can safely use the first option (one only CreateObject()).\n\nEMG", "time": "17:10", "topic": "ADO open/close Connection Question", "username": "Enrico Maria Giordano" } ]
ADO open/close Connection Question
[ { "date": "2006-08-31", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi guys\n\nUsually in PHP when I need to insert a record in an SQL table I check first the primary key value to avoid to get an error for duplicate key entry.\nI'm uploading a .dbf file to a SQL table. The .dbf has values there ex...
ADO question
[ { "date": "2013-06-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\n\nI am using an Access 2003 database via ADO in a single PC.\n\nSometimes, when I add the records the recordset is not refreshed, despite the call of oRs:Requery(), even twice. I have to wait 3-4 seconds and after that tim...
ADO question: Access is not refresing properly
[ { "date": "2013-06-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Lucas,\n\nI am using ADO + Access on a development and I don't call oRs:Requery() when adding a record and here it works fine <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nI...
ADO question: Access is not refresing properly
[ { "date": "2013-06-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\n[quote=\"Antonio Linares\":lw2j3qoo]oRS:MoveLast()\noRs:AddNew()\nfill the right values\noRS:Update()[/quote:lw2j3qoo]\n\nYou can safely remove oRS:MoveLast(). <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" al...
ADO question: Access is not refresing properly
[ { "date": "2013-06-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\n\nThis is a complete test:\n<!-- m --><a class=\"postlink\" href=\"http://demo.ovh.es/en/9beda86cc9165fb7bae4af1cd65c05f9/\">http://demo.ovh.es/en/9beda86cc9165fb7bae4af1cd65c05f9/</a><!-- m -->\n\nJust click on Añadir, an...
ADO question: Access is not refresing properly
[ { "date": "2013-06-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Lucas,\n\n[quote=\"lucasdebeltran\":1qqyawcl]Just click on Añadir, and you will see that oRs is not updated:[/quote:1qqyawcl]\n\nTry using adOpenDynamic:\n\n[url:1qqyawcl]http&#58;//www&#46;w3schools&#46;com/ado/met_rs_open&#46;as...
ADO question: Access is not refresing properly
[ { "date": "2013-06-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Lucas\n\nYou define oRs as your recordset for your xBrowse .. when you create a record .. pass oRs, and oBrowse to your add routine and DO NOT redefine oRs as local in that add routine.\n\noRs Represents the data that can be passe...
ADO question: Access is not refresing properly
[ { "date": "2013-06-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nThank you, I am going to test it.\n\n\nRick,\n\nI need to have an independant oRs in Add function -Añadir()-, as the add function can also be called out of the xBrowse.\n\nSo the strange think is that, despite the two R...
ADO question: Access is not refresing properly
[ { "date": "2013-06-23", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote:1yakhzd4]Try using adOpenDynamic:\n\n<!-- m --><a class=\"postlink\" href=\"http://www.w3schools.com/ado/met_rs_open.asp\">http://www.w3schools.com/ado/met_rs_open.asp</a><!-- m -->\n\nEMG[/quote:1yakhzd4]\n\nNo effect, the...
ADO question: Access is not refresing properly
[ { "date": "2013-06-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Lucas,\n\n[quote=\"lucasdebeltran\":3q1xlofc][quote:3q1xlofc]Try using adOpenDynamic:\n\n<!-- m --><a class=\"postlink\" href=\"http://www.w3schools.com/ado/met_rs_open.asp\">http://www.w3schools.com/ado/met_rs_open.asp</a><!-- m ...
ADO question: Access is not refresing properly
[ { "date": "2013-06-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Yes, I did and I tested it with no luck.\n\nBut when you add another record, the second, I see both after oRs:Requery().\n\nWith other RDDS I don´t have this problem.\n\nQuite strange.", "time": "21:53", "topic": "ADO ques...
ADO question: Access is not refresing properly
[ { "date": "2013-06-24", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr Lucas\n\nI am sending you a sample program to your personal e-mail. This is a modified version of the program you sent me. ReQuery is working perfectly here for me.\nPlease test it at your end and let me know the results.", ...
ADO question: Access is not refresing properly
[ { "date": "2006-04-01", "forum": "FiveWin para Harbour/xHarbour", "text": "cuando esta la tabla vacia ado marca error , sera que ado no maneja el record fantasma como se le llama.\n\n\nsaludos.\nfernando sandoval ruiz", "time": "00:08", "topic": "ADO record fantasma", "username": "fsandoval"...
ADO record fantasma
[ { "date": "2006-04-01", "forum": "FiveWin para Harbour/xHarbour", "text": "Que yo sepa, las tablas SQL no tienen \"registro fantasma\" como los DBFs, si en un EXECUTE() de ADO no te regresa ningun dato, es simplemente que la tabla esta vacia", "time": "04:39", "topic": "ADO record fantasma", ...
ADO record fantasma
[ { "date": "2006-04-03", "forum": "FiveWin para Harbour/xHarbour", "text": "Fernando,\n\n[quote:2402dxpz]cuando esta la tabla vacia ado marca error , sera que ado no maneja el record fantasma como se le llama.[/quote:2402dxpz]\n\nADO te marcará siempre error cuando intentas hacer alguna operación y en es...
ADO record fantasma
[ { "date": "2006-04-03", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias, me lo sospeche, pero bueno hay trucos para bricar estas cosas.\n\n\n\nsaludos.\nfernando sandoval ruiz", "time": "21:08", "topic": "ADO record fantasma", "username": "fsandoval" } ]
ADO record fantasma
[ { "date": "2014-08-22", "forum": "FiveWin for Harbour/xHarbour", "text": "I would like to start a thread to discuss the way you manage record locking using ADO.\n\nMy question is simple:\n\nLets say that you have a record, and that you need to edit it and meanwhile you edit it, other users should not be...
ADO record locking experiences
[ { "date": "2014-08-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nI have created a table 'FILELOCK' in my SQL table, with a field 'table','table_id','user','pcname'.\nWhen I want to lock a record, I write te table,record-ID, user and PC-name to that table. (I created a function SQLL...
ADO record locking experiences
[ { "date": "2014-08-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio\n\nI use a numeric signature file in the table that gets incremented +1 each time I save a record... user one fetches a record that has a current value ( lets say ) 1 and before I UpDate() that record, I have a function th...
ADO record locking experiences
[ { "date": "2014-08-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Marc, Rick,\n\nAnd how do you control if a user gets disconnected without releasing the locked record (using any of your techniques) ?\n\nIn that situation the record would appear as locked but in fact nobody is locking it anymore...
ADO record locking experiences
[ { "date": "2014-08-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio\n\nI do not look for a lock .. whom ever gets to update the record first gets the Signature field+1 Update(). Then if workstation two tries to update the same record .. Within the Update() routine, I create a new recordset...
ADO record locking experiences
[ { "date": "2014-08-22", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":14grxcav]Marc, Rick,\n\nAnd how do you control if a user gets disconnected without releasing the locked record (using any of your techniques) ?\n\nIn that situation the record would appear as locked but ...
ADO record locking experiences
[ { "date": "2014-08-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Marc,\n\nBut if u dont reconect then register to continue lock, or if u reconnect with another pc its the same... \n\nGood thread", "time": "19:17", "topic": "ADO record locking experiences", "username": "Carles" } ]
ADO record locking experiences
[ { "date": "2014-08-22", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Carles\":1qp0h4f5]Marc,\n\nBut if u dont reconect then register to continue lock, or if u reconnect with another pc its the same... \n\nGood thread[/quote:1qp0h4f5]\n\nCharles,\n\nThat's the reason why I'm modifying my fu...
ADO record locking experiences
[ { "date": "2014-08-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Marc,\n\nNow i'm undertsand the process. Exist this table in all rdbm ?", "time": "19:35", "topic": "ADO record locking experiences", "username": "Carles" } ]
ADO record locking experiences
[ { "date": "2014-08-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\n[quote=\"Antonio Linares\":36q6evsr]I would like to start a thread to discuss the way you manage record locking using ADO.\n\nMy question is simple:\n\nLets say that you have a record, and that you need to edit it and ...
ADO record locking experiences
[ { "date": "2014-08-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nCould you post an example ? thanks", "time": "19:42", "topic": "ADO record locking experiences", "username": "Antonio Linares" } ]
ADO record locking experiences
[ { "date": "2014-08-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nplease look at LockType property:\n\n[url:1lnw53nd]http&#58;//www&#46;w3schools&#46;com/ado/prop_rs_locktype&#46;asp[/url:1lnw53nd]\n\nIf you set it to adLockPessimistic, the second user trying to assign a value to the...
ADO record locking experiences
[ { "date": "2007-08-08", "forum": "FiveWin for Harbour/xHarbour", "text": "To All\n\nI have a wierd situation where I have a very successful ADO xHarbour\\FWH application ( executable ) which resides on a Win2003 server.\n\nWhen the users run the executable from the server ( shortcut on their pc ) the ap...
ADO sqloledb conection problem
[ { "date": "2007-08-08", "forum": "FiveWin for Harbour/xHarbour", "text": "Rick:\n\nJust an idea that came into me actually.\n\nI think It could be the SQL Sever configurarion, I dunno if there's a parameter that let you allow the configuracion from the server.\n\nIn other database I've used before, you ...
ADO sqloledb conection problem
[ { "date": "2007-08-08", "forum": "FiveWin for Harbour/xHarbour", "text": "Rene\n\nI am thinking along the same lines .. here is the actual example .. we have a 2003 server as a Citrix remote access box .. the server acts like a workstation and logs into a Novell server that has the executable in questio...
ADO sqloledb conection problem
[ { "date": "2007-08-09", "forum": "FiveWin for Harbour/xHarbour", "text": "To All\n\nThis has been fixed .. turned out to be a DNS problem on the Win2003 servers ..\n\nThanks\nRick Lipkin", "time": "18:35", "topic": "ADO sqloledb conection problem", "username": "Rick Lipkin" } ]
ADO sqloledb conection problem
[ { "date": "2013-08-14", "forum": "FiveWin para Harbour/xHarbour", "text": "Buen dia para todos,\n\nEstoy usando ADO para trabajar con SQL Server 2008.\n\nEstoy intentando conectarme con SQL server 2008 desde un equipo a el Servidor SQL Server 2008 sin lograrlo.\n\nEn modo local me funciona el siguiente ...
ADO string de conexion SQL Server 2008 ?
[ { "date": "2013-08-15", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola,\n\nyo lo hice asi :\n\ncString:= \"Provider=SQLOLEDB;server=\"+cServer+\";database=\"+cDataBase+\";uid=\"+cUser+\";pwd=\"+cPass\n\n oCnx:=TAdoConn():New( adUseServer )\n if !oCnx:Open(xConnStr)\n msginfo( 'Strin...
ADO string de conexion SQL Server 2008 ?
[ { "date": "2013-08-15", "forum": "FiveWin para Harbour/xHarbour", "text": "Ariel,\n\nGracias, voy a probarlo.\n\nAlbeiro.", "time": "18:06", "topic": "ADO string de conexion SQL Server 2008 ?", "username": "albeiroval" } ]
ADO string de conexion SQL Server 2008 ?
[ { "date": "2007-06-20", "forum": "FiveWin for Harbour/xHarbour", "text": "To All\n\nI have completed a major SQL ADO application and am finding that workstation recordsets are not being updated as other workstations make changes.\n\nI am caching the recordsets to the local client ..\n\nIn looking on MSD...
ADO update visability between workstations
[ { "date": "2007-06-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Rick:\n\nYour cursor type is wrong, you must use adOpenDynamic (2) in order to see changes others make in the recordset.\n\nHowever not all the databases support the dynamic update of the recordset.", "time": "02:44", "top...
ADO update visability between workstations
[ { "date": "2007-06-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Rene\n\nAccording to the doccumentation I found :\n\n(1)adOpenKeyset: A static snap-shot of the primary key values of the records that match your search criteria are put into the recordset. As you scroll backwards and forwards, th...
ADO update visability between workstations
[ { "date": "2007-06-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Rene\n\nChanging the open dynamic did not seem to work .. the recordset opened and I had a top and bottom to my listbox .. however .. there was no visability of updates .. don't think SQL server supports dynamic and it just opened...
ADO update visability between workstations
[ { "date": "2007-06-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Rick, I want to thank you for sharing these valuable informations.\n\nEMG", "time": "10:30", "topic": "ADO update visability between workstations", "username": "Enrico Maria Giordano" } ]
ADO update visability between workstations
[ { "date": "2007-06-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Only a test, but seems work:\n\n[code:29d4yjr4]\n\n oRs &#58;= CREATEOBJECT&#40; \"ADODB&#46;Recordset\" &#41;\n cSQL &#58;= \"SELECT * FROM Articoli ORDER BY codice ASC\"\n\n TRY\n oRs&#58;Open&#40; cSQL, oConnection, adOpe...
ADO update visability between workstations
[ { "date": "2007-06-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Rick,\n\n>\nAntonio .. I am using the same mechanism you are using in the ADO RDD with the same open methods .. have you tested multiple workstation visability ?? \n>\n\nNo, sorry, we have just done local tests with it", "time...
ADO update visability between workstations
[ { "date": "2007-06-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Pedro\n\nI did see the ReQuery method .. however I would prefer not to re-query a full recordset .. Have you tried the ReSync method ?? Any ideas the syntax ??\n\nRick Lipkin", "time": "15:33", "topic": "ADO update visabil...
ADO update visability between workstations
[ { "date": "2007-06-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Resync for current record only:\n\n oRs:Resync( adAffectCurrent, adResyncAllValues )\n\nThere are times when Resync fails. (Discussion on this topic is too lengthy) Better put it in TRY CACH END construct and use ReQuery as alter...
ADO update visability between workstations
[ { "date": "2007-06-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Rick, \n\nResync method don't work to me. (in my tests allways fails, I'm a begginer with ADO)\nRequery seems to be fast (in a local net)\n\n\nRegards", "time": "09:21", "topic": "ADO update visability between workstations...
ADO update visability between workstations
[ { "date": "2007-06-25", "forum": "FiveWin for Harbour/xHarbour", "text": "There was a discussion above to use adOpenDynamic or adOpenKeyset for opening a recordset. But when a recordset is opened on clientside (with cursorlocation as adUseClient) the provider ignores what we speicfy as CursorType (adOp...
ADO update visability between workstations
[ { "date": "2007-06-25", "forum": "FiveWin for Harbour/xHarbour", "text": "1 2\noRs:Resync( adAffectCurrent, adResyncAllValues ) \n\nExcellant .. that is what I was looking for .. I will definitly surround it with Try\\Catch .. and I will report back my success ..\n\nadAffectCurrent...
ADO update visability between workstations
[ { "date": "2007-06-25", "forum": "FiveWin for Harbour/xHarbour", "text": "I work extensively with very large applications ADO and Oracle. My experience with MSSQL is limitted to smaller applications. Resync generally works even when the other users update the same row but occassionally fails. Better we...
ADO update visability between workstations
[ { "date": "2007-06-25", "forum": "FiveWin for Harbour/xHarbour", "text": "RecordSet object has Properities collection. \noRs:Properties(\"Resync Command\"):Value is what ADO internally uses to retrieve the values of the current row. This value can be set by our program but i am not able to change this p...
ADO update visability between workstations
[ { "date": "2007-06-25", "forum": "FiveWin for Harbour/xHarbour", "text": "It should be like this.\n\n[code:xfhf3qbh]\noRs&#58;Properties&#40;\"Resync Command\"&#41;&#58;Value &#58;= \"SELECT * FROM CERT WHERE EID = ?\"\n[/code:xfhf3qbh]\n\nBut as I said earlier, assignment is not working through xHarbou...
ADO update visability between workstations
[ { "date": "2007-06-25", "forum": "FiveWin for Harbour/xHarbour", "text": "I just checked on MSSQL server with a two column table. Resync of current row is working fine, after a different usr from a different workstation modifed the data through other frontend. No need to touch properties. ( do not mod...
ADO update visability between workstations
[ { "date": "2007-06-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Please try again with some other simple table with atleast one unique index\n\nPer your previous post .. as you suspected .. asigning the resync properties did not work ..\n\nInteresting .. I do not have any indexes .. none at all...
ADO update visability between workstations
[ { "date": "2007-06-25", "forum": "FiveWin for Harbour/xHarbour", "text": "SUCCESS!!!!!!!!!!!!!!\n\nFor the oRs:ReSync( 1,2 ) option to work .. you MUST have a PRIMARY KEY set and NOT NULL checked. No other changes to the syntax need to be made.\n\nReSync() works perfectically and will update the visabil...
ADO update visability between workstations
[ { "date": "2007-06-26", "forum": "FiveWin for Harbour/xHarbour", "text": "In future, if you get any ADO feature not working, put a standard routine to show the last ADO Error after CATCH. ADO Connection object contains an Errors collection. Last item of the Errors collection is the recent Error Object....
ADO update visability between workstations
[ { "date": "2010-06-05", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi All . \n\nI use use ADO to access MySql DB. I try modify a row using :\n[code=fw:18psgrge]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> </div>[/code:18psgrge]\n oRecordSet := TOleAuto():New( \"ADODB.Records...
ADO update() error
[ { "date": "2010-06-05", "forum": "FiveWin for Harbour/xHarbour", "text": "Perhaps in the select statement filename is a reserved word .. you might try :\n\noRecordSet:Open( \"SELECT [filename] FROM testi WHERE iddoc = 217 \" , oConnection \n\nYou can test the reserved by \"select * from ......\" then s...
ADO update() error
[ { "date": "2010-06-06", "forum": "FiveWin for Harbour/xHarbour", "text": "Tank you Rick ,\nBut I tried with different fields of the table, and I get always the same error: \nIf I modify the field value, I get error in update method. \nIn I modify nothing, the update() succeed !. \n\nBest regards\n\n...
ADO update() error
[ { "date": "2010-06-06", "forum": "FiveWin for Harbour/xHarbour", "text": "Maybe you don't have rights to write to the table?", "time": "21:27", "topic": "ADO update() error", "username": "James Bott" } ]
ADO update() error
[ { "date": "2010-06-06", "forum": "FiveWin for Harbour/xHarbour", "text": "No, James, I have all rights for all DB .\n\nTank you\nWzaf", "time": "21:47", "topic": "ADO update() error", "username": "wzaf" } ]
ADO update() error
[ { "date": "2010-06-06", "forum": "FiveWin for Harbour/xHarbour", "text": "Is the recordset empty?\n\nJames", "time": "22:08", "topic": "ADO update() error", "username": "James Bott" } ]
ADO update() error
[ { "date": "2010-06-06", "forum": "FiveWin for Harbour/xHarbour", "text": "No, it is filled with the result of Query: \"SELECT filename FROM testi....\" \n\nWzaf", "time": "22:20", "topic": "ADO update() error", "username": "wzaf" } ]
ADO update() error