` 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 April 23, 2024, 10:17 pm
This article has been viewed 35108 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: