I'm migrating my app from your PgDAC components to UniDAC and something strange is happening.
I have two grids, one with master data and one with details. The components "chain" is qry -> dsp -> cds -> ds like when the app was built with PgDAC. For the migration, my approach is to change with a text editor the references from PgDAC to UniDAC (automatically changing only the components type from TPgQuery to TUniQuery).
But... now when I move from row to row in the master grid the detail remain empty. The same identical form with PgDAC works correctly, and I can see the details records. Obviously, no change was made to dsp, cds and ds components, so the only change is from TPgQuery to TUniQuery.
New:
Code: Select all
object qryScarichiD: TUniQuery
KeyFields = 'id_magazzino;id;segno'
Connection = dmMain.DBConnection1
SQL.Strings = (
'SELECT * FROM movimenti_d WHERE id_movimento_t = :id;')
Left = 552
Top = 472
ParamData =
end
Code: Select all
object qryScarichiD: TPgQuery
KeyFields = 'id_magazzino;id;segno'
Connection = dmMain.DBConnection1
SQL.Strings = (
'SELECT * FROM movimenti_d WHERE id_movimento_t = :id;')
Left = 552
Top = 472
ParamData =
end
Any hint?
Sergio
PS: Delphi XE and UniDAC 3.50.12