` 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  

ABC: Derive the FileManager class
2006-10-05 -- Bjarne Havnen - Aditech As
 
> The problem is that the two buttons "Data Embed" and "Code Embed" remain > disabled; > I never managed to get these two buttons enabled. I have them enabled after generation, but they are unable to locate the correct embed. Not to worry, they are available from Global Embeds and you can see them in the right pane embed tree when you have added code. > Would there be another way to achieve this with the defaut ABC FileManager Sounds like you need it for all tables, then it is better to derive the filemanager and replace the default FileManager with YourFilemanager (Classes Tab, File Management) Also remember to derive the corresponding Try methods Snippet of derived Class. Remember to make the prototypes EXCACTLY like the ABC method you are deriving, it is case sensitive. !ABCIncludeFile OMIT('_EndOfInclude_',_ADISqlFM_) !not to be compiled if that has already been done _ADISqlFM_ EQUATE(1) !Set a flag to indicate that compile has been done include('abFile.inc'),Once AdiGenSqlFm Class(FileManager), Type,Module('ADISqlFM.Clw'),LINK('ADISqlFM.Clw',_ABCLinkMode_),DLL(_ABCDllMode_) TryInsert FUNCTION ,BYTE,PROC ,VIRTUAL TryUpdate FUNCTION ,BYTE,PROC ,VIRTUAL END ! Class Definition


Today is December 3, 2024, 11:55 am
This article has been viewed 35415 times.
Google search has resulted in 6 hits on this article since January 25, 2004.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: