Jump to content

Unidbgrid Columns CustomConstraint


Recommended Posts

Hi

 

In UniDbGrid ,columns don't get CustomConstraint.

I Create UniDbGrid in Runtime and set fields,But UniDbGrid columns don't have CustomConstraint that Field in dataset has.

I write below code

      For i := Columns.Count - 1 DownTo 0 do
         Columns[i].Field.CustomConstraint:=ASource.DataSet.Fields[i].CustomConstraint;

But Show below Error

 

First chance exception at $0040BF8A. Exception class $C0000005 with message 'access violation at 0x0040bf8a: write of address 0x00000094'. Process P.exe (5616)

 

Best Regards.

Link to post
Share on other sites

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...