Page 1 of 1

adding restrictions in runtime

Posted: Thu 16 Oct 2008 14:40
by jkuiper
Simple question (not for me ) :oops:

How do I fill the restrictions area of TMyMetaData? I know it's a TStrings, but I think devart uses objects, but i.m not sure.

Posted: Fri 17 Oct 2008 10:46
by Challenger
Please try this code:

Code: Select all

  MyMetaData.Restrictions.Add('TABLE_NAME=mytable')