` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

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 May 6, 2024, 5:32 am
This article has been viewed 35113 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: