Copy a Table in DataModule does not work

The forum for ZeosLib 7.2 Report problems. Ask for help, post proposals for the new version and Zeoslib 7.2 features here. This is a forum that will be edited once the 7.2.x version goes into RC/stable!!

My personal intention for 7.2 is to speed up the internals as optimal a possible for all IDE's. Hope you can help?! Have fun with testing 7.2
Post Reply
ToodleDoo
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: 07.02.2017, 23:40

Copy a Table in DataModule does not work

Post by ToodleDoo »

Hi, I have a DataModule with a Connection, Source (srcOne) and Table (tblOne).

I wanted a duplicate set of Source and Table with slightly different names so I used an SQLite Manager to make a copy of tblOne for the new Table (tblOneB) in the database.

I then went back to the DataModule copied the srcOne and tblOne and pasted them to the DataModule.

I selected the new Table, tblOneB an changed the TableName from tblOne to tblOneB and all looked good.

Ran the program and tblOneB is still using tblOne as the TableName even though it clearly shows it as tblOneB in the Object Inspector.

I had to delete the tblOneB, restart Lazarus and then create a new Table for tblOneB and it all worked as expected.

A bug methinks.
Ubuntu 14.04-LTS, Acer i5, 6GB, 256GB-SSD, Lazarus 1.6.2, Zeos 7.1
Post Reply