Search found 52 matches: adopendynamic

Return to advanced search

Minha colaboração

... HEHEHEHE try oRs := CreateObject("ADODB.RecordSet") oRs:CursorLocation := adUseClient oRs:LockType := adLockOptimistic oRs:CursorType := adOpenDynamic oRs:ActiveConnection := "Provider=VFPOLEDB.1;Data Source=c:\bazevani\loc.tmp;Mode=Read;Extended Properties=DBASE IV" catch If ...
by ronaldo
Thu Aug 07, 2014 6:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Minha colaboração
Replies: 0
Views: 452

Re: ADO question: Access is not refresing properly

Lucas,

lucasdebeltran wrote:


No effect, the same problem .

Thanks.


Did you read the article? This is expected behavior for adOpenKeySet:

you can't see records that other users add


EMG
by Enrico Maria Giordano
Sun Jun 23, 2013 7:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO question: Access is not refresing properly
Replies: 10
Views: 2874

Re: ADO question: Access is not refresing properly



No effect, the same problem .

Thanks.
by lucasdebeltran
Sun Jun 23, 2013 7:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO question: Access is not refresing properly
Replies: 10
Views: 2874

Re: ADO question: Access is not refresing properly

Lucas,

lucasdebeltran wrote:Just click on Añadir, and you will see that oRs is not updated:


Try using adOpenDynamic:

http://www.w3schools.com/ado/met_rs_open.asp

EMG
by Enrico Maria Giordano
Sun Jun 23, 2013 3:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO question: Access is not refresing properly
Replies: 10
Views: 2874

ADO RecordSet: What is the best CursorType to use?

... data work like clientside recordset. Back to CursorType: When we look around we see many postings setting custor type either to adOpenKeySet or adOpenDynamic but never adOpenForwardOnly or adOpenStatic. adOpenKeySet ( 1 ) keyset cursor. Like a dynamic cursor, except that you can't see records ...
by nageswaragunupudi
Mon Jun 17, 2013 3:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RecordSet: What is the best CursorType to use?
Replies: 2
Views: 1034

Contribución al foro experiencia sobre Bases.mdb

... oCone ) Local Data1 Local oError Data1:=tOleAuto():New("ADODB.RecordSet") Data1:CursorLocation := adUseClient Data1:CursorType := adOpenDynamic Data1:LockType := adLockOptimistic Data1:ActiveConnection := oCone Data1:Source := "CREATE TABLE ARTICULOS(" + ; " Registro ...
by juan carlos bellucci
Tue Jul 10, 2012 10:04 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Contribución al foro experiencia sobre Bases.mdb
Replies: 4
Views: 1942

capturar error db ADO

... desde ya: cQry = "select * from autores" oRS:cursorLocation = 3 //adUseClient oRS:lockType = 3 //adLockOptimistic oRS:cursorType = 2 //adOpenDynamic oRS:source = cQry oRS:activeConnection = oServer TRY oRS:open() CATCH oError ? "Build RecordSet Failed!!! "+xtabla ShowError( ...
by diegopolverelli
Thu Nov 17, 2011 7:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: capturar error db ADO
Replies: 1
Views: 502

Re: ADO MYSQL se cae con 2 usuarios modificando mismo registro

... adOpenKeyset When we open a recordset on the client side (this is what we should do) there is no use of assigning any values like adOpenKeyset or adOpenDynamic. Whatever we want ADO always opens the recordset with CursorType static only.
by nageswaragunupudi
Fri Oct 14, 2011 3:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO MYSQL se cae con 2 usuarios modificando mismo registro
Replies: 3
Views: 1160

Re: string sql in dbf

... exemple try oRs := CreateObject("ADODB.RecordSet") oRs:CursorLocation := adUseClient oRs:LockType := adLockOptimistic oRs:CursorType := adOpenDynamic oRs:ActiveConnection := "Provider=VFPOLEDB.1;Data Source="+Curdrive()+":\"+Curdir()+";Mode=Read;Extended Properties=DBASE ...
by ronaldo
Tue Jul 12, 2011 11:38 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: string sql in dbf
Replies: 1
Views: 675

Re: Visual Foxpro string sql in DBF

... example, try oRs := CreateObject("ADODB.RecordSet") oRs:CursorLocation := adUseClient oRs:LockType := adLockOptimistic oRs:CursorType := adOpenDynamic oRs:ActiveConnection := "Provider=VFPOLEDB.1;Data Source="+Curdrive()+":\"+Curdir()+";Mode=Read;Extended Properties=DBASE ...
by ronaldo
Tue Jul 12, 2011 11:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Visual Foxpro string sql in DBF
Replies: 3
Views: 1493

Re: Archivo.mdf

... Local Data1 Local oError Data1:=tOleAuto():New("ADODB.RecordSet") Data1:CursorLocation := adUseClient Data1:CursorType := adOpenDynamic Data1:LockType := adLockOptimistic Data1:ActiveConnection := oCone Data1:Source := "CREATE TABLE BANCOS ( Registro COUNTER, Numero ...
by juan carlos bellucci
Tue Nov 23, 2010 3:01 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Archivo.mdf
Replies: 3
Views: 831

Re: Buscar en un recordSet. ¿cómo lo hago?

... por la definicion del Recordset, ahora lo tengo de la siguiente manera: oRs := TOleAuto():New( "ADODB.Recordset" ) oRs:CursorType := adOpenDynamic oRs:CursorLocation := adUseClient oRs:LockType := adLockOptimistic oRs:ActiveConnection(oConnection) oRs:Source := "EXEC sp_Menu ...
by mchumpitazv
Tue Nov 16, 2010 9:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Buscar en un recordSet. ¿cómo lo hago?
Replies: 9
Views: 1160

Re: twbrowse+mysql utilizando recordset é possivel

... inicio mais depois é uma maravilha. Porem, tenho um problema: Estou usando esta configuração: oRs:LockType := adLockOptimistic oRs:CursorType := adOpenDynamic oRs:CursorLocation := adUseClient Com esta configuração não estou conseguindo visualizar as alterações feitas por outros usuários. Tenho ...
by MGA
Wed Jul 28, 2010 11:01 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: twbrowse+mysql utilizando recordset é possivel
Replies: 12
Views: 5036

ADO update() error

... use use ADO to access MySql DB. I try modify a row using :   oRecordSet := TOleAuto():New( "ADODB.Recordset" ) oRecordSet:CursorType := adOpenDynamic oRecordSet:CursorLocation := adUseClient oRecordSet:LockType := adLockOptimistic TRY oRecordSet:Open( "SELECT filename FROM testi ...
by wzaf
Sat Jun 05, 2010 3:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO update() error
Replies: 14
Views: 2611

Re: ADO não funciona o RecordCount()?

... el recordset que manejara la tabla oRs:CursorLocation := adUseClient oRs:LockType := adLockOptimistic oRs:CursorType := adOpenKeyset//adOpenDynamic oRs:Source := "SELECT * FROM imovweb; " oRs:ActiveConnection(oCn) //Ahora si cargamos los datos en el recordset TRY oRs:Open() ...
by sjingo
Wed Mar 17, 2010 10:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ADO não funciona o RecordCount()?
Replies: 8
Views: 2765
PreviousNext

Return to advanced search