[futurebasic] Re: [FB] DBData ?

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2008 : Group Archive : Group : All Groups

From: Bernie <fblist.bw@...>
Date: Sat, 19 Jan 2008 20:30:21 +0000
Steve wrote:

> ok, i knew how to place the data and thought I needed to make an  
> additional call after placing data there to update it as the changes  
> were not showing in the browser.
>
> I must not be getting the browser HIViewRef correctly from an  
> existing window.

Right, I think I misunderstood your question. The procedure goes like  
this:

- Remove all current data with: fn  
DBDataRemoveAllBrowserItems( browser ).
- Initialise the new data with whatever fn DBDataSetXxxxx(...) calls  
are relevant to the browser.
- Finally, don't forget to populate the browser with: fn  
DBDataPopulateBrowser( browser ).

Bernie