Search found 22 matches: cfind

Return to advanced search

Re: Search in Richedit5

Dear Yuri,

METHOD Find( cFind, lDown, lCase, lWord ) CLASS TRichEdit5
by Antonio Linares
Sat Aug 05, 2023 3:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Search in Richedit5
Replies: 9
Views: 804

Re: Ayuda con SQL

... chr( 13 ) + chr( 10 ) else wrecset:AbsolutePosition = tregistro[ i ] //wrecset:find("factura"=jk ) //oRs:Find( "file_num = '"+cFIND+"'" ) if tfactura[ i, 2 ] $ "CCNC" xsaldo := wrecset:Fields( "saldo" ):value SQLMVen = SQLMVen + "UPDATE " ...
by jpcavagnaro
Wed Apr 01, 2020 1:14 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con SQL
Replies: 5
Views: 1221

Re: How to highlight a defined word in memofields ?

It is not my cup of thea, but maybe also with this function something can be done ? cFind = "Xbrowse" cText = ((XLM code color)) + "Xbrowse" + ((XLM code endcolor)) and the function below will do it ? METHOD ReplaceAll( lUndo, cFind, lDown, ...
by Marc Venken
Thu Feb 08, 2018 1:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Richedit how to highlight a defined word in memofields ?
Replies: 36
Views: 8228

Re: Find string in variable

HI Ali

use at() function.

nPos := at(alltrim(cFind),cAddSub)

Colin
by Colin Haig
Thu Feb 19, 2015 2:12 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Find string in variable
Replies: 2
Views: 490

Problem with DIRECTORY() function

... A24_0154_USW2_4CR_1231.PDF A24_0154_USW2_4CR_1231.PDF A29_0154_USW2_4CR_1231.PDF A24_0154_USW2_4CR_1231.PDF ... The folder name is for example: cFind := "c:\pdffiles\W2forms\" The client code I want to extract: cUserID := "A29" When I want to extract only the PDF files which ...
by codemaker
Fri Feb 17, 2012 1:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with DIRECTORY() function
Replies: 16
Views: 5827

Re: How to type Norway Language (Norwegian) in FWH?

... %bcdir%\bin\brc32 -r -d__FLAT__ %1 in Makefile Sample : Testget6.prg #include "FiveWin.ch" function Main() local oDlg, oFind, oBtn local cFind1 := space( 100 ), cFind2 := space( 100 ) local nDir := 1 local lCase := .t., lWord := .f. oNormal := TFont():New( "Arial", 0, 20,.F.,.F., ...
by ukoenig
Mon Sep 13, 2010 12:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to type Norway Language (Norwegian) in FWH?
Replies: 14
Views: 4902

Re: ribbon object

For me it is working.

This is my code:

@ 2,20 GET oSay VAR cFind OF oGruppe PIXEL SIZE 100,16

oGruppe is the ribbon group

Best regards,
Otto
by Otto
Tue Jan 05, 2010 7:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ribbon object
Replies: 2
Views: 457

Re: Problemas con TRichEdit

... MB_ICONQUESTION, MB_YESNOCANCEL ) ) //----------------------------------------------------------------------------// static function Find() local cFind := Space( 100 ) local nDir := 1 local lCase := .f. local lWord := .t. local oDlg, oFind DEFINE DIALOG oDlg RESOURCE "Find" REDEFINE ...
by triumvirato
Fri Dec 11, 2009 7:17 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas con TRichEdit
Replies: 13
Views: 4775

Re: oRs:Find

Lisa:

Try this way

Reg:=oRs:Find("Campo1= " + "'" + cFind + "'")

Regards
by Armando
Wed Apr 15, 2009 3:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: oRs:Find
Replies: 7
Views: 887

oRs:Find

Ciao a tutti, ho provato questo codice per una ricerca in un file MDB: cFind:="K" oRs:MoveFirst() Reg:=oRs:Find("Campo1='"+cFind+"'") msginfo(Reg) oRs:Absoluteposition:=Reg il valore restituito in Reg è uguale a nil dove sbaglio? ...
by Lisa Giordano
Wed Apr 15, 2009 2:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: oRs:Find
Replies: 7
Views: 887

Re: Generic TxBrowse()

... " cSQL += "AND ADDR.STOP_DATE IS NULL " cSQL += "AND STANDARDTASKS.GETNAME( FAC.TANK_OWNER_EID,'NO_NUM' )LIKE '"+cFIND+"%'order by owner" I get the first column as a bunch of ************************************ however, all the rest of the columns are ...
by Rick Lipkin
Tue Jan 27, 2009 2:55 pm
 
Forum: To do - WishList / Por hacer - Peticiones
Topic: Generic TxBrowse()
Replies: 5
Views: 1637

... ) SysReFresh() Return(nil) //---------------- Static Func _OpenUm(oDlg, cSQL, oWNDMDI, lFROMLINK, xPROJECTEID ) LOCAL oErr, SAYING, cSTRING, cFIND IF cSQL = " " cSQL := "SELECT * FROM PROJECT order by projname" ENDIF SysReFresh() oRsProj := TOleAuto():New( "ADODB.Recordset" ) oRsProj:CursorType ...
by Rick Lipkin
Wed Aug 06, 2008 6:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO Sql Query limitations ??
Replies: 1
Views: 740

I use the sort option when I have multiple search possibliities .. consider this code : oRs:Sort := "fname" oRs:MoveFirst() oRs:Find("fname = '"+cFIND+"'" ) oLBX:ReFresh() SysReFresh() .. or oRs:Sort := "lname" oRs:MoveFirst() oRs:Find("lname = '"+cFIND+"'" ) oLBX:ReFresh() SysReFresh() .. Rick ...
by Rick Lipkin
Sat Mar 01, 2008 4:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO Sql and Requery
Replies: 2
Views: 837

... ad 4) to get this functionality I use the following code. Regards, Otto @ 3, 1 LISTBOX oLbx FIELDs STR(umsatz->renr) ... @ 0.3,38 GET oSay VAR cFind OF oBar SIZE 160,26 UPDATE READONLY oLbx:bkeyChar :={|nKey|iif(nKey == K_ENTER, ; prn_RgKOPIE(nhorzM,nVertM), ; cFind := KeySeek(nKey,oLbx_PR,oSay,@cFind) ...
by Otto
Wed Oct 10, 2007 10:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Suggested enhancement
Replies: 4
Views: 1562

Rick Lipkin wrote:oRs:MoveFirst()
oRs:Find("reg_no = '"+cFIND+"'" )


Great! Then it seems that SEEK can be implemented via Find() method without the need of SET INDEX. One could eventually add indexes to database to speed up the search.

Antonio?

EMG
by Enrico Maria Giordano
Fri Jun 01, 2007 10:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New AdoRDD (free)
Replies: 203
Views: 103120
Next

Return to advanced search