` Printed Icetips Article

Icetips Article



ABC: Updating file and browse in ABC versus Legacy
2000-01-19 -- Ole-Morten Heien
 
Newsgroups: topspeed.products.c5ee

> Slowly but surely getting all the kinks out of the legacy to abc conversion.
> I have a button on a browse to change byte field which determines which
> records are used when writing a html page.  On selected I have the
> following...

You may try this one:

BRW1.UpdateViewRecord
SHI:Publish = choose(SHI:Publish,False,True)    ! Switch the flag
access:Shipper.update()
BRW1.ResetQueue(True)    ! Or ThisWindow.Reset(True)

--
Ole-Morten Heien

> Slowly but surely getting all the kinks out of the legacy to abc conversion.
> I have a button on a browse to change byte field which determines which
> records are used when writing a html page.  On selected I have the
> following.
>
> Do Brw1::GetRecord
> If Shi:publish
>   Shi:publish = False
> Else
>   Shi:publish = true
> End
> Put(Shipper)
> Do Brw1::RefreshPage
>
> No longer works.  I changed the first line to BRW1.UpdateBuffer and the last
> line to Self.Reset(TRUE) - no luck, nada.



Printed December 4, 2024, 2:51 am
This article has been viewed/printed 35385 times.
Google search has resulted in 16 hits on this article since January 25, 2004.