Search found 21 matches: newvalue

Return to advanced search

Re: New FTDN July/Julio (FWH 23.07)

... y n está dentro del tamaño y si n es '0' devuelve oItem:cPromt y en caso contrario devuelve 'nil'. Si n está dentro del rango, oItem[ n ] := newValue también funciona. * Función XEval( uVar, p1, p2, ... ) mejorada. Ahora uVar también puede ser un nombre de función que termine con "()". ...
by Antonio Linares
Sat Jul 29, 2023 9:16 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN July/Julio (FWH 23.07)
Replies: 7
Views: 2675

New FTDN July/Julio (FWH 23.07)

... is an array and n is withing the size and if n is '0' returns oItem:cPromt and else returns 'nil' If n is within the range, oItem[ n ] := newValue works too. * Enhanced XEval( uVar, p1, p2, ... ) Now uVar can also be function name ending with "()". If the named function is linked, ...
by Antonio Linares
Thu Jul 27, 2023 6:13 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN July/Julio (FWH 23.07)
Replies: 7
Views: 2675

Re: How write a right name of a field

... write a right name of a field Since you are already using a database object, instead of this: oDbf:FieldGet( cField ) oDbf:FieldPut( cField, <newvalue> ) You can just do: oDBF:ID oDBF:Name Where ID and NAME are fieldnames. Then you can do: msgInfo( oDBF:ID ) To put data into a field of ...
by Silvio.Falconi
Fri Apr 29, 2022 8:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How write a right name of a field
Replies: 6
Views: 645

Re: How write a right name of a field

... write a right name of a field Since you are already using a database object, instead of this: oDbf:FieldGet( cField ) oDbf:FieldPut( cField, <newvalue> ) You can just do: oDBF:ID oDBF:Name Where ID and NAME are fieldnames. Then you can do: msgInfo( oDBF:ID ) To put data into a field of ...
by James Bott
Thu Apr 28, 2022 6:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How write a right name of a field
Replies: 6
Views: 645

XBrowse: Merge Cells Horizontally & in-cell formulas

... > 0, this cell width extends to that many cells on the right side. Also if some cells in an array contain codeblocks, these are evaluated with newvalue, array, row, col as parameters and result is displayed in this cell. https://imagizer.imageshack.com/img924/6257/GbKrGh.gif ...
by nageswaragunupudi
Sun Jul 12, 2020 3:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse: Merge Cells Horizontally & in-cell formulas
Replies: 0
Views: 362

Re: MariaDB Recordset - amended

aModifed := oRs:ModiCols()xbrowser aModified  If you want to modify values of some fields and then save, oRs:<fieldname> := <newvalue> and then oRs:Save() is okay. Even you can offer edit of records this way, but we recommend using Datarow, which is a lot safer and feature ...
by nageswaragunupudi
Wed Jun 27, 2018 2:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: MariaDB Recordset - amended
Replies: 5
Views: 957

Re: xBrowse footer counting on cell / field-condition ?

... are using xbrowse, you need not write reclocks, recunlocks, etc. XBrowse takes care of everything automatically. Just use oBrw:oCol:VarPut( <newvalue> ) If the <newvalue> is different from the existing value, xbrowse writes the value to the dbf, takes care of all locking issues and ...
by nageswaragunupudi
Wed Mar 07, 2018 10:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse footer counting on cell / field-condition ?
Replies: 12
Views: 2733

Re: funciones de FWH y Harbour en un archivo .txt

... CheckSum(<cString>)->nCheckSum Chr(<nCode>)->cChar ClearBit(<nInteger>|<cHex>,[<nBitPos,...>])->nNewValue ClearEol([<nRow>],[<nCol>],[<xColor>],[<xChar>])->cNull ClearSlow(<nDelay>,[<nTop>],[<nLeft>],[<nBottom>],[<nRight>],[<xChar>])->cNull ...
by carlos vargas
Sat Oct 21, 2017 8:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 6389

save changes made in Xbrowse

... maybe there is also a new method in Xbrowse that handle this better ? If any change in a cell are done, then I want to save (Fieldname, oldvalue, newvalue) So I also need the Older data of the cell, and the new data. Any samples that uses this technique ?
by Marc Venken
Wed Jun 14, 2017 10:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: save changes made in Xbrowse
Replies: 1
Views: 456

Re: FWHMARIADB Samples

... problem is with creating TDataRow once and using it always. TDataRow works only for one record. Actually you can directly use oRs:FieldName := <newvalue>, oRs:Save() Modify the code like this @ nTop,nLeft+nMove BTNBMP aBtn2[i] OF oFld:aDialogs[ 2 ] SIZE 28, 15 NOBORDER PROMPT ...
by nageswaragunupudi
Sun May 07, 2017 12:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWHMARIADB Samples
Replies: 48
Views: 23115

Re: MakeTotals en Columna editable

...  dbSelectArea(cOldSele)return nil  When PVENAUS is edited, this column is automatically re-totaled. oBrw:PVenta:VarPut( <newvalue> ) changes the value of PVENTA and also automatically re-totals PVENTA column. Need not call MakeTotals() again at runtime.
by nageswaragunupudi
Thu Jan 05, 2017 11:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: MakeTotals en Columna editable
Replies: 3
Views: 1271

ADO: Update(), AddNew(), GetRows() - Simplified Usage

... this code may run into several lines and again in each line the laborious coding of "oRs:Fields( "<name>" ):Value := <newvalue>" Instead, I suggest considering the following single line approach: oRs:Update( { "FIRST", "LAST", "AGE", ...
by nageswaragunupudi
Wed Jul 31, 2013 12:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO: Update(), AddNew(), GetRows() - Simplified Usage
Replies: 0
Views: 635

Re: Changing content in xBrowse/Tree

oBrw:oTreeItem:Cargo[ 1 ] := <newvalue>
oBrw:RefreshCurrent()
by nageswaragunupudi
Wed Jun 13, 2012 4:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Changing content in xBrowse/Tree
Replies: 1
Views: 441

How to create Auto-filenames ( Counter ) ?

... scanning the Directory with Wildcard to detect the last used Numer ? scanning for : _Image1_*.jpg aDir := directory('.\Images\_Image1_*.jpg') NewValue := Len( aDir ) + 1 Existing Files : _Image1_1.jpg _Image1_2.jpg _Image1_3.jpg _Image1_4.jpg the next new Filname must be => _Image1_5.jpg ...
by ukoenig
Fri Aug 05, 2011 5:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to create Auto-filenames ( Counter ) ?
Replies: 12
Views: 3908

Re: xHarbour -> Harbour compatibility

... __XHARBOUR GLOBAL Var1 # else STATIC Var1 # endif In prg1 we provide a function # ifndef __XHARBOUR FUNCTION Var1() RETURN var1 Or FUNCTION Var1(NewValue) IF PCOUNT()>0 Var1 := NewValue END RETURN var1 # endif In other modules # ifdef __XHARBOUR GLOBAL EXTERNAL Var1 # else # xtranslate var1=>var1() ...
by demont frank
Fri Jan 16, 2009 11:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xHarbour -> Harbour compatibility
Replies: 18
Views: 2818
Next

Return to advanced search