I have migrated my project from IBX to Ibdac in Delphi 2010 but I have had some strange problem with some .DFM.
Migration wizard seems to had a lot of space in some cases.
If .dfm contain :
Code: Select all
object DS_Liste: TDataSource
DataSet = Q_Liste
Left = 112
Top = 281
end
object Q_Liste: TIBQuery
Database = bddata.DatabaseLocalDatabase
Transaction = bddata.IBTransaction
AfterClose = Q_ListeAfterClose
AfterOpen = Q_ListeAfterOpen
BeforeOpen = Q_ListeBeforeOpen
DataSource = bddata.Ds_User
SQL.Strings = (
'select q1.*'
'from customer q2'
'where c_code is null'
'order by c_name')
Left = 64
Top = 282
end
Code: Select all
object DS_Liste: TDataSource
DataSet = Q_Liste
Left = 112
Top = 281
end
object Q_Liste: TIBCQuery
Connection = bddata.DatabaseLocalDatabase
Code: Select all
object DS_Liste: TDataSource
DataSet = Q_Liste
Left = 112
Top = 281
end
[followed by 4218 spaces]
object Q_Liste: TIBCQuery
[followed by 4218 spaces]
Connection = bddata.DatabaseLocalDatabase
[followed by 4218 spaces]
Transaction = bddata.IBTransaction
[followed by 4218 spaces]
AfterClose = Q_ListeAfterClose
[followed by 4218 spaces]
...
And after Delphi say "line too long" when I try to open .dfm.
It's seems to occurs in big .dfm more than 700 ko.