adding restrictions in runtime

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
jkuiper
Posts: 138
Joined: Fri 04 Aug 2006 14:17

adding restrictions in runtime

Post by jkuiper » Thu 16 Oct 2008 14:40

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.

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Fri 17 Oct 2008 10:46

Please try this code:

Code: Select all

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

Post Reply