Ulugbek Posted August 11, 2013 Posted August 11, 2013 Help UniDbgrid slow and does not work when query open on treevew change when first open normally open when second or third open not work i Use Mydac and Myquery and Mydatasource How fix this problem? Quote
AlbertoVesx Posted August 12, 2013 Posted August 12, 2013 That screen is very common when you are using a name in javascript code that does not exists for a component. Verify that and capital letters. Quote
Ulugbek Posted August 16, 2013 Author Posted August 16, 2013 procedure THomeFrame.UniBitBtn3Click(Sender: TObject); begin UniMainModule.qryGoodsDT.Close; UniMainModule.qryGoodsDT.Active:=false; UniMainModule.qryGoodsDT.SQL.Clear; UniMainModule.qryGoodsDT.SQL.Add('select * from goods'); UniDBGrid1.Refresh; UniDBGrid1.DataSource:=UniMainModule.DataSource1; UniMainModule.qryGoodsDT.Active:=True; end Unidbgrid Freezes why i cannot understand.. Quote
aln02 Posted August 16, 2013 Posted August 16, 2013 Hi. Why you made UniDBGrid1.Refresh before set datsource and open dataset? Since dataset opened after it been closed, UniDBGrid1.Refresh is not necessary.Try UniDBGrid1.Refresh after open dataset or remove it; Quote
Ulugbek Posted August 16, 2013 Author Posted August 16, 2013 Problem solved Solution: Remove panel which stay UniDbgrid after then worked normal Quote
zemorango Posted January 18, 2018 Posted January 18, 2018 how did you solve this problem? I don't understand what you have done. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.