Search found 23 matches: fname

Return to advanced search

Re: fieldWBlock

FIELDWBLOCK("FName", 1) is the same as &( "{ |setVal| IF( setVal == NIL, 1->FName, 1->FName := setVal ) }" ) If you don't eval the block you'll not retrieve the content of the field. @ nRiga, nColonna ...
by Silvio.Falconi
Wed Nov 18, 2020 6:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: fieldWBlock
Replies: 13
Views: 1208

Re: fieldWBlock

FIELDWBLOCK("FName", 1) is the same as &( "{ |setVal| IF( setVal == NIL, 1->FName, 1->FName := setVal ) }" ) If you don't eval the block you'll not retrieve the content of the field. @ nRiga, nColonna ...
by ADutheil
Wed Nov 18, 2020 4:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: fieldWBlock
Replies: 13
Views: 1208

Mis programas FW hablan

... --silence-end <integer> : silence at the end (in milliseconds) --lrc-length <integer> : set max length of text lines in LRC file --lrc-fname <file_name> : set filename for LRC file --lrc-enc <encoding> : set encoding for LRC file --lrc-offset <integer> : time offset ...
by Busmatic_wpb
Sat Oct 27, 2018 5:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mis programas FW hablan
Replies: 7
Views: 2805

Speed up wildseek in Xbrowse

Hey, I'm using wildseek in xbrowse, but when I go to 60.000 tot 200.000 records it slows down the respons Ok, maybe it is just my system, but I think the code can be better :oops: The database is 1 field, C 150 database = use fotofile NEW ALIAS foto VIA "DBFCDX" and when created : INDEX ON...
by Marc Venken
Tue Nov 22, 2016 9:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Speed up wildseek in Xbrowse
Replies: 0
Views: 453

Re: FWH: MySql/MariaDB: RowSet object

... need to go through the difficult process of concatenating the prepare the expression. Normally we need to do something like this: cFilter := "fname = '" + cVar + "'", etc. Parameterised filters save this work. Example: cDept := "123"dDate := {^ 2008/02/20 }oRs:SetFilter( ...
by nageswaragunupudi
Thu Jul 21, 2016 1:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH: MySql/MariaDB: RowSet object
Replies: 51
Views: 19532

Re: DBF to SQL converter program

... names in state.dbf are "CODE","NAME", the column names created in states table are "ID","FCODE","FNAME". Also if we use hungarian notation, we can easily identify a field variable. if nVar, cVar, lVar denote numeric, character and logical variables, ...
by nageswaragunupudi
Fri Aug 21, 2015 7:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF to SQL converter program
Replies: 59
Views: 17966

Re: An example of multithreading and Database

... ;-) La idea es la siguiente; /* Thread Main ( Count MAX by N_THREADS ) |---------> Thhread child table for test.dbf | |----> child index fname | | | |----->child index fcode | |---------> Thhread child table for test2.dbf | |-----> index fname2 | |---------> N_THREADS */ Estoy ...
by thefull
Wed Aug 27, 2014 3:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: An example of multithreading and Database
Replies: 6
Views: 1457

Re: ADO & SQL INSERT Statement

... it only to insert them. The following 4GL code fragment shows the declaration of an insert cursor: DEFINE the_company LIKE customer.company, the_fname LIKE customer.fname, the_lname LIKE customer.lname DECLARE new_custs CURSOR FOR INSERT INTO customer (company, fname, lname) VALUES (the_company, ...
by avista
Thu Jul 31, 2014 7:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO & SQL INSERT Statement
Replies: 9
Views: 2218

Re: Sorting xBrowse on an encrypted ADO table

1. Please check if the Encrypted values are also in the same sort order as the Decrypted values. If so, you can use oCol:cSortOrder := "LNAME,FNAME,MNAME" 2. (a) It is possible to assign a codeblock to oCol:cSortOrder Example: oCol:cSortOrder := { |oCol| MySortFunc( oCol ) } Inside the ...
by nageswaragunupudi
Wed Feb 27, 2013 3:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sorting xBrowse on an encrypted ADO table
Replies: 2
Views: 847

Re: How to: xBrowse Column Span

Is all the data in one field, and you want to dispayed it in 4 columns? Is this what you need? Fname is the fieldname of the DBF oCol:bStrData := { || substr(fname,1,6)}oCol:bStrData := { || substr(fname,7,10)}oCol:bStrData := { ...
by Marc Vanzegbroeck
Thu Dec 06, 2012 6:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to: xBrowse Column Span
Replies: 6
Views: 1118

Re: Xbrowse Autosort disabled when inserting a column in code

Rao

I noticed if I just selected the Sort "LNAME" ( instead of "LNAME,FNAME") everything worked as you suggested!

Thanks
Rick Lipkin
by Rick Lipkin
Fri Mar 30, 2012 3:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse Autosort disabled when inserting a column in code
Replies: 5
Views: 1638

Re: Xbrowse Autosort disabled when inserting a column in code

We have to add SORT <uOrder> clause to the ADD TO oBrw command. In your example, please try adding SORT "LNAME,FNAME"  to the ADD TO oBrw command. Because this is a browse of recordset, the expression oRs:Sort := "LNAME,FNAME" will be used by xbrowse for sorting ...
by nageswaragunupudi
Thu Mar 29, 2012 1:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse Autosort disabled when inserting a column in code
Replies: 5
Views: 1638

Concantonate two fields in xBrowse

To All Consider this code .. I want to concantonate the fname+", "+mname on one column .. here is the code : DEFINE DIALOG oDlg RESOURCE "DRVRSLCT"               ;       COLOR "W+/W"                                  ;    ...
by Rick Lipkin
Wed Jul 07, 2010 3:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Concantonate two fields in xBrowse
Replies: 2
Views: 517

Argumento de función de Harbour dentro Fast Report

... escrita en Harbour. El ejemplo que baje de internet funciono ok, * OK oFr:SetEventHandler( "Report" , "OnUserFunction" , { | FName, FParams | CallUserFunction( FName , FParams ) } ) oFr:AddFunction( "function XBaseStr( nValue: Double, nLength: Variant = EmptyVar, nDecimals: ...
by hugotheler
Tue Feb 23, 2010 9:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Argumento de función de Harbour dentro Fast Report
Replies: 0
Views: 395

Re: dbf to Xml

... include the structure you can use something like <xml> <table> <tname>Example</tname> <structure> <field> <fname>Surname</fname> <ftype>C</ftype> <flen>32</flen> <fdec>0</fdec> </field> <field> <fname>DOB</fname> ...
by xProgrammer
Thu Jan 29, 2009 11:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: dbf to Xml
Replies: 31
Views: 9134
Next

Return to advanced search