Servicomver:
Con ADO puro
oRsCli:Find("CLI_CLI = " + "'" + STR(nIrA,5,0) + "'" )
CLI_CLI es el campo en el recordset y nIrA es el número a localizar
Por el lContinue supongo que quieres que te muestre todos los iguales,
si es así debes utilizar FILTER
Saludos
Search found 18 matches: lcontinue
Searched query: lcontinue
- Fri Jul 13, 2018 12:02 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Busqueda SQL
- Replies: 15
- Views: 3773
- Thu Jul 12, 2018 11:04 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Busqueda SQL
- Replies: 15
- Views: 3773
Busqueda SQL
... un registro en una Tabla SQL hago:
oRecordSet:Addnew()
oRecordSet:Fields("Bill_num"):value := alltrim(Var1)
oRecordSet:Update()
Para borrar:
oRecordSet:Delete()
oRecordSet:Requery()
Como seria para buscar la Variable xRFC ??
oRecordSet:Find( xRfc, If( lContinue, 1, 0 ) ) //Asi marca error
Gracias
oRecordSet:Addnew()
oRecordSet:Fields("Bill_num"):value := alltrim(Var1)
oRecordSet:Update()
Para borrar:
oRecordSet:Delete()
oRecordSet:Requery()
Como seria para buscar la Variable xRFC ??
oRecordSet:Find( xRfc, If( lContinue, 1, 0 ) ) //Asi marca error
Gracias
- Tue Apr 28, 2015 10:11 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: ADO RDD xHarbour
- Replies: 1047
- Views: 524386
Re: ADO RDD xHarbour
Lucas,
Please remember:
hb_adoSetLocateFor is needed as LOCATE calls in adordd:
ADO_SETLOCATE( nWA, aScopeInfo )
ADO_LOCATE( nWA, lContinue )
Unfortunately aScopeInfo doesnt supply the cFor condition only bFor condition thus we need to set it up before with hb_adoSetLocateFor.
Let me check what we ...
Please remember:
hb_adoSetLocateFor is needed as LOCATE calls in adordd:
ADO_SETLOCATE( nWA, aScopeInfo )
ADO_LOCATE( nWA, lContinue )
Unfortunately aScopeInfo doesnt supply the cFor condition only bFor condition thus we need to set it up before with hb_adoSetLocateFor.
Let me check what we ...
- Wed Oct 10, 2012 2:30 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: MySQL - Recordset question
- Replies: 2
- Views: 827
Re: MySQL - Recordset question
... FCount() --> oRecordSet:Fields:Count
GoTop --> oRecordSet:MoveFirst()
GoBottom --> oRecordSet:MoveLast()
Locate --> oRecordSet:Find( cFor, If( lContinue, 1, 0 ) )
Open --> oRecordSet:Open( cQuery, hConnection )
OrdListClear() --> oRecordSet:Index := ""
RecCount(), LastRec() --> oRecordSet ...
GoTop --> oRecordSet:MoveFirst()
GoBottom --> oRecordSet:MoveLast()
Locate --> oRecordSet:Find( cFor, If( lContinue, 1, 0 ) )
Open --> oRecordSet:Open( cQuery, hConnection )
OrdListClear() --> oRecordSet:Index := ""
RecCount(), LastRec() --> oRecordSet ...
- Wed Mar 07, 2012 10:40 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Seguimos con ADO
- Replies: 11
- Views: 3989
Re: Seguimos con ADO
... FCount() --> oRecordSet:Fields:Count
GoTop --> oRecordSet:MoveFirst()
GoBottom --> oRecordSet:MoveLast()
Locate --> oRecordSet:Find( cFor, If( lContinue, 1, 0 ) )
Open --> oRecordSet:Open( cQuery, hConnection )
OrdListClear() --> oRecordSet:Index := ""
RecCount(), LastRec() --> oRecordSet ...
GoTop --> oRecordSet:MoveFirst()
GoBottom --> oRecordSet:MoveLast()
Locate --> oRecordSet:Find( cFor, If( lContinue, 1, 0 ) )
Open --> oRecordSet:Open( cQuery, hConnection )
OrdListClear() --> oRecordSet:Index := ""
RecCount(), LastRec() --> oRecordSet ...
- Fri Jul 24, 2009 8:29 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Como mostrar un Archivo Texto Plano
- Replies: 18
- Views: 6674
Re: Como mostrar un Archivo Texto Plano
... BOTTOM,RPT_INCHES)
ACTIVATE REPORT oRep ON INIT SayReport(nWidth,"Litros.txt")
oFont:End()
Return nil
STAT FUNC SayReport(nWidth,cFile)
LOCAL lContinue, cLine, lMore, lEoL, nLeng
LOCAL hPrnt, nBlok, cTxt, nCurr, nLMax
DEFAULT cFile:="Report.Prt"
nLeng:=nWidth+2
lContinue:=.T.
nBlok:=4096 ...
ACTIVATE REPORT oRep ON INIT SayReport(nWidth,"Litros.txt")
oFont:End()
Return nil
STAT FUNC SayReport(nWidth,cFile)
LOCAL lContinue, cLine, lMore, lEoL, nLeng
LOCAL hPrnt, nBlok, cTxt, nCurr, nLMax
DEFAULT cFile:="Report.Prt"
nLeng:=nWidth+2
lContinue:=.T.
nBlok:=4096 ...
- Thu Oct 30, 2008 2:34 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: ANTONIO AYUDA CON SETFOCUS A UN MDI
- Replies: 9
- Views: 1862
- Tue Oct 28, 2008 2:41 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Dudas con MDI- MDICHILD
- Replies: 0
- Views: 386
Dudas con MDI- MDICHILD
... por el ctitle y le da el foco pero no me funciona. te anexo el codigo...
Case nCol == 2
uBuffer := (Brw1:CALIAS)->id_com
aResult := ""
IF lContinue:= Brw1:lEditCol( nCol, @uBuffer, "@!")
IF EMPTY(uBuffer)
COMP0101(uBuffer) // aqui llamo a la otra ventana MDI donde debo
// seleccionar ...
Case nCol == 2
uBuffer := (Brw1:CALIAS)->id_com
aResult := ""
IF lContinue:= Brw1:lEditCol( nCol, @uBuffer, "@!")
IF EMPTY(uBuffer)
COMP0101(uBuffer) // aqui llamo a la otra ventana MDI donde debo
// seleccionar ...
- Mon Aug 18, 2008 1:18 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Browse de Hernan
- Replies: 5
- Views: 1374
- Sat Aug 16, 2008 4:58 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Browse de Hernan
- Replies: 5
- Views: 1374
- Fri Jan 25, 2008 4:55 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: ZIP UNZIP con FWH
- Replies: 5
- Views: 1541
- Mon Sep 24, 2007 4:54 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: TWBrowse Editable
- Replies: 3
- Views: 2173
- Sun Apr 29, 2007 8:25 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: New AdoRDD (free)
- Replies: 203
- Views: 114621
Connection
... 3 ]
xValue := ""
ELSE
oADO:Fields( nField - 1 ):Value := xValue
oADO:Update()
ENDIF
RETURN SUCCESS
STATIC FUNCTION ADO_LOCATE( nWA, lContinue )
local oADO := USRRDD_AREADATA( nWA )[ 1 ]
// not implemented yet
RETURN SUCCESS
STATIC FUNCTION ADO_SETLOCATE( nWA, aDBScopeInfo ...
xValue := ""
ELSE
oADO:Fields( nField - 1 ):Value := xValue
oADO:Update()
ENDIF
RETURN SUCCESS
STATIC FUNCTION ADO_LOCATE( nWA, lContinue )
local oADO := USRRDD_AREADATA( nWA )[ 1 ]
// not implemented yet
RETURN SUCCESS
STATIC FUNCTION ADO_SETLOCATE( nWA, aDBScopeInfo ...
- Mon Nov 27, 2006 1:54 pm
- Forum: FiveWin para CA-Clipper
- Topic: Ejemplo de un Browse tipo Factura
- Replies: 27
- Views: 16416
- Wed Aug 09, 2006 3:04 pm
- Forum: Utilities / Utilidades
- Topic: Sugerencias LISTBOX
- Replies: 8
- Views: 6388
... evaluated in the Skip() method, then you should control all the skips mouvements of the browse, because all mouvements methods call ::Skip( x ) one or more times and continue without noticing a posible ::Skip's return value.
:bPreChange .and. ::lContinue would be exclusive to skipper events. I think.
:bPreChange .and. ::lContinue would be exclusive to skipper events. I think.