Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Abstract Factory and classes.dbf
Message
From
16/01/1999 15:06:52
George Simon
GS Data Technologies, LLC
Cincinnati, Ohio, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Abstract Factory and classes.dbf
Miscellaneous
Thread ID:
00176905
Message ID:
00176905
Views:
69
Hello All,

While I started developing an application, I decided I wanted a different 'Print Reports..' form than the default form based off of 'CReportForm'. So I opened the classes.dbf, found the record for classes.cKey = 'ReportForm' and changed the value of classes.cClassName from 'CReportForm' to 'AAARptForm' (my own report form class).

Here's the problem...

I made this change while I was using an older version of the framework, v3.02. The only classes.dbf file I found was located in the ..\cdbk30\common\libs subdirectory so the file I changed is common to all of my applications. Now that I have upgraded to MM v4.1 I get a new classes.dbf and have lost my 'ReportForm' change. Furthermore, I now realize that my change forces all other applications I write to use the 'AAARptFrm' class to instantiate the 'Print Reports..' form.

How do I override the entry in the classes.dbf table for one specific project?

Regards,
George
George Simon, MCP
Next
Reply
Map
View

Click here to load this message in the networking platform