FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour oFld:Update doesn't refresh the xbrowse
Posts: 858
Joined: Fri Oct 07, 2005 12:00 PM
oFld:Update doesn't refresh the xbrowse
Posted: Tue Jan 04, 2011 04:07 PM

Hi all,
it seems that having a folder with an xbrowse inside and changing a value into the xbrowse
then the xbrowse is not refreshed using the oFld:Update method()

Best Regards,



Marco Turco

SOFTWARE XP LLP
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: oFld:Update doesn't refresh the xbrowse
Posted: Tue Jan 04, 2011 05:00 PM

Marco,

Did you specify the OF clause of the browse?

Regards,
James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 858
Joined: Fri Oct 07, 2005 12:00 PM
Re: oFld:Update doesn't refresh the xbrowse
Posted: Tue Jan 04, 2011 05:30 PM

Yes, the problem appears on xbrowse over a folder,
anyway I will try to make a self-contained.....

Best Regards,



Marco Turco

SOFTWARE XP LLP
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: oFld:Update doesn't refresh the xbrowse
Posted: Tue Jan 04, 2011 05:33 PM

Mr. Marco

Please assign oBrw:lUpdate := .t. Also as Mr. James suggested, make sure you have defined xbrowse as "of oFld".

If you have used the clause "UPDATE" while defining XBrowse, at present, this clause is only dummy and is not really setting oBrw:lUpdate := .t.. Let us expect this clause will work correctly from the next release of FWH onwards.

Regards



G. N. Rao.

Hyderabad, India
Posts: 858
Joined: Fri Oct 07, 2005 12:00 PM
Re: oFld:Update doesn't refresh the xbrowse
Posted: Tue Jan 04, 2011 06:07 PM

Ok, solved. I didn't know that the "UPDATE" clause was a dummy, now with oFld:lUpdate=.t. all runs fine. Thanks for your quick support, very appreciated.

Best Regards,



Marco Turco

SOFTWARE XP LLP

Continue the discussion