Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 30 total
Thread Adding tables to existing Catalog
Wed, Feb 14 2007 7:51 AMPermanent Link

Chris Holland

SEC Solutions Ltd.

Avatar

Team Elevate Team Elevate

If I was to create my Catalog with the databases and tables for my application says for example:

Database = TestApp
Tables = Customer
   and CustomerDiscounts

I then install the application at my clients site and he creates more tables
within that catalog so he now has:

Database = TestApp
Tables = Customer
   and CustomerDiscounts
   and CustomerQuotes

What happens if I then decide that I need a new table for my application e.g. sites
So my catalog now has

Database = TestApp
Tables = Customer
   and CustomerDiscounts
   and Sites

How can I send this site table to my client so that it gets included in
his catalog without overwriting his "CustomerQuotes" table?

Chris Holland
Wed, Feb 14 2007 8:29 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Chris,

<< How can I send this site table to my client so that it gets included
inhis catalog without overwriting his "CustomerQuotes" table? >>

It will have to be created using a CREATE TABLE statement, and then the
actual table data be added via an import file or some other external method.
The table files keep the table structure version number in them, so it must
match the table structure version number in the catalog or else you'll get
an error.

--
Tim Young
Elevate Software
www.elevatesoft.com

Wed, Feb 14 2007 9:37 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim


I'm glad Chris made his post cos I had that and another one.

Unless I'm misinterpreting this it means that unless the table you want to import is structure version number 1 you can't simply copy the necessary files in which basically means if you want to add a table with data to an already existing app (unless its structure version number is 1) you have to write the file out to a csv (for example) file, distribute that and then import it at the other end.

Is that what you're saying or am I putting words in your mouth?

Roy Lambert
Wed, Feb 14 2007 9:51 AMPermanent Link

Chris Holland

SEC Solutions Ltd.

Avatar

Team Elevate Team Elevate


Or you could Alter the table structure changing the version number
to 1.01 and then copy the new table into the directory?

Chris Holland

Roy Lambert wrote:
> Tim
>
>
> I'm glad Chris made his post cos I had that and another one.
>
> Unless I'm misinterpreting this it means that unless the table you want to import is structure version number 1 you can't simply copy the necessary files in which basically means if you want to add a table with data to an already existing app (unless its structure version number is 1) you have to write the file out to a csv (for example) file, distribute that and then import it at the other end.
>
> Is that what you're saying or am I putting words in your mouth?
>
> Roy Lambert
>
Wed, Feb 14 2007 10:02 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Chris


Just looked and reverse engineering does give you the version number. Well thought of. I should have checked but for some reason I thought it was a bit you couldn't alter.

Roy Lambert
Wed, Feb 14 2007 10:07 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Chris


One thing I just thought of, no matter how much I complain at least I know we'll get decent manuals unlike another component set I just bought where its trial, error and squint at the provided examples Smiley

Roy Lambert
Wed, Feb 14 2007 10:12 AMPermanent Link

Chris Holland

SEC Solutions Ltd.

Avatar

Team Elevate Team Elevate

Thats true, although there are a few blank spaces at the moment.

I was just having a browse trying to find out what
"Request Sensitive Result Set" meant in the SQL tab but had no joy.



Chris Holland



Roy Lambert wrote:
> Chris
>
>
> One thing I just thought of, no matter how much I complain at least I know we'll get decent manuals unlike another component set I just bought where its trial, error and squint at the provided examples Smiley
>
> Roy Lambert
>
Wed, Feb 14 2007 10:52 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Chris


Its the same as the DBISAM "Live Result Set" but in SQL standard speak. I knew I'd need to learn a new language for ElevateDB but expected it to be just for programming Smiley

Roy Lambert
Wed, Feb 14 2007 10:56 AMPermanent Link

Chris Holland

SEC Solutions Ltd.

Avatar

Team Elevate Team Elevate

Okay,

Thanks Roy

Chris Holland


Roy Lambert wrote:
> Chris
>
>
> Its the same as the DBISAM "Live Result Set" but in SQL standard speak. I knew I'd need to learn a new language for ElevateDB but expected it to be just for programming Smiley
>
> Roy Lambert
>
Wed, Feb 14 2007 3:06 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< Unless I'm misinterpreting this it means that unless the table you want
to import is structure version number 1 you can't simply copy the necessary
files in which basically means if you want to add a table with data to an
already existing app (unless its structure version number is 1) you have to
write the file out to a csv (for example) file, distribute that and then
import it at the other end.

Is that what you're saying or am I putting words in your mouth? >>

That's exactly what I'm saying.  If EDB has incremented the internal version
number used to track structure changes, then that means that the table
structure is no longer compatible with the new table that you're trying to
overwrite it with.  Therefore, if you *do* overwrite the existing table,
you'll totally screw up the table because the table contents won't match the
catalog anymore.  Of course, EDB prevents this by issuing an error when you
try to open it.

--
Tim Young
Elevate Software
www.elevatesoft.com

Page 1 of 3Next Page »
Jump to Page:  1 2 3
Image