Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CaBuilder9 question regarding moving classes.
Message
From
28/05/2008 13:57:14
Scott Malinowski
Arizona Fox Software LLC
Arizona, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
CaBuilder9 question regarding moving classes.
Miscellaneous
Thread ID:
01320025
Message ID:
01320025
Views:
76
Greetings!

I am using CaBuilder9 to build cursor adapters for our application. One of the issues we have is that our application has two separate database containers (DBCs). CaBuilder9 does a great job of creating base cursor adapter classes based on the tables defined in the DBC.

Unfortunately, when you run the program, it does not give you an option to add to an existing class library. We want to avoid having two class libraries for cursor adapters if we can.

So, anyway, if you open the two class browsers, each with the class library open for each of the DBCs, you should be able to move classes from one to other. At least, I have done that before using CTRL and clicking on the upper left icon and dragging it to other class browser form.

However, because of the structure of the library created by CaBuilder9, it does not move the class as I expected.

Here's the hierarchy of the FROM class library:

_cabase
pes_alerts
pes_errorlog

Here's the hierarchy of the TO class library:

_cabase
pes_addresses
pes_agencies

If you select the pes_alerts class and copy it to the TO class library window, the hierarchy of the TO class library now looks like this:

_cabase
pes_addresses
pes_agencies
pes_alerts

I was trying to get it to look like this:

_cabase
pes_addresses
pes_agencies
pes_alerts

Since the _cabase classes are identical in both class libraries, I just want to move the inherited classes only but they must go into the hierarchy correctly or they probably won't function properly.

Is this possible? If not, any ideas on how to accomplish this?


Thanks in advance!

Scott Malinowski

Product Development Manager
Premiere Educational Systems, Inc.
Next
Reply
Map
View

Click here to load this message in the networking platform