Search found 52 matches: adopendynamic

Return to advanced search

Re: Problema super raro (SOLUCIONADO)

... " +; "AND " +; "WRK_CON = Conceptos.CON_NUM " +; "ORDER BY " +; "WRK_ROW" ,cTabNam ,adLockOptimistic,adOpenDynamic,0) <============ [code] It seems silly but it was stupid. I apologize, again Best regards
by Armando
Thu Mar 28, 2024 1:09 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema super raro (SOLUCIONADO)
Replies: 10
Views: 2121

connecting SQL SERVER VIA ODBC PROLEM

... := NIL lret:=.f. CLOSE_DBF(ODTEMP) RETURN(lret) END orsPed:CursorLocation := adUseClient orsPed:LockType := adLockOptimistic orsPed:CursorType := adOpenDynamic orsped:source:="SELECT * FROM ERP6_base" // ENVIAMOS QUERY DE PRUEBA PARA COMPROBAR CONEXIÓN orsPed:ActiveConnection( oApp:oCon ...
by MANOLO
Mon Jan 29, 2024 5:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: connecting SQL SERVER VIA ODBC PROLEM
Replies: 0
Views: 330

Re: CONEXION ADODB SQL SERVER

... := NIL lret:=.f. CLOSE_DBF(ODTEMP) RETURN(lret) END orsPed:CursorLocation := adUseClient orsPed:LockType := adLockOptimistic orsPed:CursorType := adOpenDynamic orsPed:Source :="select * from BasedeDatos" orsPed:ActiveConnection( oApp:oCon ) TRY orsPed:Open() CATCH oError MsgStop( "No ...
by MANOLO
Mon Jan 29, 2024 5:09 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CONEXION ADODB SQL SERVER
Replies: 4
Views: 290

CONEXION ADODB SQL SERVER

... := NIL lret:=.f. CLOSE_DBF(ODTEMP) RETURN(lret) END orsPed:CursorLocation := adUseClient orsPed:LockType := adLockOptimistic orsPed:CursorType := adOpenDynamic orsped:source:="SELECT * FROM ERP6_base" // ENVIAMOS QUERY DE PRUEBA PARA COMPROBAR CONEXIÓN orsPed:ActiveConnection( oApp:oCon ...
by MANOLO
Mon Jan 29, 2024 9:12 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: CONEXION ADODB SQL SERVER
Replies: 4
Views: 290

CONEXION ADODB SQL SERVER

... := NIL lret:=.f. CLOSE_DBF(ODTEMP) RETURN(lret) END orsPed:CursorLocation := adUseClient orsPed:LockType := adLockOptimistic orsPed:CursorType := adOpenDynamic orsped:source:="SELECT * FROM ERP6_base" // ENVIAMOS QUERY DE PRUEBA PARA COMPROBAR CONEXIÓN orsPed:ActiveConnection( oApp:oCon ...
by MANOLO
Mon Jan 29, 2024 9:12 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: CONEXION ADODB SQL SERVER
Replies: 0
Views: 146

Re: FW_OpenRecordSet lento en red

... invariably opens the recordset as adOpenStatic only for CursorLocation adUseClient. There is not point in assigning a value like adOpenKeySet or adOpenDynamic
by nageswaragunupudi
Mon Dec 18, 2023 6:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_OpenRecordSet lento en red
Replies: 8
Views: 617

ADO: ACTUALIZAR CAMPO DE SELECT DE 02 TABLAS MSSQL

... ) WITH OBJECT oRsDir :ActiveConnection := oApp:oCon :Source := cSql :CursorLocation := adUseClient :LockType := adLockOptimistic :CursorType := adOpenDynamic TRY :Open() CATCH FW_ShowAdoError( oApp:oCon ) END END oRsDir:Properties("Unique Table"):Value := "DIRECCION" && ...
by Angel Miguel
Sun Apr 19, 2020 5:59 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ADO: ACTUALIZAR CAMPO DE SELECT DE 02 TABLAS MSSQL
Replies: 5
Views: 873

Re: Error from ADO

... : Works only with adUseServer and in anycase this is not what we want 1. adOpenKeyset : Whether we like or not this work only with adUseServer 2. adOpenDynamic : This also does not work with adUseClient 3. adOpenStatic: This is the only choice left to us. Even if you try to use adOpenKeySet or ...
by Horizon
Sat Aug 18, 2018 3:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error from ADO
Replies: 14
Views: 3503

Re: Error from ADO

... : Works only with adUseServer and in anycase this is not what we want 1. adOpenKeyset : Whether we like or not this work only with adUseServer 2. adOpenDynamic : This also does not work with adUseClient 3. adOpenStatic: This is the only choice left to us. Even if you try to use adOpenKeySet or ...
by nageswaragunupudi
Fri Aug 11, 2017 3:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error from ADO
Replies: 14
Views: 3503

Re: Error from ADO

... Board. oRs:CursorType := 1 // adOpenKeyset oRs:CursorLocation := 3 // adUseClient oRs:LockType := 3 // adLockOptimistic Else oRs:CursorType := adOpenDynamic oRs:CursorLocation := adUseClient oRs:LockType := adLockOptimistic Endif oRs:ActiveConnection := cConnStr oRs:Source := cSql oRs:Open() ...
by byron.hopp
Thu Aug 10, 2017 3:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error from ADO
Replies: 14
Views: 3503

Re: Error from ADO

... especially using the opendkeyset cursor type If you are using the FW_Ado wrappers ( adofuncs.prg ) it uses the 2 parameter ( if not specified ) or adOpenDynamic for the Cursor Type .. there are pros and cons on Open and Dynamic keysets and they are mentioned here : https://docs.microsoft.com/en-us/sql/ado/guide/data/keyset-cursors ...
by Rick Lipkin
Sat Jul 22, 2017 1:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error from ADO
Replies: 14
Views: 3503

Re: ADO RDD xHarbour

... default one. ADOPREOPENTHRESHOLD Faster counting records. Doesn't cache any tables with WHERE clause. All ADO cursors changed in the code from adopendynamic to adopenstatic, although it always started as adopenstatic. New features: New option PORT in SET ADO DEFAULT DATABASE ... ADO_ORDINFO ...
by AHF
Tue Mar 07, 2017 9:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446414

Adoordd , xbrowse

... oRs := USRRDD_AREADATA( Select() )[1] DBG oRs:CursorType , oRs:CursorLocation , oRs:LockType 3 3 3 In AdoRdd i can see oRecordSet:Open(......., , adOpenDynamic , .... ) Cursortype ist'n 2 as expected but 3 (adOpenStatic) 2) Ors:Delete() gives an error without a proper message 3) Ors:Fileds("First"):Value ...
by Franklin Demont
Thu Oct 27, 2016 10:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Adoordd , xbrowse
Replies: 9
Views: 2315

Re: ADO SQL VISIBILITY

You can use: CursorLocation := adUseServer CursorType := adOpenDynamic Pros: Selects without where clause much faster because you dont load immediately all records You'll see new adds deletes changes by others. You will always have the last info version. ...
by AHF
Wed Jun 24, 2015 5:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO SQL VISIBILITY
Replies: 17
Views: 3481

Re: ADO RDD xHarbour

... is with cursorlocation because with ACCESS aduseclient you can not :update() so I've change it to adUseServer but with adOpenKeyset because with adOpenDynamic ACCESS also does not work correctly. In my tests with MYSql everything its ok. Also since locks are enforced using Browse() you need to ...
by AHF
Wed May 06, 2015 3:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 446414
Next

Return to advanced search

cron