topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
ADODB MySql! ( Solved! ) | Armando,
Work perfectly!
But, with TxBrowse... How I can set the recordSet for it? |
ADODB MySql! ( Solved! ) | Júlio César M. Ferreira
Please visit my blog you'll find a sample with TXbrowse & Recordset
Regards |
ADODB MySql! ( Solved! ) | Armando,
I make! My xBrowse now opens the oRs from my database.
But, when I execute a select... then the give me a error!
If I execute the query: "SHOW TABLES" -> That's all ok!
But, if I execute the query: "SELECT * FROM my_table" -> error RECORDCOUNT!
[code:15cglhlh]oCon := TOleAuto():new( "ADODB.Conn... |
ADODB MySql! ( Solved! ) | Júlio César:
Are you sure the table has records ?, or is an empty table ?
Regards |
ADODB MySql! ( Solved! ) | >> Are you sure the table has records ?, or is an empty table ?
Yes Armando, 17676 records into a table! |
ADODB MySql! ( Solved! ) | Julio César:
Could you post the code to create the recordset ?
Regards |
ADODB MySql! ( Solved! ) | Armando,
This is the source:
[code:5cgk0uu3]TRY
oRs := TOleAuto():New("adodb.recordset")
CATCH oError
showError( oError )
oRs := NIL
RETURN( .F. )
END
oRs:CursorLocation := adUseClient
oRs:LockType := adLockOptimistic
oRs:CursorType := adOpe... |
ADODB MySql! ( Solved! ) | Julio:
Ummmm, perhaps it must to be the permissions of the user.
Regards |
ADODB MySql! ( Solved! ) | Armando,
I has used the GRANT ALL command for the user, with all privileges.. And, with the MySQL Query Browser, I can execute this query. |
ADODB MySql! ( Solved! ) | Julio,
put the variable [b:2gqgfbsh]oRs[/b:2gqgfbsh] as [i:2gqgfbsh]static[/i:2gqgfbsh] or [i:2gqgfbsh]public[/i:2gqgfbsh] at the beginning of your main prg and try. |
ADODB MySql! ( Solved! ) | Armando,
I tried execute this code into a database with many tables... all they empty. When the same table are filled and I execute the same code again... then return to me a error RECORCCOUNT |
ADODB MySql! ( Solved! ) | Antonio and friends,
This is my example for testing!
Please, modify and check!
<!-- m --><a class="postlink" href="http://rapidshare.com/files/189783905/ADODB.zip.html">http://rapidshare.com/files/189783905/ADODB.zip.html</a><!-- m --> |
ADODB MySql! ( Solved! ) | Exists any incompatibility with fields like timestamp? |
ADODB MySql! ( Solved! ) | [quote="JC":1xpsa8pp]Antonio and friends,
This is my example for testing!
Please, modify and check!
<!-- m --><a class="postlink" href="http://rapidshare.com/files/189783905/ADODB.zip.html">http://rapidshare.com/files/189783905/ADODB.zip.html</a><!-- m -->[/quote:1xpsa8pp]
I get
[quote:1xpsa8pp]Application
========... |
ADODB MySql! ( Solved! ) | Enrico,
You must be change the connectionString to your own configutarion:
[code:d192fo8o]cConnectionString := "Driver={MySQL ODBC 5.1 Driver}" + ;
";Server=127.0.0.1" + ;
";DefaultDatabase=genesis" + ;
";Database=as... |
ADODB MySql! ( Solved! ) | Sorry, I haven't MySql to test your sample.
EMG |
ADODB MySql! ( Solved! ) | [quote="Enrico Maria Giordano":klnqlf59]Sorry, I haven't MySql to test your sample.
EMG[/quote:klnqlf59]
Don't have problem Enrico.. <!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) --> |
ADODB MySql! ( Solved! ) | Julio:
I have tested your code, I modify the connection string (obviously), and
It works fine to me!.
Look
[url=http://imageshack.us:d1ocwlpd][img:d1ocwlpd]http://img187.imageshack.us/img187/8126/clip10jq5.jpg[/img:d1ocwlpd][/url:d1ocwlpd]
[url=http://imageshack.us:d1ocwlpd][img:d1ocw... |
ADODB MySql! ( Solved! ) | Armando,
The problem is with fields that's type is timestamp! |
ADODB MySql! ( Solved! ) | Dear friends,
Maybe the error is on datatype convertion of xHarbour, for fields like TIMESTAMP!
If you make a cast convertion, works!
reg_id = numeric, auto_increment, not null
reg_data = timestamp, notnull, default '0000-00-00 00:00:00'
reg_update = timestamp, notnull, default '0000-00-00 00:00:00'
Error:
[code:3h... |
ADODB MySql! ( Solved! ) | Someboby? |
ADODB MySql! ( Solved! ) | I still have the problem, if somebody can help me.. thanks |
ADODB MySql! ( Solved! ) | Dear friends,
Thanks for all! I can make this! Now, all it's ok with ADBODB.Connection, ADBODB.RecordSet and ADBODB.Stream with MySQL, PostgreSQL and Oracle... all they with Fivewin 8.10!
Thank so much! |
ADODB MySql! ( Solved! ) | Es lo que me andaba pasando.
gracias.
[quote="JC":3p3kwufo]Dear friends,
Maybe the error is on datatype convertion of xHarbour, for fields like TIMESTAMP!
If you make a cast convertion, works!
reg_id = numeric, auto_increment, not null
reg_data = timestamp, notnull, default '0000-00-00 00:00:00'
reg_update = time... |
ADODB MySql! ( Solved! ) | XBrowse shows date part of DateTime values of xHarbour ( including TimeStamp field values of ADO ) by default. If we want full date time value to be shown in xBrowse, we should set oCol:cDataType := 'T'. Then xBrowse shows the values with date and time. |
ADOFUNC.prg e SQLEXPRESS | Ciao a tutti
Ho deciso di provare ad usare MSSQL EXPRESS per fare ciò ho pensato di iniziare
utilizzando le funzioni presenti in ADOFUNC.PRG mi chiedevo :
1) Se è il modo migliore per iniziare o è meglio usare ADORDD
2) Come eseguire una Rlock o Flock per evitare che due utenti lavorino
sullo stesso record o gru... |
ADOFUNC.prg e SQLEXPRESS | Hello everyone
I decided to try using MSSQL EXPRESS to do this I thought I'd start
using the functions in ADOFUNC. PRG I was wondering:
1) If it is the best way to start or it is better to use ADORDD
2) How to run an Rlock or Flock to prevent two users from working
on the same record or groups of records.
3) If ... |
ADOFUNC.prg e SQLEXPRESS | [quote="mauri.menabue":39m5nmos]Ciao a tutti
Ho deciso di provare ad usare MSSQL EXPRESS per fare ciò ho pensato di iniziare
utilizzando le funzioni presenti in ADOFUNC.PRG mi chiedevo :
1) Se è il modo migliore per iniziare o è meglio usare ADORDD[/quote:39m5nmos]
Personalmente preferisco usare direttamente ADO ch... |
ADOFUNC.prg e SQLEXPRESS | [quote:1wmju551]
1) If it is the best way to start or it is better to use ADORDD
[/quote:1wmju551]
We recommend using FWH adofuncs.
You can directly work with ADO without any of these functions, but using adofuncs makes your life very easy.
[quote:1wmju551]
3) If there is a need to do maintenance on compaction, reind... |
ADOFUNC.prg e SQLEXPRESS | Ciao a tutti
Chiederei un ulteriore chiarimento riguardo questi aspetti :
1) E' possibile aprire più cursori (alias) per la stessa tabella ?
[code=fw:n6xpdosw]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> Es. <span style="color: #000000;">(</span>x<span style="color: #000000;">)... |
ADOFUNC.prg e SQLEXPRESS | Hello everyone
I would ask for further clarification on these aspects:
1) Is it possible to open multiple cursors (aliases) for the same table?
[code=fw:23g3nx6i]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /> E.g. <span style="color: #000000;">(</span>x<span style="color: #000... |
ADOFUNC.prg e SQLEXPRESS | [quote="mauri.menabue":3dzwcymy]1) E' possibile aprire più cursori (alias) per la stessa tabella ?[/quote:3dzwcymy]
Parliamo di DBF, giusto? Sì, certo che è possibile.
EMG |
ADOFUNC.prg e SQLEXPRESS | 1) Yes.
2) If both users are working on the same record at the same time after one user saves changes the other can not save his changes. He will get an error. The second user has to cancel his changes, read the record again, and then do whatever. |
ADOFUNC.prg e SQLEXPRESS | ciao Enrico
No, chiedevo se era possibile anche in SQL aprire lo stesso recordset con due alias - variabili diverse cosi come si faceva con i DBF.
Siccome sei esperto mi piaceva un tua chiarificazione sull'aspetto lock punto 2 del mio intervento precedente.
Grazie |
ADOFUNC.prg e SQLEXPRESS | In SQL non ha senso parlare di "alias", non esistono. Puoi aprire lo stesso recordset più volte senza alcun problema, visto che userai variabili diverse. Esempio in ADO:
[code=fw:3njsmc9w]<div class="fw" id="{CB}" style="font-family: monospace;">oRs1 = CREATEOBJECT<span style="color: #000000;">(</span> <span style... |
ADOFUNC.prg e SQLEXPRESS | Riguardo il lock su SQL, io non l'ho mai usato, neanche in programmi web molto complessi. Quindi non ti so aiutare.
EMG |
ADORDD | Donde esta la ultima version de adordd?
como se le hace para entrar al CVS y bajarlo ?
la ultima version que tengo es la del 12 de mayo,
saludos, Cordiales. <!-- s:roll: --><img src="{SMILIES_PATH}/icon_rolleyes.gif" alt=":roll:" title="Rolling Eyes" /><!-- s:roll: --> |
ADORDD | [quote="sysctrl2":1c0be2qo]Donde esta la ultima version de adordd?
como se le hace para entrar al CVS y bajarlo ?
la ultima version que tengo es la del 12 de mayo,
saludos, Cordiales. <!-- s:roll: --><img src="{SMILIES_PATH}/icon_rolleyes.gif" alt=":roll:" title="Rolling Eyes" /><!-- s:roll: -->[/quote:1c0be2qo]
C... |
ADORDD | W.M.
Gracias,,
saludos. |
ADORDD | sto provando ad utilizzare l'accesso a SQL con adordd ed ho questo problema. Ho FHW 7.10 ed ho provato a collegarmi ad un database con la seguente istruzione:
#include "adordd.ch"
#include "FiveWin.ch"
REQUEST ADORDD
function Main()
USE "MioDBTest" VIA "ADORDD" TABLE "TABELLA" SQL ;
FROM "192.168.1.203" USER ... |
ADORDD | Naturalmente sei sicuro che il nome della tabella sia scritto giusto, vero? Se sì, non mi vengono in mente altri motivi per quell'errore, se non che devi controllare bene tutti i dati della stringa di connessione risultante (indirizzo IP, nome tabella, userid e password) e magari provare a fare la stessa cosa via ADO.
... |
ADORDD | Ok, ho trovato il problema....
Il server 192.168.1.203 della mia azienda è in un'altra sede dalla mia, se io cerco di collegarmi tramite il mio programma dalla mia sede mi da quell'errore, se invece lo faccio dalla sede dove è il server va tutto bene. Ho parlato con il mio sistemista di rete del problema e deve farmi ... |
ADORDD | Probabilmente un problema di firewall.
EMG |
ADORDD | Hola, leyendo un poco sobre ADO (necesito arrancar), encontre este ejemplo en este mismo foro:
#include "adordd.ch"
#include "FiveWin.ch"
REQUEST ADORDD
function Main()
USE test00 VIA "ADORDD" TABLE "ACCOUNTS" MYSQL ;
FROM "www.freesql.org" USER "myuser" PASSWORD "mypass"
Browse()
USE
return nil
... |
ADORDD | precisa colocar junto adordd.lib |
ADORDD | Gracias... disculpen mi ignorancia... mojoró, pero sigo con problemas:
Error: Unresolved external '_hb_vmProcessSymbolsEx' referenced from C:\HARBOUR104\LIB\ADORDD.LIB|adordd
Error: Unresolved external '_HB_FUN_USRRDD_RDDDATA' referenced from C:\HARBOUR104\LIB\ADORDD.LIB|adordd
Error: Unresolved external '_HB_FUN_USRR... |
ADORDD | usrrdd.lib esta tambem... |
ADORDD | Hola,
SI usas Harbour es hbusrrdd.lib.
¿Has conseguido que esto te funcione?
[code=fw:2wxqzaro]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"adordd.ch"</span><br /><br />REQUEST ADORDD<br /><br /><span style="color: #00C800;">fu... |
ADORDD | Hola. Estoy tratando de hacer correr el ejemplo mas simple de ADORDD. Estoy trabado con el error
Error: Unresolved external '_hb_vmProcessSymbolsEx' referenced from C:\HARBOUR104\LIB\ADORDD.LIB|adordd
* Linking errors *
Segun los posts tengo que compilar el adordd.lib con mi version de harbour. Lo descargo con el li... |
ADORDD | Hola,
Agrega al principio de tu .prg #include "adordd.prg".
Sin embargo, en el foro de Harbour me han comentado lo siguiente:
[quote:t0kotbl9]RDD to automatically manage Microsoft ADO. Harbour win only rdd able to
read & write to ado datasource
developer have moved RDDADO code from contrib to example due to
pr... |
ADORDD | El problema no es el ADORDD en si, sino que ADO no es consistente con distintos motores de bases de datos.
Es decir, descubrimos que bastantes funcionalidades no estaban presentes en muchos motores y eso hacia imposible poder completarlo al 100%
En mi opinión es bastante util para ser adaptado a lo que cada uno pueda... |
ADORDD | y como puedo hacerlo funcionar???
me tira el error:
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Error: Unresolved external '_hb_vmProcessSymbolsEx' referenced from C:\HARBOUR10
* Linking errors *
¿como compilo el prg con mi version de harbour, pero que me genere un .lib?
Probe compilando, y usando el... |
ADORDD | Antonio,
Muchísimas gracias por la respuesta.
¿Tenéis pensado retomarlo en lo que se refiere al menos a Access y MySQL, que son las principales bases demandadas aquí en los foros?.
Salu2 |
ADORDD | Diego,
Mi sugerencia es que revises los ejemplos de ADO que hay aqui en el foro, que son muchos, para que te familiarices un poco con ADO y luego ADORDD te simplificará aún más las cosas, y estarás en condiciones de adaptarlo a tus necesidades
Lucas,
De momento no tenemos planes de seguir desarrollándolo. Ahi está p... |
ADORDD | Lucas,
para acceder a MySQL tienes las opciones:
- TDolphin de Daniel Garcia Gil [url:3lghfn1y]http://tdolphin.blogspot.com/[/url:3lghfn1y]
- Eagle1 de Manuel Expósito Suarez [url:3lghfn1y]http://es.groups.yahoo.com/group/eagle1/[/url:3lghfn1y]
seguro que hay alguna más.
Para Access, te... |
ADORDD | Baxajaun,
No olvides TMySQL de las contribuciones de xHarbour y ahora en Harbour, por cierto muy buena LIB. |
ADORDD | Muchas gracias por vuestras indicaciones.
Para MySQL sin duda la opción TDolphin es la mejor. Además, la atención de Daniel es insuperable.
En cuanto a ADO, ¿dónde puedo encontrar información sobre ADO y Harbour?.
¿Hay alguna clase tipo TDBF para ADO, de modo que se pudieran manejar varios motores pero manteniendo l... |
ADORDD | Hola:
¿Alguien lo está utlizando? Muchas gracias. |
ADORDD | Hi,
Is anyone using it?
Thank you. |
ADORDD + HARBOUR | Sorry for my english (google)
I'm trying to use the adordd
but this error is occurring ...
[code=fw:38mllzs1]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#INCLUDE</span> <span style="color: #ff0000;">"FIVEWIN.CH"</span><br /><span style="color: #00D7D7;">#INCLUDE</s... |
ADORDD -- WHERE AND ORDEY BY | ADORDD Mysql, com seleção e ordenação: veja exemplo:
USE bazevani VIA "ADORDD" TABLE "[b:2ooxcc8q]clientes where codigo < 12000 order by nome[/b:2ooxcc8q]" ALIAS "CLIENTES" MYSQL ;
FROM "xxx.xxx.xxx.xx" USER "xxxxxx" PASSWORD "xxxxxx"
Neste exemplo abrimos o clientes, selecionando registro até o codigo 12000 ... |
ADORDD ??? | Hola a todos del foro.
Gracias Master Antonio por el enlace, algo entendi...
Pero lo que realmente quise preguntar fue ADORDD???
Si no es molestia. gracias
Salu2 <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
Francis |
ADORDD ??? | Estimados:
Necesito ayuda con SQL, no soy un experto, le he sacado el quite muchas veces y ahora necesito hacer algunas cosas. Tengo claro como conectarme a la base de datos, lo que no se es como agregar datos a una tabla, debo de actualizar la tabla de precios la cual tiene diferentes listas de precios, el sistema qu... |
ADORDD ??? | Acaso se usan los mismos comandos... esto es SEEK para buscar ??? |
ADORDD ??? | Mayor:
La convivencia entre DBFs y Tablas Sql es perfectamente válida y fácil,
mira mi blog <!-- m --><a class="postlink" href="http://sqlcmd.blogspot.com/">http://sqlcmd.blogspot.com/</a><!-- m --> ahí encontraras muchos ejemplos.
Saludos |
ADORDD ??? | Valenzuela
contactame conmigo al <!-- e --><a href="mailto:syscom31@hotmail.com">syscom31@hotmail.com</a><!-- e --> por messenger
Saludos |
ADORDD ??? | José:
No sería mejor tratar el tema aquí en el foro ?, así aprendemos todos.
Saludos |
ADORDD ??? | Gracias por la atencion... pero estoy de acuerdo que quede en el post ya que sirve para futuras referencias...
<!-- s:P --><img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz" /><!-- s:P --> |
ADORDD ??? | Disculpa "jbrita" debi tomar tu consejo, este foro creo que esta muerto, donde mas puedo obtener respuestas a mis dudas??? en los ejemplos de ADORDD viene un ejcutable que funciona perfectamente, me conecto al servidor de bases de datos y e incluso veo los datos contenidos en en la tabla, pero cuando quiero compilarlo ... |
ADORDD ??? | bien, explicate bien lo que quieres hacer , la tabla sql es de mysql o sql server, si es asi lo mejor es ADO.
presentame las tablas y veremos q pasa
esto esta en blogs de Armando es buenisimo revisalo
<!-- m --><a class="postlink" href="http://sqlcmd.blogspot.com/2008/10/cdigo-para-crear-la-base-de-datos-y.html">http... |
ADORDD ??? | Ok... me explico
La base de datos es SQL Server, tengo 11 listas de precios con mas de 2000 codigos que estan en DBF, estas listas tienen precios diferentes una por cada tienda, el nuevo sistema deberia importar esta informacion pero no lo hace, los proveedores de este software ven que aparentemente todo esta bien, p... |
ADORDD Error : ADODEFAULT(5256) | I'm just new with ADORDD, I try the ADORDD.PRG but it has got an error below
This is my example, what I do wrong?
[code=fw:cb4oca2h]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">'adordd.ch'</span><br /><span style="color: #00D7D7;"... |
ADORDD Error : ADODEFAULT(5256) | Dutch,
You need to set ado before:
[code=fw:2zmzshia]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">//all your tables and index files used by your app without any clipper expressions </span><br /><span style="color: #B900B9;">// if you need to use indexes you need this s... |
ADORDD Error : ADODEFAULT(5256) | I need to use MySql and how to set this following line. I'm not quite clear.
[code=fw:x7c29ebm]<div class="fw" id="{CB}" style="font-family: monospace;"> SET ADO LOCK CONTROL SHAREPATH <span style="color: #0000ff;">TO</span> <span style="color: #ff0000;">"E:<span style="color: #000000;">\T</span>EMP"</span> RDD <sp... |
ADORDD Error : ADODEFAULT(5256) | [quote="dutch":3mby1io3]I need to use MySql and how to set this following line. I'm not quite clear.
[code=fw:3mby1io3]<div class="fw" id="{CB}" style="font-family: monospace;"> SET ADO LOCK CONTROL SHAREPATH <span style="color: #0000ff;">TO</span> <span style="color: #ff0000;">"E:<span style="color: #000000;">\T</... |
ADORDD Error : ADODEFAULT(5256) | This line does return incorrect. Because it cannot find the "TLOCKS" table in MySql Database. It is warning everytime when open the program.
It will effect, if turn LOCK CONTROL ON. I think it will be find, If use "DBFCDX" but still got problem with "MySql".
SET ADO LOCK CONTROL SHAREPATH TO "E:\TEMP" RDD TO "ADORD... |
ADORDD Error : ADODEFAULT(5256) | Hello,
Please set SET ADO FORCE LOCK OFF.
So MySQL will do the locking.
This feature was a special situation for Antonio´s customer.
So, the settings will be:
[code=fw:3l7km9jl]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /> SET ADO <span style="color: #00C800;">DEFAULT</span> RECNO FI... |
ADORDD Error : ADODEFAULT(5256) | Dutch,
[quote="dutch":3t9pke4i]This line does return incorrect. Because it cannot find the "TLOCKS" table in MySql Database. It is warning everytime when open the program.
It will effect, if turn LOCK CONTROL ON. I think it will be find, If use "DBFCDX" but still got problem with "MySql".
SET ADO LOCK CONTROL SHARE... |
ADORDD Error : ADODEFAULT(5256) | [code=fw:vs0hdtbr]<div class="fw" id="{CB}" style="font-family: monospace;">Dear Antonio F.,<br />I <span style="color: #00C800;">try</span> <span style="color: #0000ff;">to</span> find in ADORDD.PRG, because I got an error <span style="color: #0000ff;">message</span> <span style="color: #00C800;">for</span> existing t... |
ADORDD Error : ADODEFAULT(5256) | Hi Antonio,
We have a bigger ERP (more 400 prg) with many of 300 dbf files, and want try use ADORDD with MySql.
I´m not understand how to use SET ADODBF commands. |
ADORDD Error : ADODEFAULT(5256) | Vilian,
Did you get the last version posted a couple of hours ago and read the readme thats now more like a small manual? |
ADORDD Error : ADODEFAULT(5256) | Antônio,
Thanks, I will get now. |
ADORDD Error : ADODEFAULT(5256) | Antônio,
We have 287 DBF files and 472 CDX files.
We need to use [b:d7yldukw]SET ADODBF[/b:d7yldukw] and [b:d7yldukw]SET ADO Tables [/b:d7yldukw] only in main program or anyway open files ? |
ADORDD Error : ADODEFAULT(5256) | Thanks Lucas,
I have set LOCK OFF as your recommendation. It works now.
[quote="lucasdebeltran":1txb5isj]Hello,
Please set SET ADO FORCE LOCK OFF.
So MySQL will do the locking.
[code=fw:1txb5isj]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /> SET ADO <span style="color: #00C800;">DEFAULT</spa... |
ADORDD Error : ADODEFAULT(5256) | Vilian,
All the sets only need to set once at top of main or some init program.
You only need to set ADO TABLE and ADODBF TABLE the tables with indexes.
Tables without indexes dont have to be set. |
ADORDD Error : ADODEFAULT(5256) | Dear Antonio F.,
If I use MySql, I have to set ADODBF TABLES with Clipper Expression Index.
Do I need to set ADO TABLES also?
[quote="AHF":ud8ympqr]
You need always to set both ADODBF TABLES and ADO TABLES[/quote:ud8ympqr]
Yes, It has created in my MySql Db.
No, It just create from your code (LOCK CONTROL)
[quote="... |
ADORDD Error : ADODEFAULT(5256) | Ducth,
Please post your set SET ADO LOCK CONTROL
Please check the Lucas post in the topic 2012 server. |
ADORDD Error : ADODEFAULT(5256) | Dear Antonio,
I have set SET ADO FORCE LOCK OFF as Lucas recommendation, it's working now.
Can I make SET RELATION TO ... INTO ....?
Thanks in advance,
Dutch |
ADORDD Error : ADODEFAULT(5256) | Dutch,
You can do whatever you do with any other rdd like dbfcdx.
Please read the readme.pdf in github its like a small manual you have everything there.
The only limitation is the variables evaluation in index expressions as they are unknown to adordd SQL.
Here its just like ADS rdd.
And actions over delete record... |
ADORDD Error : ADODEFAULT(5256) | This is my sample code. I have 2 table and need to make RELATION but it got an error "ADORDD/1201 Work area not indexed: GST"
1. ccrtbl it has tbl_gstno = gst_intno in ccrgst
2. ccrgst
Now I try to make index for both table. What I do wrong?
[code=fw:279ucz3o]<div class="fw" id="{CB}" style="font-family: monospa... |
ADORDD Error : ADODEFAULT(5256) | Dutch,
You have to set both SET ADO TABLES INDEX LIST TO... and SET ADODBF TABLES INDEX LIST TO... |
ADORDD Error : ADODEFAULT(5256) | I did both set but still got the same error.
[code=fw:1rnjp3fy]<div class="fw" id="{CB}" style="font-family: monospace;">Application<br />==========<br /> Path and <span style="color: #0000ff;">name</span> : <span style="color: #000000;">D</span>:\V6\TADORDD\<span style="color: #0000ff;">Release</span>\test.EXE <span... |
ADORDD Error : ADODEFAULT(5256) | [u:2y1nj7pk][b:2y1nj7pk][color=#BF0080:2y1nj7pk]Thank you so much Antonio and Lucas[/color:2y1nj7pk][/b:2y1nj7pk][/u:2y1nj7pk]
Index is working now, when I change all to uppercase. The RELATION is working too.
[code=fw:2y1nj7pk]<div class="fw" id="{CB}" style="font-family: monospace;"> SET ADODBF TABLES <span style... |
ADORDD FAQs | After several users and client questions I decided to compile them all in adordd faqs.
Hope it will help you deciding to port your app to SQL.
1) Is adordd pure ADO ?
Yes
2) Does it work like another rdd without any limitations ?
Yes and its even more compatible with clipper dbf kind of rdds than ADS rdd.
You don't... |
ADORDD FAQs | How do I solve error Called from UR_SUPER_ADDFIELD(0) ?
Solution:
must link tryadordd.prg with addorrd.prg, and not use hbusrrdd.ch from adordd repository (rename it or delete of your project, HB has your own hbusrrdd.ch in HB32dev\include) |
ADORDD FAQs | Antonio F.,
Thanks for posting this. It is very informative and helpful.
Regards,
James |
ADORDD FAQs | [quote:1izaw4r3]
I try to upload with hb_AdoUpload() however some tables with a couple of million of records take an eternity to be uploaded. Its impossible!
[/quote:1izaw4r3]
Solution:
In this case you have to upload these tables with some other tool.
Please try this:
[code=fw:1izaw4r3]<div class="fw" id="{CB}" styl... |
ADORDD FAQs | adordd its not closing the connection when exiting the app.
Solution:
ado_exit from adordd should be auto called when exiting the app however it seems
that without QUIT command thats not true in some conditions.
If you want to close all tables,sets and connection place before exiting in your app a call
to ADODB_CLOSE... |
ADORDD FAQs | If I upload my tables with or without SET PATH ON and then I run my app from a different folder or set path
where there aren't any files (tables, indexes etc) at all and adordd its not working.
Solution:
If you are running from a different folder where aren't any files function file() tests in your app become invalid... |
ADORDD FAQs | Dear Sir
How to connect to MSSQL using ADORDD and Create Database/Table ?
Thanks & Regards
Yunus. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.