topic
stringlengths
1
63
text
stringlengths
1
577k
ADO and empty Dates [SOLVED]
Hello, With ADORDD and Harbour there is a problem with emtpy dates. When issuing an append blank, putting a ctod('') fails. Also, FW_DateToSQL( , "D" ) fails too. As I workarround, I set to date(), but there are some cases I need an emty date(). This is the code: [code=fw:1bhpr914]<div class="fw" id="{CB}" style...
ADO and empty Dates [SOLVED]
FW_DateToSQL() and FW_ValToSQL() are meant to be used while constructing SQL statements. FW_DateToSQL( CTOD( "" ) ) returns "NULL" Example usage: if we want to update a datefield: [code=fw:b076l919]<div class="fw" id="{CB}" style="font-family: monospace;"><br />cSql := <span style="color: #ff0000;">"UPDATE MYTABLE S...
ADO and empty Dates [SOLVED]
Mr. Nages, Thank you very much. This is working: [code=fw:3dhgpjf6]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AADD<span style="color: #000000;">&#40;</span> aVals, HB_DECODE<span style="color: #000000;">&#40;</span> aStruct<span style="color: #000000;">&#91;</...
ADO and resume laptop
Hello, I have a client that use my program on a network. before it was a version with DBF-files. Now I upgrade his program to ADO with MySQL. The program is working very nice, but... The customer don't quit the program at the evening, but all the PC go to 'Sleep-mode'. In the morning he resume the program, but than he...
ADO and resume laptop
Mark If it were me and your customer does not want to shut down his computer, I would go to the control panel and the power settings and on "Close Lid" .. set the option to "Do Nothing" That way, your customer and just shut the lid and walk away and the laptop will not go to sleep. Rick Lipkin
ADO and resume laptop
Hi, I was thinking to do a open again if it fails like[code=fw:2h5ev0f2]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">TRY</span><br />   oSQL:<span style="color: #000000;">execute</span><span style="color: #000000;">&#40;</span> vCommando<span style="color: #000000;">&#41;</s...
ADO and resume laptop
Hi, I just found out that there is a ADO-state-propery, so I can check that the connection is still OK. I will try to use that.
ADO and resume laptop
[quote="Marc Vanzegbroeck":2kdflhla]Hi, I just found out that there is a ADO-state-propery, so I can check that the connection is still OK. I will try to use that.[/quote:2kdflhla] oCn:State --> 0 = not open and 1 = open But when server disconnects you, your oCn:State shows 1 though in real there is no connection. ...
ADO and resume laptop
Thank you Rao, Indeed, I just found out that oCn:State is still open, even when I disconnected the network. I try to use your suggestion, and put it in my global error-handler. The only problem I have ir the network-connections was lost, and back OK-again (after resuming the PC) is when writing to the database, beca...
ADO and resume laptop
We are not opening a new connection again. We are closing and reopening the same connection that you opened first. Still do you get error while writing? Meanwhile please also see <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=26907&start=0&hilit=recordset+local">viewto...
ADO and resume laptop
I know than whe are using the same connection again, but I was refering to recordset that are allways are reopen while calling. But anyhow, it's working now, like you suggested. By closing the connection, and reopening it, if there was an error. Thanks,
ADO and resume laptop
Glad it is working. Can you post your Code here for the benefit of all of us? Can we standardise this and integrate with fwh adofuncs library?
ADO and resume laptop
For now I have put in my functions I have made for myself for updating, deleting and adding records with ADO, because I needed it very fast for that customer. I will put it in my error-handler, so it will work allways when there is an ADO-error. It will than also write the error in the error-file. Now the customer jus...
ADO and resume laptop
Rao, What I was thinking to do is add this to errorsys.prg [code=fw:30bbqes2]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">if</span> ErrorMessage<span style="color: #000000;">&#40;</span> e <span style="color: #000000;">&#41;</span> = <span style="color: #ff0000;">'Error ADODB...
ADO and resume laptop
Hi, After debugging the program, I finaly found the error that my customer get. It is : 'MySQL server has gone away' Now I'm looking a for a way to reconnect. I found something like oSql:ping(), fut there is also a possibility to auto-reconnect according to the MySQL-site. Has anyone already did something like this?
ADO append con Uniqueidentifier en MSSQL
Manualmente hago asi para agregar un registro con el campo ID del tipo uniqueidentifier: (B85E62C3-DC56-40C0-852A-49F759AC68FB) [code:5i9csd9t] INSERT INTO articoli &#40;ID, Sub_ID, codice, descrizione&#41; VALUES &#40;NEWID&#40;&#41;, 15, 'uno', 'due'&#41; [/code:5i9csd9t] Alguien sabe como hacerlo con ADO...
ADO append con Uniqueidentifier en MSSQL
Fernando, no puedo usar adordd porque no compila con la version de xharbour que uso yo, que no puedo cambiar porque uso FWH 2.7 que actualizaré apenas me lo permitan. De todos modos, no se si está previsto, pero cuando el campo es del tipo uniqueidentifier hay que llamar a una funcion NewID() para crear el uniqueide...
ADO append con Uniqueidentifier en MSSQL
Con ado puedes utilizar el metodo Execute del objeto connection. [code:1vn1im4w] oCnn&#58;Execute&#40;"INSERT INTO articoli &#40;ID, Sub_ID, codice, descrizione&#41; VALUES &#40;NEWID&#40;&#41;, 15, 'uno', 'due'&#41; "&#41; [/code:1vn1im4w]
ADO append con Uniqueidentifier en MSSQL
Biel, justamente, como habia leido aqui que RF decía que conviene usar oRs:update() en vez del comando INSERT (o de repente yo lo entendí mal), es que quería saber como hacerlo con el recordset (:update() en vez que con :Execute() gracias de tu tiempo.
ADO append con Uniqueidentifier en MSSQL
[quote="Fernando Mancera":1ypgk66h]Hola Pedro, En el mensaje referente a ADORDD un usuario posteo un link con todo lo necesario para hacer funcionar en xHarbour. Recuerda compilar el codigo fuente de ADORDD con tu version de xHarbour. [url:1ypgk66h]http&#58;//rapidshare&#46;com/files/29234022/adoRDD&#46;rar&#46;html[...
ADO append con Uniqueidentifier en MSSQL
William, Vamos a subir las modificaciones al CVS de Harbour, lo que ocurre es que queremos hacer algunos cambios en el código para eliminar diferencias entre Harbour y xHarbour y que a ser posible, se use el mismo código con ambos
ADO append con Uniqueidentifier en MSSQL
[quote="Antonio Linares":81rk2v0q]William, Vamos a subir las modificaciones al CVS de Harbour, lo que ocurre es que queremos hacer algunos cambios en el código para eliminar diferencias entre Harbour y xHarbour y que a ser posible, se use el mismo código con ambos[/quote:81rk2v0q] ok. gracias
ADO back up full database
Hi, Using ado/FW_ado functions as DBMS management irrespective of MYSQL, MSSQL, etc, is there a way to back up the whole database to a local file? Thank you
ADO back up full database
Backup and Restore are specific to each database. There is no common support in ADO. For MySql, we can use FWH oCon:Backup(...) and oCon:Restore(...) methods.
ADO back up full database
Thank you. And what about saving and restoring each table in a txt local file? All the best,
ADO back up full database
Up!
ADO back up full database
Moises: Take a look at MySqlDump.exe and MySQL.Exe Regards
ADO back up full database
Thank you very much for replying. I am looking for an approach via ADO for MySQL/MSSQL/María DB, therefore neutral from the point of view of the database. I think this method exists, but I haven't found its parameters. Greetings
ADO back up full database
Up!
ADO com DBF (Acentuação)
Fala pessoal! Estou fazendo um select em uma tabela DBF via ADO, e a acentuação no RecordSet esta incorreta. Alguém já passou por isto? [code=fw:1kopckza]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">Function</span> U_Teste<span style="color: #000000;">&#40;</span><span style...
ADO com DBF (Acentuação)
Achei! É só alterar a chave do registro do windows: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engines\xBase, DataCodePage=OEM para DataCodePage=ANSI Valeu
ADO com DBF (Recno)
Estou acessando a tabela DBF via ADO e gostaria de obter o Recno físico da tabela. Vi que o RecordSet do ADO possui tanto a BookMark como a AbsolutiPosition, mas ambas retornam a posição de um registro referente ao RecordSet em vez de obter o posição do registro da tabela física. Alguem sabe como obter?
ADO com Excel
Ola amigos, Preciso ler planilha Excel com ADO, é possivel ? gostaria de um exemplo Ari
ADO com Excel
No necesitas ADO, con OLE es mas que suficiente: [code:10ufe4or] oExcel &#58;= TOleAuto&#40;&#41;&#58;New&#40; "Excel&#46;Application" &#41; oExcel&#58;WorkBooks&#58;Open&#40;"yourfile&#46;xls"&#41; oHoja &#58;= oExcel&#58;Get&#40; "ActiveSheet" &#41; nRows &#58;= oHoja&#58;UsedRange&#58;Rows&#58;Count&#40;&#41; nCols...
ADO com Excel
o usuário não tem o Excel. Eu já uso desta forma que voce falou Rene, para algumas planilhas com mais de 10.000 linhas, o sistema vai parando ..ficando lento por falta de memoria.. com ODBC eu fiz assim: [code:2frtg540]Function Teste&#40;oMeter&#41; // Ler arquivos Excel com ODBC local oDbc ...
ADO com Excel
Amiguinho Complementando o exemplo do Amigo Rene, neste exemplo voce poderá [b:1n11mxjm]ler e gravar[/b:1n11mxjm] dados em planilhas simples. [code:1n11mxjm] * * ---------------------------------------------------------------- * FUNCTION OLEExcel&#40;&#41; LOCAL oWnd, oMenu MENU oMenu MENUITEM "&Prob...
ADO com FireBird
Procuro as classes do FireBird, para usar com ADO, hoje uso o MySQL, gostaria de tentar o FireBird. Ari
ADO com FireBird
Ari: Contact to Rochinha, I remenber her made to library for Firebird + ADO. <!-- e --><a href="mailto:irochinha@itelefonica.com.br">irochinha@itelefonica.com.br</a><!-- e -->; Regards , Juan
ADO con MS SQL 2005
Hola, Una pregunta breve y concreta, como funciona MS SQL Server 2005 con ADO, usando el provider native correpsondiente? O recomiendan usar MS SQL Server 2000? Saludos, Mario A. Dávalos
ADO con MySQL problema con listbox
Mi problema es que al cargar el recordset, el listbox no muestra nada y el RecordCount muestra -1 <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> gracias de antemano por cualquier ayuda <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s...
ADO con MySQL problema con listbox
Luis Here is an example of some MS Sql code using ADO with a redefine listbox .. Look at the codeblocks and the Skipper function .. Rick Lipkin [code=fw:t6bjmplf]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />... open tables<br /><br /><span style="color: #00C800;">IF</span> oRs1:<span style="...
ADO con MySQL problema con listbox
Thanks for your help Rick, I did it as you said in your example but it did't work, besides the function oRs:MoveLast() is not working, the program display the folowing error when it is executed. Application =========== Path and name: c:\sistemas\sofvenxh\sofvenxh.Exe (32 bits) Size: 3,429,888 bytes Time from ...
ADO con MySQL problema con listbox
problema solucionado !! [code=fw:3gfrqwj1]<div class="fw" id="{CB}" style="font-family: monospace;">   oCon := TOLEAUTO<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">new</span><span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"ado...
ADO con MySQL problema con recordset
Estoy comenzando a trabajar con ADO y MySql hasta aquí hice un pequeño mantenedor de una tabla de artículos en la que puedo agregar, eliminar y crear registros desde el recordset y funciona bien, pero luego despues de unos minutos de operar (modificabdo y creando) aparece el error mas abajo, lo he probado como localho...
ADO con SQL comando nativos.
Amigos: Que necesito y donde lo consigo.. para usar ADO con SQL Server y usar lo comandos nativos SQL. Después de saber un poco mas de SQL probare el ADORDD. Muchas gracias. Ruben Fernandez.
ADO con SQL comando nativos.
No necesitas nada, Windows trae instalado todo, el proveedor ADO para SQL Server. Solo necesitarias un SQL Servers instalado y listo, ha claro y la cadena de conexion. De ahi en fuera, tienes todo puesto para comenzar a utilizar ADO directamente desde tu programa FW.
ADO con SQL comando nativos.
Gracias Rene. Saludos Ruben Fernandez.
ADO con SQL comando nativos.
Master: Y donde hayar DOC para empezar a tomarle el hilo ? Saludos
ADO connect string to Outlokk
Anyone has the con string to Outlook?
ADO connect string to Outlokk
[code=fw:1mnx8jo2]<div class="fw" id="{CB}" style="font-family: monospace;">strConnect = _T<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"Provider=Microsoft.Jet.OLEDB.4.0;Outlook 9.0;"</span><br />&nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">"MAPILEVEL=;DATABASE=C:<span style="color: #00...
ADO connect string to Outlokk
Thanks Antonio
ADO connect string to Outlokk
How can I open one of the outlook folders?
ADO connection property ""Maximum Open Rows""
Does anyone knows how to change this property? Its seems its read only with a value of zero in MySql.
ADO connection property ""Maximum Open Rows""
Antonio, Please review this: [url:3wu39uoj]http&#58;//microsoft&#46;public&#46;data&#46;ado&#46;narkive&#46;com/miSIESQG/maximum-open-rows-property-is-read-only[/url:3wu39uoj]
ADO connection property ""Maximum Open Rows""
You can try this SELECT FIRST 1000 * FROM table look this too <!-- l --><a class="postlink-local" href="http://fivetechsupport.com/forums/viewtopic.php?f=3&t=26834#p148988">viewtopic.php?f=3&t=26834#p148988</a><!-- l --> Best regards,
ADO ejecutar
Hola buen día, como sería el equivalente de oCon:Execute( cSQL ) con ADO?
ADO ejecutar
With ADO, we can use oCn:Execute( cSql )
ADO ejecutar
Mr. Rao, gracias por responder. me da error: Error description: Error ADODB.RecordSet:_ACTIVECONNECTION/0 S_OK: EXECUTE como sería la sintaxis, aclaro que estoy trabajando con DBFs, no con SQL
ADO en forma nativa
Saludos Existe alguna version de FWH que maneje ADO en forma nativa? Es decir, sin librerias de terceros? Gracias
ADO en forma nativa
Desde hace tiempo, busca en tu source ADOFUNCS.PRG Qué versión tienes?
ADO en forma nativa
Gracias Donde veo un ejemplo de su uso?
ADO en forma nativa
Sería más fácil, para ayudarnos, si informamos de la versión de Fwh que utilizamos y si es Harbour/xHarbour, compilador de C, etc. Aquí tienes información <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=19&t=27296&hilit=empezando+con+ado#p151744">viewtopic.php?f=19&t=27296&...
ADO enhansed TwBrowse ?
To All Working with a local access table and FWH Twbrowse seems to work with decent responce in painting the listbox .. BUT .. connecting to a SQL server using ADO and FW Twbrowse is very slow .. The ( fwh ) Browse will start and you will see a corner in the left open and sit there till Twbrowse can get it's 'bearing...
ADO enhansed TwBrowse ?
Rick, Have you already tested the free ADORDD that we have published ? Browses work very fine with it
ADO enhansed TwBrowse ?
Antonio To be honest with you .. no, I have not tried the adordd. Would you be so kind as to send it to my private e-mail .. I will give it a good test.. I have been following your development .. does the download include a brief readme on the syntax .. for the connection strings ?? I guess the .ch would tell me a ...
ADO enhansed TwBrowse ?
Rick, Already sent the email <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
ADO enhansed TwBrowse ?
Rick: Where are your placing the RecordSet Cursor ? For browsing my best advice is to place the cursor on the client size because in the server size it takes ALOT of time on retrieving data. Have you modified the gotop, gobottom, bskip and blogiclen blocks ?
ADO enhansed TwBrowse ?
Rene I am using the 'standard' code .. I presume the recordset is being cached to the local workstation ? Here is the code: // access.prg #include "Fivewin.ch" Static lOK,oWND1,oBRW,oBROW,oBROW2 Static oSAY, cSAY, oSAY1, cSAY1 //------------------------------------------- Func Access() LOCAL oErr, SAYING, cFILEN...
ADO enhansed TwBrowse ?
Rick, Check the source code of the ADORDD to see how we do it: oAdo := TOleAuto():New( "ADODB.Recordset" ) oAdo:CursorType = adOpenDynamic oAdo:CursorLocation = adUseClient oAdo:LockType = adLockPessimistic
ADO enhansed TwBrowse ?
Antonio and Fernando I am looking at the adordd.prg and I see how you are creating the recordset .. oADO := TOleAuto():New( "ADODB.Recordset" ) oAdo:CursorType = adOpenDynamic oAdo:CursorLocation = adUseClient oAdo:LockType = adLockPessimistic oAdo:Open( s_cQuery + s_cTableName, s_aConnections[ nWA ] ) //-...
ADO enhansed TwBrowse ?
Rick: I reviewed your code all seems to look all rigth, I mean, the movement blocks are correct but, you have to "prepare" your RecordSet BEFORE open the query. To "prepare" the cursor, you have to follow Antonio's instructions and use the ::CursorType, ::CursorLocation, and ::locktype properties before opening the r...
ADO enhansed TwBrowse ?
Rick, > Select 1 USE (AllTrim(cDbf)) VIA "ADORDD" TABLE AllTrim(cTable) SQL ; FROM AllTrim(cFrom) USER AllTrim(cUser) PASSWORD AllTrim(cPsw) > Yes <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> > then reference my vars with cWhatever := a->whatever and then write the...
ADO enhansed TwBrowse ?
Antonio I got a working browse with my code and YES .. the listbox is MUCH better when the recordset is cached locally. Still takes a while to 'fetch' the recordset .. but that is based on the connection to the server .. which is ( in my case here ) a considerable distance from my location. I have not tried multipl...
ADO enhansed TwBrowse ?
Rick, > I got a working browse with my code and YES .. the listbox is MUCH better when the recordset is cached locally. Still takes a while to 'fetch' the recordset .. but that is based on the connection to the server .. which is ( in my case here ) a considerable distance from my location. > You may try setting t...
ADO enhansed TwBrowse ?
Antonio oAdo:CacheSize had no effect at any value .... but I am not complaining. This is a table with about 25k records .. and I have tested it at this location ( on the 'outer rim' ) and close to the core router. The closer to the core router .. the faster the 'fetch' Just thought I would let you know about the cach...
ADO enhansed TwBrowse ?
Rick Thanks for the feedback <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
ADO error en la conexion...
Error description: Error ADODB.Recordset/14 DISP_E_BADPARAMCOUNT: OPEN Args: [ 1] = C SELECT * FROM Utenti [ 2] = C Provider=SQLOLEDB;Data Source=PCPEDRO\SQLEXPRESS;Initial Catalog=data_di_prova;UserID=sa;Password=1234;Persist Security Info=True [ 3] = N 1 [ 4] = N 1 Mi codigo ...
ADO error en la conexion...
Parece cosa de locos... hace 5 dias que estoy con este problema, cuando decido poner el mensaje en el foro despues de 5 minutos descubro que el string de conexion que uso no era el adecuado.... Gracias a un mensaje de RF que dejó un link con todas las conexiones a sql <!-- m --><a class="postlink" href="http://www.conn...
ADO events
Hi ! It's needful to adopt one event in ADO objects . I found an VFP sample , it demonstrate what I want to do : #DEFINE C_VFPCOMCLASS 'vfpcom.comutil' oVFPCOM = CreateObject(C_VFPCOMCLASS) oRecordSet = CreateObject('ADODB.RECORDSET') oRecordSet.CursorType = 3 && adOpenStatic oRecordSet.LockType = 1 && adLockRead...
ADO filtering
Hello friends, I need to perform a filter in ADO using a date, and it gives me an error: [code=fw:3ssfm8jl]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />   cFilter := <span style="color: #ff0000;">"HIREDATE >= FW_ValToSQL(DATE())"</span><br />   oRs:<span style="color: #000000;">Filter</span> ...
ADO filtering
I save the filter expresion in a field of the report´s table.
ADO filtering
What about [code=fw:3799ngfb]<div class="fw" id="{CB}" style="font-family: monospace;">cFilter := <span style="color: #ff0000;">"HIREDATE >= "</span>+FW_ValToSQL<span style="color: #000000;">&#40;</span> DATE<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000...
ADO filtering
Thank you, that works, but I need to store the full filter in a database.
ADO for ADS?
Mr. Rao; I now see how you have been working on making standardized ADO functions that work across a number of different sql engines. I have been using ADS for many years quite successfully. I mostly work via ACE32 and the ADS RDDs. I would assume that it is just as possible to work with ADS using ADO. If so, why n...
ADO for ADS?
Honestly I still love ADS and miss ADS. But for the sheer size of our data, I would not have left ADS and migrated to Oracle. You are aware that there are OLEDB providers for ADS and we can work with ADO. But knowing both, my advice for you is to continue what you are doing. Do not go the ADO way using ADS' OleDb pro...
ADO function to append table not DBF into a recordset
Hello, Is there an FW ADO function to import or append an existing table accessed via ADO, not a DBF file, into a recordset? Thank you.
ADO no me funciona en una tabla en especifico
Hola a todos, ... no tienen idea de lo que he buscado informacion sobre esto en la red, y finalmente he caido aqui, pues he llegado a la conclusion de que solamente Ustedes podran darme luz en esto. Se trata del ampliamente expuesto en la red, problema del mensaje de error que aparece: "No se puede encontrar la fila...
ADO no me funciona en una tabla en especifico
Hola a todos, ... no tienen idea de lo que he buscado informacion sobre esto en la red, y finalmente he caido aqui, pues he llegado a la conclusion de que solamente Ustedes podran darme luz en esto. Se trata del ampliamente expuesto en la red, problema del mensaje de error que aparece: "No se puede encontrar la fila...
ADO no me funciona en una tabla en especifico
<!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> Sorry, Wrong place.... moved to spanish forum!
ADO no me funciona en una tabla en especifico
Julio yo lo creo de la sig. manera y me ha funcionado. oEMPRESAS := CREATEOBJECT( "ADODB.Recordset" ) oEmpresas:CursorLocation := 3 oEmpresas:CursorType := 3 oEmpresas:LockType := 3 oEmpresas:MaxRecords := 0 espero te funcione.
ADO no me funciona en una tabla en especifico
Fernando, Gracias adelantadas por contestar... En efecto, comparando la forma que lo hago con lo que me expresas aqui, tenía solo diferencia en el ::oRs:CursorType, que al tu colocarle un valor de 3, significa que has seleccionado adOpenStatic. Ya habia observado que algunos otros compañeros asi lo hacian. Lo cambi...
ADO no me funciona en una tabla en especifico
Julio , segun lo que indica la documentacion es esto. Nos permite fijar el número máximo de registros que aceptará el objeto Recordset. El valor por defecto es 0 e indica que no existirá límite. si quieres puedes anviarme la tabla o la bd, para ver si tambien a mi presenta los mismo problemas. saludos fernando sando...
ADO no me funciona en una tabla en especifico
Gracias Fernando, Dos cosas nuevas en esto: - Primero, no se como pasarte la tabla en la cual tengo problemas. Yo utilizo MySQL, y todo depende de con cual motor de BD vas a buscar reproducir el mismo error que me pasa. Puedo enviarte la tabla en DBF a partir de la cual he creado la de MySQL (solo tiene 10 registro...
ADO no me funciona en una tabla en especifico
Julio, Prepara, por favor, un ejemplo autocontenido que muestre el problema que indicas. A ver si vemos lo que te está pasando. Saludos, José Luis Capel
ADO no me funciona en una tabla en especifico
Julio: a. ¿Como creas el recordset? Muéstrame el código b. ¿Como haces para modificar un registro? Muéstrame el código c. ¿Como haces para grabar el registro? Muéstrame el código. El mensaje que te aparece: [quote:1ktva1aa]"No se puede encontrar la fila para su actualizacion: algunos valores han cambiado desde la ...
ADO no me funciona en una tabla en especifico
Cual es el link del articulo donde publico jcapel. si no es muy grabde la bd puedes enviarmela. gracias. fernando sandoval ruiz
ADO no me funciona en una tabla en especifico
Bueno, a ver si "mato" dos de un tiro: Primero, dejame comenzar con el último, Fernando: - Para ver las clases originales sugeridas por jcapel, puedes visitar su blog que esta en [url:1207ic2h]http&#58;//www&#46;capelblog&#46;com[/url:1207ic2h] - La tabla que me pides puedes descargarla en este enlace [url:1207ic2h]...
ADO no me funciona en una tabla en especifico
Julio no se que problema haya, luego de hacer varias pruebas , el cambio el siguiente, oRs:Fields("Nombre"):= alltrim(cNombre) , no se harbour o xharbour agrege algun caracter al terminar de capturar o lo espacion en blanco no sean aceptados por ado. de echo tambien tengo el mismo problema con una tabla, que ya estaba...
ADO no me funciona en una tabla en especifico
Julio, Mándame, por favor, un ejemplo autocontenido donde se pueda reproducir ese error que comentas. Saludos, José Luis Capel
ADO no me funciona en una tabla en especifico
Gracias José Luis, Voy a construirlo, incluyendo la creación de la tabla y cuando lo tenga te lo envío. Solo te enviaré el ejemplo, pues el resto de las clases modificadas por mi ya las tienes. Gracias de nuevo,