` Printed Icetips Article

Icetips Article



Par2: Drop-down combo update - workaround
1998-03-20 -- George Barwood
 
The way I managed to get it to work was to override the Ask procedure
in FileDropCombo. My finished code looked like this (as seen from the
embeditor):

FDCB8.Ask PROCEDURE()

ReturnValue          BYTE,AUTO
save_club like(clu:club)

  CODE


    save_club = clu:club
    SELF.PrimeRecord
    clu:club = save_club
    RETURN SELF.Primary.Me.Insert()
  ReturnValue = PARENT.Ask()

  RETURN ReturnValue

Here clu:club was my use variable from the file drop combo, you should
substitute your own use variable. In my case I didn't need an update
procedure, since the only other field in the file was an auto-inc
field.



Printed December 3, 2024, 11:50 am
This article has been viewed/printed 35197 times.