topic
stringlengths
1
63
text
stringlengths
1
577k
ADO RDD xHarbour
Antonio, i found in the meanwhile that when i use quit the massage is showing, but when i close the main window (FIVEWIN) the quit is not called!
ADO RDD xHarbour
Gunther, Im trying with ACTIVATE WINDOW oWnd VALID ; FimPrograma(ownd,oTimer) The FimPrograma does not quit and even so the message is shown only ADO_EXIT but without any procs.
ADO RDD xHarbour
Gunther, If you need you can call directly ADODB_CLOSE() in order to close all tables, sets and connection thats what ADO_EXIT does. I though ADO_EXIT would be called in any circumstance besides errors.
ADO RDD xHarbour
Antonio, for now i insert ADODB_CLOSE() in the valid from my main-window. Another points to discuss i found on transfer my app to adordd is: 1.) If i fill the index-array the order cannot changing with SET INDEX TO .... In some cases this is required if i will not change the code. 2.) Opening the same DBF with 2 or mo...
ADO RDD xHarbour
Gunther, [quote:3di2shte] 1.) If i fill the index-array the order cannot changing with SET INDEX TO .... In some cases this is required if i will not change the code. [/quote:3di2shte] Sorry I cant understand what you mean. SET INDEX TO its translated by the preprocessor to ordlistadd() as in clipper adordd SET ORDER...
ADO RDD xHarbour
Antonio, SET INDEX TO index1,index2,... or USE....INDEX index1,index2,... describes only the order from indexfiles. As in ADORDD no files exist i must use before INDEX ON... (in a clipper app only once to produce the indexfile) or the command SET ADODBF TABLES INDEX LIST TO .... If i use this ADODBF TABLES INDEX LIST T...
ADO RDD xHarbour
Gunther, USE cTable SET INDEX TO index1,index2,index3 Order focus should be index1. If SET AUTOPEN ON the order focus will be on the first index in the SET ADODBF.. You should only use INDEX ON for temporary indexes as permanent ones should be indicated on SET ADODBF INDEX... If you use INDEX ON... TO cFile the cF...
ADO RDD xHarbour
Gunther, [quote:2fhf9z7j]You write in a message before that this array are always on first ranking and after this the indexes with INDEX ON... added.[/quote:2fhf9z7j] Just lie any other rdd INDEX ON without ADDITIVE clause will clear all the orders prior to creation.
ADO RDD xHarbour
Gunther, Is the problem solved ? Im looking into indexes with SQLite right now so if you need something please let me know.
ADO RDD xHarbour
Antonio, i test now my app and have wrote a little testprogram. I send you tomorrow the results! Greetings from Austria!
ADO RDD xHarbour
Antonio, after testing i can say: All is right! Suggestions: For the local (.ctl, files with text "nada") files you should also set a path ex.: <app>\adordd or the temp from windows as we should not write into the app-path (and/or a SET order)! The text "nada" should more international. SET ADO INDEX UDFS TO should co...
ADO RDD xHarbour
Gunther, [quote:2nah3spw]Antonio, after testing i can say: All is right![/quote:2nah3spw] Great ! [quote:2nah3spw]For the local (.ctl, files with text "nada") files you should also set a path ex.: <app>\adordd or the temp from windows as we should not write into the app-path (and/or a SET order)![/quote:2nah3spw] T...
ADO RDD xHarbour
Antonio. [quote:19fp9x7m]In principle should be present here all ones that are not only to convert data types, such as SUBSTR for ex. The ones that alter the value, length of a field must be present here.[/quote:19fp9x7m] Also upper() and so on should be in this list? And whats ex. should not to be in list?
ADO RDD xHarbour
Gunther, We normally use index functions to convert all index keys to the same data type. INDEX ON STR(NUM)+DTOS(DATE)+CVALTCHAR(LOGIC) These kind of functions dont alter the data itself but only the type in order that can be evaluated without errors. These kind of functions you dont need and should not use them in A...
ADO RDD xHarbour
New build adordd ver 1.0 at <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m --> Corrected bugs: APPEND with SQLITE, FIREBIRD, POSTGRE and ORACLE with index with UDF or condition was adding the same bookmark twice. ADO_REQUERY could fall...
ADO RDD xHarbour
New build adordd ver 1.0 at <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m --> Corrected Bugs: 1) FIELDNAME was not returning upper fieldname in case of db engine PostGre, Oracle 2) Some upper case conversions to take care of lower cas...
ADO RDD xHarbour
Antonio, line 6233 lReval -> lRetval
ADO RDD xHarbour
Gunther, Thanks Done!
ADO RDD xHarbour
New build adordd ver 1.0 at <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m --> New: 1) SET ADODBF INDEX LIST FIELDTYPE NUMBER TO {{ "Table",{ "numfiled", nlen },{"numfield", nLen } } } adordd need a precise indication of the len of nume...
ADO RDD xHarbour
New build adordd ver 1.0 at <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m --> Corrected new Bugs due to changes previous build: 1) ADO_SQLSTRU with firebird numeric fields precision fieldlen was wrong 2) ADO_FIELDSTRUCT integers doesn...
ADO RDD xHarbour
New AdoRdd Version 1.070317 at <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m --> Improvements and corrected bugs: ADO_ORDCREATE after creating index wasnt opening it. ADO_SEEK key with multiple fields with softseek on was going to eof...
ADO RDD xHarbour
New AdoRdd at <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m -->
ADO RDD xHarbour
New AdoRdd at <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m -->
ADO RDD xHarbour
New AdoRdd at <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m --> Performance enhancement opening tables. SET RECORDSET OPEN WHERE CLAUSE TO {{"MYTABLE","HBRECNO < 51000" },; {"MYTABLE2","HBRECNO BETWE...
ADO RDD xHarbour
New AdoRdd at <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m --> Improved speed DBEval Cache tables and recordsets enhancement
ADO RDD xHarbour
New AdoRdd and tryadordd at <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd.git">https://github.com/AHFERREIRA/adordd.git</a><!-- m -->
ADO RDD xHarbour
My main work now with AdoRdd its database with tables between 5.000 and 10.000.000 records building recordsets between 5.000 and 100.000 records and 70 columns in average. The work its on a 1Gb LAN. In the bigger tables if the server has indexes for the WHERE clause its pretty fast < 3 Secs building the recordset. T...
ADO RDD xHarbour
[quote="Rick Lipkin":18uicnv8]Gemtleman I have been using ( plain ) ADO ( class and methods ) for many years .. 32 and 64 bits ... Have a look in the samples folder and compile AdoRick.prg .. Uses all the Fivewin code .. xbrowse, panels, folders ... etc. You can use ADO to connect to MS Sql Server, MS Access and ( mo...
ADO RDD xHarbour
Marc, Do you also have speed problems on the PC where you saved your DBF files. Regards, Otto
ADO RDD xHarbour
Necesito ayuda, cuando estoy usando dos aplicaciones, cuando incluyo una, en la otra aplicación no aparece.
ADO RDD xHarbour
¿ Quien no aparece ?
ADO RDD xHarbour
no aparece el elemento que agregué en el otro sistema, Ej: dejo ambos sistemas en la pantalla de registro de grupo con xbrowse, al incluir en un sistema, en el otro si voy a incluir el mismo código porque no actualizo el registro, y en xbrowse tampoco aparece . Ahora cuando hago un cambio, cambia normal en ambos
ADO RDD xHarbour
o estoy usando asi [code=fw:plwh7zjm]<div class="fw" id="{CB}" style="font-family: monospace;"><br />REQUEST DBFCDX<br />REQUEST ORDKEYNO<br />REQUEST ORDKEYCOUNT<br />REQUEST ORDKEYGOTO<br />REQUEST ADORDD, ADOVERSION, RECSIZE<br /><br /><span style="color: #00C800;">FUNCTION</span> MAIN<span style="color: #000000;">...
ADO RDD xHarbour
A la luz del fuente: <!-- m --><a class="postlink" href="https://github.com/AHFERREIRA/adordd/blob/master/adordd.prg">https://github.com/AHFERREIRA/adordd/bl ... adordd.prg</a><!-- m --> quizás necesites incluir en tu codigo un SKIP 0 (refresh())
ADO RDD xHarbour
Usé SKIP 0, aun así no actualiza el último registro. Abro dos aplicaciones y dejo un stop en la pantalla de xbrowse, y en la otra creo un registro nuevo, y no actualiza en la otra que esta parada en xbrowse. La única forma que pude, fue terminar el banco y abrirlo de nuevo, luego aparece el último registro creado. ¿T...
ADO RDD xHarbour
Hola, Supongo que el SKIP 0 lo hiciste en el otro lado, en el lado que no añadio el registro. Siendo lo anterior ¿ Podrias probar a hacer un GO TOP ? Hay un mensaje que habla de este tema... pero no resuelve mucho.. Seria este: <!-- m --><a class="postlink" href="https://groups.google.com/g/comp.lang.xharbour/c/SY9ii...
ADO RDD xHarbour
Así que intenté poner SKIP 0 y GO TOP después de escribir el registro y no actualiza xbrowse en el otro. También intente actualizar xbrowse y no aparece, solo aparece el registro nuevo en el sistema que lo lanzó, en el otro no aparece.
ADO RDD xHarbour
Intenta contactar con el autor de la clase. Quizá él pueda dar alguna pauta
ADO RDD xHarbour
Gemtleman I have been using ( plain ) ADO ( class and methods ) for many years .. 32 and 64 bits ... Have a look in the samples folder and compile AdoRick.prg .. Uses all the Fivewin code .. xbrowse, panels, folders ... etc. You can use ADO to connect to MS Sql Server, MS Access and ( most ) all the other Sql databas...
ADO RDD xHarbour
[quote="Otto":10iinzd9]Marc, Do you also have speed problems on the PC where you saved your DBF files. Regards, Otto[/quote:10iinzd9] No, On the pc with the dbf's the program is ok. On the peer to peer (like it is) speed improvement would be nice. But I can absolutely be a issue of hardware / settings on de pc's.. ...
ADO RDD xHarbour
Marc, use your software form the other PCs with RDP. Best regards, Otto
ADO RDD xHarbour
To All As far as updating any .dbf record ... I use goto Recno() .. that in many cases mimics dbCommit() .. goto Recno() forces the record pointer to move albeit .. back to itself. Rick Lpkin
ADO RDD xHarbour
Resolvido, com a ajuda do AHF, descobri que na função do ADORECCOUNT não estava definido o MYSQL. Adicionei o aAWData[ WA_ENGINE ]== "MYSQL" no final do primeiro IF. Obrigado. [code=fw:xi793poa]<div class="fw" id="{CB}" style="font-family: monospace;">   <span style="color: #B900B9;">// 30.06.15</span><br />   <span...
ADO RDD xHarbour
Does anyone know if there is any way to increase the conversion speed of hb_adoupload?
ADO RecordSet Fetch() ?
Hi, I use ODBC in my programs to connect to database and want to change it and use ADO Is there a method Fetch() In ADODB.Recordset I want to execute sql but fetching records manyaly one by one. AND PLEASE ... Where i can find manual about all methods and DATA variables for ADODB.Recordset and ADODB.Connection Best ...
ADO RecordSet Fetch() ?
Avista Here is the Wiki on using ADO and Fivewin that many of our friends have contributed .. <!-- m --><a class="postlink" href="http://wiki.fivetechsoft.com/doku.php?id=ado-related_stuffs">http://wiki.fivetechsoft.com/doku.php?i ... ted_stuffs</a><!-- m --> To Answer your question .. Fetch() is not a method ( as f...
ADO RecordSet Fetch() ?
thanks regards
ADO RecordSet Fetch() ?
Avista: An other one <!-- m --><a class="postlink" href="http://www.w3schools.com/ado/">http://www.w3schools.com/ado/</a><!-- m --> Best regards
ADO RecordSet Fetch() ?
Avista .. Please send me your Mail.
ADO RecordSet Fetch() ?
Adolfo, This is my e-mail <!-- e --><a href="mailto:sunrised@t-home.mk">sunrised@t-home.mk</a><!-- e --> Regards,
ADO RecordSet Fetch() ?
This is what i am doing usung tOdbc and tDbOdbcd classes [code=fw:28i6v7do]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oOdbc := TOdbc<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">&#40;</span...
ADO RecordSet Fetch() ?
PLEASE i need some sugestions about this ... Why i need this For example if i use sql "SELECT * FROM MyTable" and MyTable have 15.000.000 records I want to have a view while collecting (importing) data and chance to break it Best regards,
ADO RecordSet Fetch() ?
Avista [quote:3a1qxujl] Why i need this For example if i use sql "SELECT * FROM MyTable" and MyTable have 15.000.000 records I want to have a view while collecting (importing) data and chance to break it [/quote:3a1qxujl] You are correct .. it becomes 'expensive' to open a Sql table with "Select * From Table" .. Gene...
ADO RecordSet Fetch() ?
Rick, Thanks for reply in this case dDate1 >= ctod("01/01/2013") user can by mistake write "01/01/2003" so all record will be selected that will be going too long and user dont know if program is working or is blocked becouse of that i need solution liike in my source sample in reply before ... if using odbc using Fe...
ADO RecordSet Fetch() ?
There is no way to read and add records one by one to a recordset in ADO. We open RecordSet once and all records matching the Query are read into the recordset. If we expect that the Query may result in too many records, then specify oRs:MaxRecords := <yourlimit> and then open the recordset. If oRs:RecordCount() < oRs...
ADO RecordSet Fetch() ?
Rao Thanks for reply One more question Is it possible to define a TIMER and every second read value from oRs:RecordCount() before collecting is finished and dysplay it on the screen and if nned to execute oRs:Close() before collecting is finished If it is possible will be a good tip Best regards,
ADO RecordSet Fetch() ?
Yes, atleast theoritically. When we open a RecordSet, we can specify adAsyncFetch ( value is 32 ) by or'ing it with nOption parameter. Then after reading first batch of records ( set by us in oRs:CatcheSize ), rest of the records are read and added to the recordset Asynchronously. We can also examine the events gene...
ADO RecordSet Fetch() ?
I have try to define TIMER But not success Nothing is working until [b:1kax5rnc]oRs:Open()[/b:1kax5rnc] finish. That is big problem becouse user dont know is program working or it is blocked. Probably [b:1kax5rnc]adAsyncFetch[/b:1kax5rnc] combined with [b:1kax5rnc]oRs:CatcheSize[/b:1kax5rnc] can give results but i have...
ADO RecordSet Fetch() ?
We can forget about adAsyncFetch. This does not work with C. This and ADO event handling is possible only with VB etc and not with normal C. Let us address your issue. Normally opening a client side recordset should not take unduly long time as long as we judiciously select the size of the the data to be read. Still...
ADO RecordSet Fetch() ?
Rao, Thanks so myuch, you are right I have one more quewstion (problem) with ERROR object of oRs:Open() oErr:Description always return DISP_E_UNKNOWNNAME and oErr:Number, oErr:Source, oErr:NativeError... dont exist. oErr:modulename return nothing empty string oErr:osthreadid return 0 oErr:procline return 0 oErr:proc...
ADO RecordSet Fetch() ?
Harbour shows the Ado Error correctly. xHarbour does not. I suggest you use FWH function FW_ShowAdoError( oCn ), where oCn is the connection object. TRY oRs:Open( .... ) CATCH FW_ShowAdoError( oCn ) << decide what to do >> END
ADO RecordSet Fetch() ?
Rao, In which version of fwh is addes function FW_ShowAdoError() I still use 13.03 [quote:n82ualmk]Harbour shows the Ado Error correctly. xHarbour does not.[/quote:n82ualmk] This mean that if i move to harbour from xharbour will work ok ? If yes can i use FWH + bcc582 or i must use something else MSVC or ? What kind...
ADO RecordSet Fetch() ?
The function FW_ShowAdoError() was first included in FWH 13.05. The logic is well known to all users and it should be fine for me to share the code here. You may even find the main part of this code already posted in these forums [code=fw:1efo5am4]<div class="fw" id="{CB}" style="font-family: monospace;"><span style=...
ADO RecordSet Fetch() ?
Rao, Rick, ... Many thanks for reply and help Many thanks to Adolfo for great manual which he send to me for ADO 2.8 i think someone need to put this manual on place where everyone can download it Best regards to all
ADO RecordSet Fetch() ?
Hello, You can sent it to <!-- e --><a href="mailto:alinares@fivetechsoft.com">alinares@fivetechsoft.com</a><!-- e --> so he could upload to contributions. Many thanks.
ADO RecordSet Fetch() ?
Thanks Already sent Regards,
ADO RecordSet open error
Does anyone know why I am getting this error? [code=fw:113g9l7s]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; oRs:= createObject<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"ADODB.RecordSet"</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp;<span style="c...
ADO RecordSet open error
James Start here when you define your object .. then you can add additional parameters as I have .. I would definitly use the local cache option when you create your recordset .. being local makes listboxes just really fast. Rick Lipkin [code=fw:36szsz4h]<div class="fw" id="{CB}" style="font-family: monospace;"><br ...
ADO RecordSet open error
Mr. Rick When CursorLocation is 3 ( adUseClient) the RecordSet is always opened as Static. No use specifying keyset or dynamic. After opening please check ? oRs:CursorType.
ADO RecordSet open error
Mr James For opening recordset, minimum *two things should be specified. 1. Source ( Sql statement, Table name, URL ). In our case mostly sql statement 2. Either connection object or connection string. Either we can specify then initially: oRs:Source := <sql statement> oRs:ActiveConnection := oCon and then oRs:Open()...
ADO RecordSet open error
Rao, I have tried testxbr3.prg and it works fine. This is using an Access database. I note that this code calls oRs:Open() without any parameters and it doesn't error out. The other test code you provided is using a DBF database. This is the one that errors out on the oRs:Open() call (with or without parameters). Ja...
ADO RecordSet open error
I have to open Access databases and Progress databases. I get that error if I get the connect string wrong or the DSN entry is wrong. Those semicolons and sometimes spaces really mean something. Here is a DSN-less connect string I use for an Access database that does not need username and password. cConnectString := ...
ADO RecordSet open error
Gale, I is not the connection that is the problem. The problem turns out to be that the WHERE clause in the SELECT statement is causing the crash. For more details see this thread. <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=19334&start=30">viewtopic.php?f=3&t=19334...
ADO RecordSet open error
[quote="James Bott":37j4p8oe]Does anyone know why I am getting this error?[/quote:37j4p8oe] Can you show the exact sample you are trying? EMG
ADO RecordSet open error
Enrico, It is in the third message on this page: <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=19334&start=30">viewtopic.php?f=3&t=19334&start=30</a><!-- l --> James
ADO RecordSet open error
Your sample works fine here as it is. EMG
ADO RecordSet open error
James: Just an idea, do have the ado heder included ? #Include "Ado.ch" Regards
ADO RecordSet open error
Armando, I didn't have the ado.ch header included, but I just added it and I still get the same error. Thanks for the idea. James
ADO RecordSet open error
[quote="James Bott":bvf9uyk8]Armando, I didn't have the ado.ch header included, but I just added it and I still get the same error. Thanks for the idea. James[/quote:bvf9uyk8] including or not including ado.ch does not make any difference because the program does not use any constants defined in the ado.ch. ado.ch c...
ADO RecordSet open error
Rao, Actually, the ORDER clause is working. That error was caused by a syntax error on my part. Only the WHERE clause is not working. James
ADO RecordSet to DBF
Hi all, I need help how to create DBF file and insert data from ADO Recordset Best regards,
ADO RecordSet to DBF
Avista Here is the psudo code .. 1) Create your .dbf 2) Open your recordset ... [code=fw:2pnkl73d]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oRs:<span style="color: #000000;">MoveFirst</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br /><span sty...
ADO RecordSet to DBF
Rick, Thanks for reply, [quote:2ud58ilj]1) Create your .dbf[/quote:2ud58ilj] That is my problem ... i cant create .DBF becouse i dont know fields ... becouse RecordSet is openet berore that and contains data from executed SQL I want to export data from opened recordset to .dbf file So i mean to read first the fields ...
ADO RecordSet to DBF
FWH already provides a ready made function for this. FW_AdoExportToDBF( oRs, cDbf, lEditStruct )
ADO RecordSet to DBF
Rao Thanks for reply [quote:gs83syox]FWH already provides a ready made function for this. FW_AdoExportToDBF( oRs, cDbf, lEditStruct )[/quote:gs83syox] I have seen on this forum that this functuins are includer in version 13.08 I still use 13.04 and not ready in this moment to change version and test apps <!-- l -->...
ADO RecordSet to DBF
Understand. We might consider expanding the coverage to other SQL DBMSs depending on the users' requirements.
ADO RecordSet to DBF
Thanks Rao [quote:1i36gxcg]Understand. We might consider expanding the coverage to other SQL DBMSs depending on the users' requirements.[/quote:1i36gxcg] [b:1i36gxcg]But please any other solution or Can i find the source of functions:[/b:1i36gxcg] function FWAdoDelRecord( oRs ) --> lSuccess function FWAdoFieldType(...
ADO RecordSet to DBF
Rick, Rao, anyone ? Any sugestion please ? REgards,
ADO RecordSet to DBF
Look <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=19&t=27296#p151744">viewtopic.php?f=19&t=27296#p151744</a><!-- l --> <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=19&t=27296&start=15#p151819">viewtopic.php?f=19&t=27296&start...
ADO RecordSet to DBF
Navarro thanks for reply I urgent need the source of function [b:e9u9wag2]FW_AdoExportToDBF( oRs, cDbfName, [lEditStruct] )[/b:e9u9wag2] or same similar source sample Best regards,
ADO RecordSet to DBF
[quote="avista":211guxk9]Rao Thanks for reply [quote:211guxk9]FWH already provides a ready made function for this. FW_AdoExportToDBF( oRs, cDbf, lEditStruct )[/quote:211guxk9] I have seen on this forum that this functuins are includer in version 13.08 I still use 13.04 and not ready in this moment to change version ...
ADO RecordSet to DBF
Avista, We can help you with FW_AdoExportToDBF() (I will check it with Rao and I may send you some code by email) but as Rao has clearly explained to you, if you want to use the result of our hard work, you should upgrade your FWH version, thanks for understanding it.
ADO RecordSet to DBF
You can keep using FWH 13.04, upgrade to FWH 14.06, copy the required functions that you need and continue using 13.04. I am sure that you also ask your customers to get paid by your work <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
ADO RecordSet to DBF
Thanks to all In start i only asked how to detect from ado recordset [quote:1wc3u31t]filedname, fieldtype, fieldlen, fielddec[/quote:1wc3u31t] I use informix [quote:1wc3u31t]Re: DBF to SQL script tool New postby nageswaragunupudi » Fri Jul 11, 2014 2:37 am Mr Hakan ONEMLI FWH Ado functions work for Access, MS Sql...
ADO RecordSet to DBF
Thanks, Possible help for now how to detect filedname, fieldtype, fieldlen, fielddec from ado recordset ? If no it is ok ...i will go back to ODBC for now <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> BEST best regards, Thanks
ADO RecordSet to DBF
[quote:2fjr8x3k]FWH Ado functions work for Access, MS Sql, MySql, Oracle and SQLite3. [/quote:2fjr8x3k] That means "all" functions in adofuncs.prg work for these DBMSs. Just a clarification. Many functions work for *all* DBMSs. For example, for creation of Table on DBMS, we need to know specific datatypes of the DBMS....
ADO RecordSet to DBF
oField := oRs:Fields( n ) // n is zero based or oField := oRs:Fields( "<fieldname>" ) Then oField:Name --> field name oField:Type --> Ado Type of the field as numeric You can find all ado field types here <!-- m --><a class="postlink" href="http://www.w3schools.com/asp/ado_datatypes.asp">http://www.w3schools.com/asp...
ADO RecordSet: What is the best CursorType to use?
What is the most desirable cursor type to use while opening a Recordset in ADO? adOpenKeySet or adOpenDynaic or adOpenStatic? We almost always open RecordSet on client side, using CursorLocation as adUseClient (3) [u:1pjlktcq]Brief note on CursorLocation:[/u:1pjlktcq] It is not necessary that we specify "oRs:Cursor...
ADO RecordSet: What is the best CursorType to use?
NageswaraRao, [quote="nageswaragunupudi":2l6vjwug]Note: If the CursorLocation property is set to adUseClient, the only valid setting for the CursorType property is adOpenStatic.[/quote:2l6vjwug] You missed "Remote Data Service Usage". <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-...
ADO RecordSet: What is the best CursorType to use?
According to MSDN, RDS has been removed from Windows 8 and Windows Server 2012. The way to go now is WCFDS.