I compiled and linked provided prg's with xHarbour commercial and FWH and it is working ok so far.
Thanks,
I compiled and linked provided prg's with xHarbour commercial and FWH and it is working ok so far.
Thanks,
2007-04-27 19:33 UTC+0100 Antonio Linares (alinares@fivetechsoft.com)
* contrib/adordd/adordd.ch
* contrib/adordd/adordd.prg
* QUERY support and MS SQL support (thanks to Vikthor!)
Vikthor already successfully tested the ADORDD on Microsoft SQL server and added a new clause QUERY :-)
Regards,
Antonioask wrote:Antonio Linares wrote:A.S.K.
You just need AdoRdd.lib and HbOleAut.lib if you use Harbour. For xharbour users, just AdoRdd.lib
Antonio I use xharbour but I don't have ADORDD.LIB .Can you please tell me where I can found it?
Thank you in advance
A.S.K.
Error: Unresolved external '_HB_FUN_USRRDD_RDDDATA' referenced from C:\XHARBOUR\LIB\ADORDD.LIB|adordd
Error: Unresolved external '_HB_FUN_USRRDD_AREADATA' referenced from C:\XHARBOUR\LIB\ADORDD.LIB|adordd
Error: Unresolved external '_HB_FUN_USRRDD_ID' referenced from C:\XHARBOUR\LIB\ADORDD.LIB|adordd
Error: Unresolved external '_HB_FUN_UR_SUPER_ERROR' referenced from C:\XHARBOUR\LIB\ADORDD.LIB|adordd
Error: Unresolved external '_HB_FUN_UR_SUPER_SETFIELDEXTENT' referenced from C:\XHARBOUR\LIB\ADORDD.LIB|adordd
Error: Unresolved external '_HB_FUN_UR_SUPER_ADDFIELD' referenced from C:\XHARBOUR\LIB\ADORDD.LIB|adordd
Error: Unresolved external '_HB_FUN_UR_SUPER_OPEN' referenced from C:\XHARBOUR\LIB\ADORDD.LIB|adordd
Error: Unresolved external '_HB_FUN_UR_SUPER_CLOSE' referenced from C:\XHARBOUR\LIB\ADORDD.LIB|adordd
Error: Unresolved external '_HB_FUN_USRRDD_GETFUNCTABLE' referenced from C:\XHARBOUR\LIB\ADORDD.LIB|adordd case s_cEngine == "SQL"
oAdo:CursorType = adOpenStatic
oAdo:CursorLocation = adUseClient
oAdo:LockType = adLockPessimistic
oAdo:Open( "SELECT * FROM " + s_cTableName,;
"Provider=SQLOLEDB;" + ;
"server=" + s_cServer + ;
";database=" + aOpenInfo[ UR_OI_NAME ] + ;
";uid=" + s_cUserName + ;
";pwd=" + s_cPassword, adOpenKeyset, adLockOptimistic )[ <dbEngine: ACCESS, MYSQL, ORACLE, INFORMIX, SQL> ];you must be add usrrdd library into linked
You can get it from http://www.harbour-project.org/ downloading the latest stable binaries.
Regards Eugeniusz
Here it is usrrdd.lib for Harbour:
http://rapidshare.com/files/28329001/usrrdd.zip.html
And here it is for xharbour:
SET FILTER TO ... support
i.e.: SET FILTER TO First = "Homer"
To use special SQL expressions, place quotation marks around them, i.e.:
SET FILTER TO "City LIKE 'Chi*'"
I wonder if the used character is db engine dependent...
EMG
I used '%' with Jet, MSDE, MSSQL and MSVFP driver.
EMG
Enrico,
Yes, probably.
We are doing the tests with MySQL and Access and it worked fine.
Antonio,
Enrico is right !
http://www.techonthenet.com/sql/like.php
http://en.wikipedia.org/wiki/SQL
Regards,
Felix
Felix,
Thanks ![]()
2007-04-29 17:34 UTC+0100 Antonio Linares (alinares@fivetechsoft.com)
* contrib/adordd/adordd.prg
* Oracle support, thanks to Srdjan Dragojlovic
You may download it from here: