Search found 15 matches: cfld

Return to advanced search

Re: Sintax error

In your original code is missing the second part of last iif, oFrPrn:SetUserDataSet( "aClientes", cFld,; { || nAt := 1, EVAL( bResync, nAt ) },; { || nAt++, EVAL( bResync, nAt ) },; { || nAt--, EVAL( bResync, nAt ) },; { || nAt > LEN( aClientes ) },; { |cFld| iif( ...
by wartiaga
Wed Mar 13, 2019 2:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sintax error
Replies: 4
Views: 730

Re: Sintax error

In your original code is missing the second part of last iif, oFrPrn:SetUserDataSet( "aClientes", cFld,; { || nAt := 1, EVAL( bResync, nAt ) },; { || nAt++, EVAL( bResync, nAt ) },; { || nAt--, EVAL( bResync, nAt ) },; { || nAt > LEN( aClientes ) },; { |cFld| iif( ...
by AntoninoP
Wed Mar 13, 2019 11:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sintax error
Replies: 4
Views: 730

Sintax error

... Can you help me about this code sintax? The compiler results ")" error. Thanks in advance. oFrPrn:SetUserDataSet( "aClientes", cFld,; { || nAt := 1, EVAL( bResync, nAt ) },; { || nAt++, EVAL( bResync, nAt ) },; { || nAt--, EVAL( bResync, nAt ) },; { || nAt > LEN( aClientes ...
by wartiaga
Tue Mar 12, 2019 4:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sintax error
Replies: 4
Views: 730

TDatabase FWH 17.08 : Datas and Methods

... virtual fields created by programmer using ::AddCol() method 32. FieldBlock( nCol ) returns FIELDWBLOCK() for this column 33. FieldDefault( nFld/cFldName, [uDefault], [lRO] ) --> uDefault Sets/Queries default value to be used for the field while appending new data. Default values are first ...
by nageswaragunupudi
Fri Sep 15, 2017 12:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDatabase FWH 17.08 : Datas and Methods
Replies: 1
Views: 1782

xBrowse + MySql and column sequence ...

... . From MySql server query I can to do : aDgr := grd_set( cTbl, aGrd, cLg ) // restore settings of columns - sequence , width , visible ... etc. cFld := aDgr[ 1, 1 ]; cSql := "select " + cFld + " from " + cTbl + " where " + cTbl + ".db = '" + cDb_id + "'" ...
by Rimantas
Thu Feb 28, 2013 6:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse + MySql and column sequence ...
Replies: 7
Views: 2001

Re: Macro operator

Raymond,

To retrieve a data value don't use the "_":

MsgInfo( __ObjSendMsg( oTable, cFld ) )
by Antonio Linares
Wed Sep 22, 2010 1:09 pm
 
Forum: FiveWin for Pocket PC
Topic: Macro operator
Replies: 5
Views: 1003

Re: Macro operator

Raymond,

__ObjSendMsg( oTable, "_" + cFld, nInd )
by Antonio Linares
Wed Sep 22, 2010 6:10 am
 
Forum: FiveWin for Pocket PC
Topic: Macro operator
Replies: 5
Views: 1003

Re: FOR ... GET ...NEXT

I had a same problem in FW1.9.2 and I solved it by replacing aGets array with vars: for nGt := 1 to len( aFlds ) cFld := aFlds[ nGt ] xVar="x"+strzero(nGt,3) @ nRw, nCol GET oGets[ nGt ] VAR &xVar ..... next I hope that it works in FW for Harbour too Yes Goran , your sample ...
by Rimantas
Fri Oct 28, 2005 12:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Array of gets
Replies: 11
Views: 4734

FOR ... GET ...NEXT

I had a same problem in FW1.9.2 and I solved it by replacing aGets array with vars:

for nGt := 1 to len( aFlds )
cFld := aFlds[ nGt ]
xVar="x"+strzero(nGt,3)
@ nRw, nCol GET oGets[ nGt ] VAR &xVar .....
next

I hope that it works in FW for Harbour too.

Regards

Goran
by Goran Papic
Fri Oct 28, 2005 9:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Array of gets
Replies: 11
Views: 4734

... :-) . Many thanks to you ! This isn't working Frank ... :-( . I tried that . Simply add MsgInfo() to valid clause @ CRow( 0 ), nCl GET oGets[ cFld ] VAR aGets[ cFld ] PICTURE aPct[ cFld ] PIXEL VALID ( MsgInfo( aGets[ cFld ] + " ; " + cFld ), ; n_pas( ::aAlias[ ::nFld ], cFld,, aGets[ cFld ...
by Rimantas
Thu Oct 27, 2005 7:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Array of gets
Replies: 11
Views: 4734

... dialog's , also afterwards when they must be referenced in another get LOCAL oGets := Hash() LOCAL aPct := Hash() for nGt := 1 to len( aFlds ) cFld := aFlds[ nGt ] @ nRw, nCol GET oGets[ cFld ] VAR aGets[ nGt ] PICTURE aPct[ cFld ] PIXEL SIZE nSz, nFh VALID n_pas( cAlias, cFld ) next Frank ...
by Rimantas
Thu Oct 27, 2005 5:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Array of gets
Replies: 11
Views: 4734

... dialog's , also afterwards when they must be referenced in another get LOCAL oGets := Hash() LOCAL aPct := Hash() for nGt := 1 to len( aFlds ) cFld := aFlds[ nGt ] @ nRw, nCol GET oGets[ cFld ] VAR aGets[ nGt ] PICTURE aPct[ cFld ] PIXEL SIZE nSz, nFh VALID n_pas( cAlias, cFld ) next Frank
by Frank Demont
Wed Oct 26, 2005 2:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Array of gets
Replies: 11
Views: 4734

Re: Array of gets

Alreday found samples for that - testarr4.prg and tesloop.prg . But I have an problem with bValid for oGets arrays . My function n_pas( cAlias, cFld ) get an lats cFld value . How it make true ? One solution it can be at oDlg close moment , but I want to do that in oGet stage All is workig OK ...
by Rimantas
Wed Oct 26, 2005 11:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Array of gets
Replies: 11
Views: 4734

Re: Array of gets

local oGets[ len( aFlds ) ] ... for nGt := 1 to len( aFlds ) cFld := aFlds[ nGt ] @ nRw, nCol GET oGets[ nGt ] VAR aGets[ nGt ] PICTURE aPct[ nGt ] PIXEL SIZE nSz, nFh VALID n_pas( cAlias, cFld ) next It seems that this isn't working .. :-(( I remmember ...
by Rimantas
Wed Oct 26, 2005 10:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Array of gets
Replies: 11
Views: 4734

Array of gets

Hi ! I want to assign gets in for .. next . Here is a small sample : local oGets[ len( aFlds ) ] ... for nGt := 1 to len( aFlds ) cFld := aFlds[ nGt ] @ nRw, nCol GET oGets[ nGt ] VAR aGets[ nGt ] PICTURE aPct[ nGt ] PIXEL SIZE nSz, nFh VALID n_pas( cAlias, cFld ) next It seems that this ...
by Rimantas
Wed Oct 26, 2005 7:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Array of gets
Replies: 11
Views: 4734

Return to advanced search