pro_imaj Posted March 17, 2018 Share Posted March 17, 2018 Merhaba; DBVerticalGrid bağlı olduğu Query'de sorgulamalar yapıyorum ve bu sonucu tekrar DBVerticalGrid göstermek isterken aşağıdaki gibi bir hata veriyor. (Sorgulamalardan dönen kayıt sayısı aynı değil) Teşekkürler. Could not set cell position: row: [0], column:[3] :Cannot read property 'view' of null // QPattern = AdoQuery // MemPattern = FDMemTable UniMainModule.QPattern.Close; UniMainModule.QPattern.SQL.Clear; UniMainModule.QPattern.SQL.Add('Select * From Pattern'); UniMainModule.QPattern.SQL.Add('Where CollectionNo = ''' + UniMainModule.MemCollectionNo.Text + ''' '); UniMainModule.QPattern.SQL.Add(''); UniMainModule.QPattern.Open; UniMainModule.QPattern.First; while not UniMainModule.QPattern.Eof do begin UniMainModule.MemPattern.Append; UniMainModule.MemPatternName.Text := UniMainModule.QPatternPatternName.Text; UniMainModule.MemPatternimage.Assign(UniMainModule.QPatternimage); UniMainModule.MemPattern.Post; UniMainModule.QPattern.Next; end; Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 18, 2018 Share Posted March 18, 2018 Hi, Do you always get this error or randomly ? Can you make a simple testcase for this issue ? Best regards, Quote Link to comment Share on other sites More sharing options...
pro_imaj Posted March 18, 2018 Author Share Posted March 18, 2018 It will take some time to prepare the sample in this regard; I am adding 6 Vertical Columns to UniDBVerticalGrid. UniDBVerticalGrid is bound to query den by querying this value with initial value of 6 in sequence, and execution of sql query will result in a lesser result. Again, this error occurs if it comes in less than 6 records in the first question. Best regards. Quote Link to comment Share on other sites More sharing options...
pro_imaj Posted March 18, 2018 Author Share Posted March 18, 2018 UniDBVerticalGrid Bug! Quote Link to comment Share on other sites More sharing options...
pro_imaj Posted March 18, 2018 Author Share Posted March 18, 2018 I am exporting the DataSource connection with runtime code this way seems to resolved temporarily. Quote Link to comment Share on other sites More sharing options...
pro_imaj Posted March 19, 2018 Author Share Posted March 19, 2018 Sent a sample with a private message. Best regards Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 19, 2018 Share Posted March 19, 2018 Hi, We will check Best regards, Quote Link to comment Share on other sites More sharing options...
Wicket Posted July 21, 2021 Share Posted July 21, 2021 Hi, any workaround on this? I have the same issue happening randomly. Using version 1534 Quote Link to comment Share on other sites More sharing options...
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.