Search found 397 matches: giving

Return to advanced search

Re: Multiple array is giving me problems (SOLVED)

Yes, but please try this sample. It doesn't write the value to the field.

Code: Select all  Expand view
#include "Fivewin.ch"


FUNCTION MAIN()

    USE CUSTOMER

    ? last

    last := "TEST"

    ? last

    RETURN NIL


EMG
by Enrico Maria Giordano
Mon Dec 14, 2020 3:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple array is giving me problems (SOLVED)
Replies: 11
Views: 867

Re: Multiple array is giving me problems (SOLVED)

Enrico,

? fieldname

shows the field contents if exists
by Antonio Linares
Mon Dec 14, 2020 3:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple array is giving me problems (SOLVED)
Replies: 11
Views: 867

Re: Multiple array is giving me problems

Antonio Linares wrote:Enrico,

It works because the alias is specified. Remove the alias and it will fail.


No, without the alias it won't work (= or := is the same) because it's referring to a MEMVAR variable and not to the DBF field.

EMG
by Enrico Maria Giordano
Mon Dec 14, 2020 1:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple array is giving me problems (SOLVED)
Replies: 11
Views: 867

Re: Multiple array is giving me problems

Antonio Linares wrote:Marc,

It fails because the field "hexcode" is type char and you are assigning it a nil value:

aadd( aMail ,{ cdd, If( cHex == nil, "", cHex ) } )


Indeed... This solved my problem and i think other problems I had before also. Never thinking of a NIL value..

Thank You !!
by Marc Venken
Mon Dec 14, 2020 12:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple array is giving me problems (SOLVED)
Replies: 11
Views: 867

Re: Multiple array is giving me problems

Marc,

It fails because the field "hexcode" is type char and you are assigning it a nil value:

aadd( aMail ,{ cdd, If( cHex == nil, "", cHex ) } )
by Antonio Linares
Mon Dec 14, 2020 12:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple array is giving me problems (SOLVED)
Replies: 11
Views: 867

Re: Multiple array is giving me problems

Antonio Linares wrote:Marc,

fields assignment must use ":="

shopcolor->kleuren := cKleur
shopcolor->hexcode := Chex


Same error...
by Marc Venken
Mon Dec 14, 2020 12:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple array is giving me problems (SOLVED)
Replies: 11
Views: 867

Re: Multiple array is giving me problems

Enrico Maria Giordano wrote:
Antonio Linares wrote:Marc,

fields assignment must use ":="

shopcolor->kleuren := cKleur
shopcolor->hexcode := Chex


It's not true. In that context, the two operators = and := are equivalent.

EMG


Enrico,

It works because the alias is specified. Remove the alias and it will fail.
by Antonio Linares
Mon Dec 14, 2020 12:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple array is giving me problems (SOLVED)
Replies: 11
Views: 867

Re: Multiple array is giving me problems

I'm almost positive that the array is the problem

aMail and his 2 dimensions
by Marc Venken
Mon Dec 14, 2020 11:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple array is giving me problems (SOLVED)
Replies: 11
Views: 867

Re: Multiple array is giving me problems

Antonio Linares wrote:Marc,

fields assignment must use ":="

shopcolor->kleuren := cKleur
shopcolor->hexcode := Chex


It's not true. In that context, the two operators = and := are equivalent.

EMG
by Enrico Maria Giordano
Mon Dec 14, 2020 11:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple array is giving me problems (SOLVED)
Replies: 11
Views: 867

Re: Multiple array is giving me problems

Marc,

fields assignment must use ":="

shopcolor->kleuren := cKleur
shopcolor->hexcode := Chex
by Antonio Linares
Mon Dec 14, 2020 10:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple array is giving me problems (SOLVED)
Replies: 11
Views: 867

Multiple array is giving me problems (SOLVED)

It should be easy, but ..... The code reads the XML, and is giving me a correct Xbrowse with the data Writing it to dbf is a problem. Tried also with FW_arraytodbf What do I miss here ?? Is there somewhere a post on multiply arrays explanations ? I have ...
by Marc Venken
Mon Dec 14, 2020 9:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple array is giving me problems (SOLVED)
Replies: 11
Views: 867

Re: Korean character problem...

Mr. Rao, thank you for the support you are giving me to solve this problem.
Of course I can prepare a small project with so you can see how I am working.
What email address can I send the project to?

Best regards.

Carlos Sincuir
by csincuir
Sat Nov 21, 2020 1:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Korean character problem...
Replies: 8
Views: 1087

Incremental search in filtered array

... { |x, y| if( x[1]==y[1], x[2]<y[2], x[1]<y[1] ) })   EndIFreturn .t.  Giving Set Filter filters it by State = "NY". I need to do incremental search on the filtered. Thanks for the help Regards
by acuellar
Thu Jul 23, 2020 7:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Incremental search in filtered array
Replies: 1
Views: 278

hbmk2 plugins

Using this hbmk2 plugin we get reported of the different states of the make process giving us the oportunity to modify params, etc plugin.prg function hbmk2_plugin( hbmk2 )   hb_MemoWrit( hbmk2[ "cSTATE" ] + ".txt", hb_jsonEncode( ...
by Antonio Linares
Tue May 05, 2020 9:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: hbmk2 plugins
Replies: 0
Views: 351

FW Lookup function (where to find)

... de campagne" SETUP ( oBrw:cHeaders := { "Code", "Lijst","Titel" } ) SELECT aResult := oBrw This is giving me all data, but inside is a lot of data from Xbrowse and have to figer out where the data is.
by Marc Venken
Sat May 02, 2020 2:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW Lookup function (where to find)
Replies: 5
Views: 647
PreviousNext

Return to advanced search