Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread need a component for to extend TEDBTable with CreateTable
Tue, Sep 2 2008 6:57 AMPermanent Link

"Mauro Botta"
Hi

I'm converting DbIsam 4 application to EDB2

but i have much Isamtable.createtable in my src.

I'm using a TEDBTable sub-component ( TNX ROY LAMBERT )

how i can add createtable method ?
Tue, Sep 2 2008 7:59 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Mauro


Since the only way to create / alter tables with ElevateDB is through SQL anything you do there will have to end up using SQL.

Adding a method on to my subclassed table is easy (just remember to make it public). If you look at the posts in this ng you'll find I posted a routine to create a memory table from persistent fields you'll need to adapt this, and analyse the normal parameters to give you final SQL to execute.

If you have a problem let me know and I'll try and do something this weekend.

Roy Lambert [Team Elevate]
Image