Jump to content

DBVerticalGrid - Could not set cell position: row: [0], column:[3] :Cannot read property 'view' of null


pro_imaj

Recommended Posts

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.

 

dOJWJp.png

 

 

 

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;

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 3 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...