Hi,
I having a very strange problem.
Why the design time TZQuery's RequestLive was working,
but not with the run-time created component always false?
Example,
Design Time ---> Working if RequestLive set to "TRUE"
ZQuery1->Connection = g_DbConn[g_DbsCap].pConn;
ZQuery1->SQL->Text = "SELECT * FROM cnpProduct";
ZQuery1->Active = true;
Design Time ---> Not working if RequestLive set to "FALSE"
ZQuery1->Connection = g_DbConn[g_DbsCap].pConn;
ZQuery1->SQL->Text = "SELECT * FROM cnpProduct";
ZQuery2->RequestLive = true;
ZQuery1->Active = true;
Run time create - Not working
ZQuery2 = new TZQuery( this );
ZQuery2->Connection = g_DbConn[g_DbsCap].pConn;
ZQuery2->SQL->Text = "SELECT * FROM cnpProduct";
ZQuery2->RequestLive = true;
ZQuery2->Active = true;
The main issue was the dataset in "READ-ONLY" mode,
I cannot do any thing with the DB grid and navigator.
What is my problem?
Regards,
KL Chin
DesignTime and Runtime creata component bugs?
Moderators: gto, cipto_kh, EgonHugeist