Create table in runtime

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
igorych
Posts: 1
Joined: Fri 25 Nov 2011 09:39

Create table in runtime

Post by igorych » Fri 25 Nov 2011 09:56

How can I create table in runtime by using such methods as AddFieldDefs and old CreateTable (unsupported?) instead SQL statements? SQL statements are unsuitable for me because I need to create tables in runtime as copies of other ones with different structures.
Thanks in advance

AndreyZ

Post by AndreyZ » Fri 25 Nov 2011 16:00

Hello,

The CreateTable method is not implemented because it is not always possible to choose the exact InterBase or Firebird type that user wants to have in a newly created table. For the time being you can create a table using SQL statement only.

Post Reply