` Drop-down combo update - workaround (George Barwood ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

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.


Today is November 21, 2024, 7:44 am
This article has been viewed 35188 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: