Search found 15 matches: adlockreadonly

Return to advanced search

Re: Insertar registros en un Dbf desde tabla MSAccess

... oError MsgStop( "No se ha podido crear el OBJETO"+ oError:Description ) RETURN .F. END oRSet:CursorLocation:=adUseClient;oRSet:LockType:=adLockReadOnly;oRSet:CursorType:=adOpenForwardOnly;oRSet:ActiveConnection( oConnection ) sSQLQuery := "SELECT * FROM CONSULMARKET" TRY oRSet:Open( ...
by RBLANCO
Tue Apr 16, 2019 11:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Insertar registros en un Dbf desde tabla MSAccess
Replies: 3
Views: 761

Re: Error from ADO

... and is not useful for us) 3. adUseClient : This is the only choice we have LockType: 1. adLockUnspecified (not to be used for new recordsets) 2. adLockReadOnly : This is not what you want when you want to make changes. (Note: This is useful when you read data not to be modified) 3. adLockPessimistic ...
by Horizon
Sat Aug 18, 2018 3:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error from ADO
Replies: 14
Views: 3497

Re: Error from ADO

... and is not useful for us) 3. adUseClient : This is the only choice we have LockType: 1. adLockUnspecified (not to be used for new recordsets) 2. adLockReadOnly : This is not what you want when you want to make changes. (Note: This is useful when you read data not to be modified) 3. adLockPessimistic ...
by nageswaragunupudi
Fri Aug 11, 2017 3:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error from ADO
Replies: 14
Views: 3497

Re: ADO RecordSet Fetch() ?

... fetch() record by record and then copy into your own memory, I suggest the following way: Open serverside recordset with adOpenForwardOnly and adLockReadOnly. Keep reading the recordset as and when you need and copy to your memory ( array or whatever you were using with ODBC ). This is the ...
by nageswaragunupudi
Sun Jul 28, 2013 8:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RecordSet Fetch() ?
Replies: 21
Views: 6488

Re: BROWSE com muitos registros - MYSQL remoto

... usar para buscar datos o generar informes. Las incorporaciones, cambios o eliminaciones que hacen otros usuarios no son visibles. Tipo de bloqueo: adLockReadOnly, Predeterminado. Sólo lectura- no puede modificar los datos AdLockPessimistic, Bloqueo pesimista, registro a registro: el provedor hace ...
by sjingo
Thu Mar 04, 2010 3:14 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: BROWSE com muitos registros - MYSQL remoto
Replies: 14
Views: 3979

Re: Leer una base de SQL Server

... Source="+alltrim(instancia)+";Initial Catalog="+alltrim(bbdd)+";User Id=user;Password=***;", adOpenForwardOnly, adLockReadOnly ) nNum:=oRs:Fields("num"):Value oRs:Close() Un Saludo.
by softruz
Wed Mar 11, 2009 4:26 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Leer una base de SQL Server
Replies: 5
Views: 920

Re: accesso a database SQL

HO FATTO: #define adOpenForwardOnly 0 #define adOpenKeyset 1 #define adOpenDynamic 2 #define adOpenStatic 3 #define adLockReadOnly 1 #define adLockPessimistic 2 #define adLockOptimistic 3 #define adLockBatchOptimistic 4 local cDsn := "cDsn" Local cName := "cName" ...
by damianodec
Tue Feb 17, 2009 8:25 am
 
Forum: All products support
Topic: accesso a database SQL
Replies: 11
Views: 3081

Connection

... _ADORDD_CH // Cursor Type #define adOpenForwardOnly 0 #define adOpenKeyset 1 #define adOpenDynamic 2 #define adOpenStatic 3 // Lock Types #define adLockReadOnly 1 #define adLockPessimistic 2 #define adLockOptimistic 3 #define adLockBatchOptimistic 4 // Field Types #define adEmpty 0 #define adTinyInt ...
by digicad
Sun Apr 29, 2007 8:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New AdoRDD (free)
Replies: 203
Views: 103118

A Beginners Guide to ADO

... not visible - all you can see are the records that matched your search at the point in time when the query was executed ( second parameter ) (1) adlockReadOnly (2) adlockPessimistic (3) adlockOptomistic (4) adlockBatchOptomistic How to Open a recordset .. this example is for MS Access .mdb oRs ...
by Rick Lipkin
Sun Apr 15, 2007 6:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Beginners Guide to ADO
Replies: 22
Views: 14029

... array para visualizarlo con un browse: #define adOpenForwardOnly 0 #define adOpenKeyset 1 #define adOpenDynamic 2 #define adOpenStatic 3 #define adLockReadOnly 1 #define adLockPessimistic 2 #define adLockOptimistic 3 #define adLockBatchOptimistic 4 #define adUseServer 2 #define adUseClient 3 ...
by sjingo
Tue Oct 03, 2006 1:12 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: MySql + ayuda
Replies: 8
Views: 2012

ADO events

... oRecordSet = CreateObject('ADODB.RECORDSET') oRecordSet.CursorType = 3 && adOpenStatic oRecordSet.LockType = 1 && adLockReadOnly oRecordSet.Open('SELECT * FROM AUTHORS', + ; 'Provider=sqloledb;Server=MYSQL1;' + ; 'Initial Catalog= pubs;UId=sa;PWD=; ') oEvents = ...
by Rimantas
Tue Sep 05, 2006 5:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO events
Replies: 0
Views: 615

Mi Primer MySQL

// My First MySQL Program #define adOpenForwardOnly 0 #define adOpenKeyset 1 #define adOpenDynamic 2 #define adOpenStatic 3 #define adLockReadOnly 1 #define adLockPessimistic 2 #define adLockOptimistic 3 #define adLockBatchOptimistic 4 FUNCTION Main() LOCAL cQuery := "SELECT * FROM MyTable",; ...
by George
Tue May 30, 2006 12:07 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mi Primer MySQL
Replies: 3
Views: 1216

Re: Aqui tienes un Ejemplo

... Server="+oDp:cIp+"; Port=3306; Database="+oDp:cDsnData+"; Uid="+oDp:cLogin+"; Pwd="+oDp:cPass+";" oRs:Open( cSql ,; cCon ,; adOpenForwardOnly, adLockReadOnly ) oRs:Save( cFileXml , adPersistXML ) oRs:Close() IF lOpen ShellExecute( 0, "open", cFileXml) ENDIF Juan, y si fuera por ejemplo un documento ...
by wmormar
Tue Apr 11, 2006 3:07 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Generar archivos XML
Replies: 3
Views: 1074

Aqui tienes un Ejemplo

... Server="+oDp:cIp+"; Port=3306; Database="+oDp:cDsnData+"; Uid="+oDp:cLogin+"; Pwd="+oDp:cPass+";" oRs:Open( cSql ,; cCon ,; adOpenForwardOnly, adLockReadOnly ) oRs:Save( cFileXml , adPersistXML ) oRs:Close() IF lOpen ShellExecute( 0, "open", cFileXml) ENDIF
by jnavas
Mon Apr 10, 2006 2:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Generar archivos XML
Replies: 3
Views: 1074

ADO

... ---- #define adOpenForwardOnly 0 #define adOpenKeyset 1 #define adOpenDynamic 2 #define adOpenStatic 3 //---- LockTypeEnum Values ---- #define adLockReadOnly 1 #define adLockPessimistic 2 #define adLockOptimistic 3 #define adLockBatchOptimistic 4 //---- CursorLocationEnum Values ---- #define ...
by byron.hopp
Sun Nov 06, 2005 4:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ado & MDB
Replies: 3
Views: 2011

Return to advanced search